Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 26
Registered: ‎07-26-2010
My Device: Not Specified

No thread is associated with this global object !!!!

[ Edited ]

PFA

 

Download Link

 

http://www.4shared.com/photo/uj_JFfTH/nontouchexception.html

 

Direct Link

http://www.4shared.com/download/uj_JFfTH/nontouchexception.PNG?tsid=20130605-054546-6fc80141

 

Hi i am facing this issue only on non touch 5.0  simulator/device.

 

Here is the debug information

 

[          ] Process=konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch(236) already in table
[          ] Tunnel id=2mode=FG already referenced by process=konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch(236)
[          ] Process=konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch(236) already in table
[          ] Tunnel id=2mode=FG already referenced by process=konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch(236)
[          ] JVM: bklt @487273: timer
[          ] JVM: bklt[1] @487273: idle 15
[          ] JVM: bklt[1] @487273: enableBacklight 0
[          ] JVM: bklt[1]: setTimeout 30
[          ] JVM: bklt[1] @491351: JBSC on=1
[          ] JVM: bklt[1] @491351: SC 1
[          ] JVM: bklt @491351: setTimer 15
[          ] RuntimeException
[          ] No thread is associated with this global object.
[          ] net_rim_ecmascript-2(4AE23737)
[          ]  GlobalObject
[          ]  getInstance
[          ]  0x75D4
[          ] net_rim_ecmascript-2(4AE23737)
[          ]  GlobalObject
[          ]  getInstance
[          ]  0x75B0
[          ] net_rim_ecmascript-2(4AE23737)
[          ]  HostFunction
[          ]  <init>
[          ]  0x89D3
[          ] net_rim_ecmascript-2(4AE23737)
[          ]  HostFunction
[          ]  <init>
[          ]  0x89B7
[          ] net_rim_ecmascript-1(4AE23737)
[          ]  HostFunctionBinding
[          ]  <init>
[          ]  0xA613
[          ] net_rim_ecmascript-1(4AE23737)
[          ]  ECMAScriptEngine
[          ]  javaToESObject
[          ]  0x5294
[          ] net_rim_ecmascript-1(4AE23737)
[          ]  ECMAScriptEngine
[          ]  javaToEcma
[          ]  0x5238
[          ] net_rim_ecmascript-1(4AE23737)
[          ]  HostFunctionWrapper
[          ]  javaToEcma
[          ]  0xA694
[          ] net_rim_ecmascript-1(4AE23737)
[          ]  HostFunctionWrapper
[          ]  invoke
[          ]  0xA6BF
[          ] konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch-7(5190D0F7)
[          ]  Function
[          ]  execute
[          ]  0x20E4
[          ] konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch-7(5190D0F7)
[          ]  ApplicationInitializationEventManager
[          ]  launchApp
[          ]  0x218
[          ] konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch-7(5190D0F7)
[          ]  KMIDlet
[          ]  loadByteCode
[          ]  0x2D1E
[          ] konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch(5190D0F7)
[          ]  StandardLib
[          ]  loadByteCode
[          ]  0x8491
[          ] konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch(5190D0F7)
[          ]  PreviewStream
[          ]  run
[          ]  0x809B
[          ] JVM: bklt @506539: timer
[          ] JVM: bklt[1] @506539: idle 15
[          ] JVM: bklt @506539: setTimer 15
[          ] VM:+RP!w=10,a=3.3M,s=0
[          ] VM:RPHLp=konyapi$2dbb$2djs$2dpreview$2drel$2d50$2dnontouch

 

 

 

 

 

 

 

Thanks,

kusuma

 

 

Developer
Posts: 72
Registered: ‎12-31-2010
My Device: 9800
My Carrier: Airtel

Re: No thread is associated with this global object !!!!

what code you run ?
R33
Contributor
Posts: 26
Registered: ‎07-26-2010
My Device: Not Specified

Re: No thread is associated with this global object !!!!

hi rince,

 

   The project is huge and not sure which part of code is throwing this exception.

But what i have figured is whenever i try to call main()  this issue occurs.

 

Thanks,

Kusuma

Contributor
Posts: 26
Registered: ‎07-26-2010
My Device: Not Specified

Re: No thread is associated with this global object !!!!

[ Edited ]

And the cenario is also unpredictable.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: No thread is associated with this global object !!!!

"whenever i try to call main()"

 

Why are you calling main()?