BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-06-2008, 05:18 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default popscreen uncaught exception

Please Login to Remove!

hi there,
am getting exception "uncaught exception:popscreen:uiengine is null!=net.rim.device.api.ui.uiengineimpl@13e75906 "

when ever i tried to access my mainclass from my popscreen...
am so fed up with this exception...some one familier with this exception pls help me....
Offline  
Old 09-06-2008, 11:05 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Sounds like you are calling UiApplication.popscreen() from some context other than the UI Event thread.

Can you post a code snippet?
Offline  
Old 09-08-2008, 01:16 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for ur sincere reply..i get exception while am calling this code:

Code:
  UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run()
                  {
                      UiApplication.getUiApplication().popScreen(pop2);
                  }
              });
Offline  
Old 09-08-2008, 01:53 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

even if i try implementing this code am getting the same exception

Code:
UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run()
                  {
                         UiEngine ui = Ui.getUiEngine();
                         ui.popScreen(pop2);     
                  }
              });
Offline  
Old 09-08-2008, 03:56 AM   #5 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

where do you call this code? i would also guess that it is in the wrong context, for example from a listener that is called by a class without ui.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 09-08-2008, 05:14 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

yeah.this method was inside my phonelistener and i call this through popscreen which is the activescreen displayed...am trying to close another popscreen in my app which is just lies beyond the default screen appears when call is in progress...
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.