Focal Point
[SOLVED] Flex enable error

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5127079306

May 17, 2011, 01:56 PM
Joy_Jacques
[SOLVED] Flex enable error
Hi all,

I have an flex enabled dashboard app that was working correctly, but now I'm getting this error when I run it:

TypeError: Error #1010: A term is undefined and has no properties.
at ibiDataSource/loadPRGrid_later()[/home/java/source/branch7703/flex_components/FlexEnable/ibiDataSource.as:913]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

If I click Continue the app runs correctly. I tried reinstalling the latest hotfix and rebuilding the project. The error message shortened and changed in some way, but I hadn't captured the text so I can't say how it's changed. I can post my code, but thought I'd see if anyone recognized this error and might be able to help.

One thing I'm wondering...I don't have a preloader and the data does lag for a moment before it loads into my components, could the error be because of that?

Thanks for any help.
Joy

This message has been edited. Last edited by: Kerry,


7.7.2, Windows, html
May 17, 2011, 05:33 PM
Waz
quote:
TypeError: Error #1010: A term is undefined and has no properties


Have you tried Googling the error, there are many items returned.

If this is related to the IBI component, then you will probably have to put a case with TechSupport.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

May 18, 2011, 04:21 PM
Joy_Jacques
Yes, I googled it. I think it's related to ibi and so not many of the google results were pertinent.

You are probably right that I need to submit a ticket. I just hoped maybe someone had encountered this and might have a quick fix.

Joy


7.7.2, Windows, html
May 18, 2011, 04:32 PM
Saravanan J
Joy,

Can you please paste the code on the line 913 from your mxml file? It looks like one of the variable used in action script is not declared using the "var" command.


Release : 7.7.02
OS : Linux
App Server : Tomcat
all output
May 20, 2011, 11:17 AM
Joy_Jacques
I opened the Referenced libraries/default package and there is a small red bar on the logo for the ibiDataSource.abc file. I'm not sure what that means, other than it must indicate an error of some sort as none of the other files show this red icon and when I try to open it I get: Source could not be found for ibiDataSource.

I don't think I'm using that class. I'm using an ibiDataGrid to load my data, but maybe it references the ibiDatasource??? I may also have added an ibiDatasource at some point, but then removed it.

I removed the WebFocus3Enabled200HF7, then re-added it, but still didn't fix the problem.

Thanks for the pointer. Any ideas on why this isn't loading?


7.7.2, Windows, html
May 25, 2011, 05:38 PM
Joy_Jacques
I created a new project and put my code in and the error went away. I'm still not exactly sure where it came from or why, but it's resolved.


7.7.2, Windows, html