BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-06-2008, 04:18 AM   #1
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
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, 10:05 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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, 12:16 AM   #3
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
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, 12:53 AM   #4
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
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, 02:56 AM   #5
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
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, 04:14 AM   #6
sunnan
Thumbs Must Hurt
 
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: vodafone
Posts: 61
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$79.99



HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee picture

HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee

$235.94



Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue picture

Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue

$141.00



Sketchy Chics - June 2021 - December 2022. Vintage Collection Art picture

Sketchy Chics - June 2021 - December 2022. Vintage Collection Art

$22.50



Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair picture

Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair

$199.99







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