Why do I get this exception - anti-pop: UiEngine is null! = net.rim.device.api.ui.UiEngineImpl@1ee2b551
It happens when this code is run:
public void popMyScreen(){ if (screen != null){ Application.getApplication().invokeLater( new Runnable(){ public void run() { try{ UiEngine ui = Ui.getUiEngine(); ui.popScreen(screen); }catch(Throwable e){ if (TasteMyCity.getDebug())TasteMyCity.writelog("******* TasteMyCity popMyScreen ",e); screen=null; } }});}}
The method is called from a number of places in my code - but sine I put everything in the Ui thread, I thought it would work like this.
PS: This error message, what is happening in my journal it's track of the stack also has this:
GraphicsInternal.updateDisplayFromBackBuffer (int, int, int, int, int, int) line: 1132
UiEngineImpl.removeScreenInternal (Screen) line: 2001
Most, if not all of them actually run on the thread of events, so you work for yourself. In addition, given that you have placed the code one invokeLater, you don't need to use the UiEngine looking for the current UiApplication approach - you can use UiApplication.getUiApplication ()...
Can I ask you to change the code as follows, but put to debug the instructions in the "exceptions" I note so that we can understand what exceptions occur. You can throw a RuntimeException to each point, if you wanted to, that would get us an at least Stack Trace.
public void popMyScreen() {}
If (display! = null) {}
Application screenApp = screen.getApplication ();
If (screenApp == null) {}
Believe that this means that the screen has already been jumped
return;
}
final UiApplication runningApp = UiApplication.getUiApplication ();
If (runningApp! = screenApp) {}
This application cannot jump the screen anyway!
return;
}
If (!) () runningApp instanceof
Works do not our application!
Should we be popping screen of others?
return;
}
If {(UiApplication.isEventDispatchThread ())}
runningApp.popScreen (screen);
screen = null;
return;
}
runningApp.invokeLater (new Runnable() {}
public void run() {}
try {}
runningApp.popScreen (screen);
} catch (Throwable e) {}
If (TasteMyCity.getDebug ()) TasteMyCity.writelog("*** TasteMyCity popMyScreen",e);
screen = null;
}
}
});
}
}
Tags: BlackBerry Developers
Similar Questions
-
Hello
I got a new Blackberry, the 9360, not more than 24 hours and I got this error "exception Eception: lack of resources net.rim.device.apps.internal.bis.resource.BISClient"
I don't know how to cope, but I get this every time I have to restart the device.
Can someone help me?
Thank you
All your support remains I said earlier... your carrier or dealer is responsible for all your formal support and services. Enter your questions for them, and they would have the possibility of that degenerate into RIM if necessary. Carriers are 100% responsible for packages of OS they choose to get out... RIM releases OS packages only for carriers and companies decide if they wish to release to their users, and if they do while they are responsible for support for it.
Good luck!
-
I bought a stowaway Shasta Bluetooth keyboard to use with my BB 8830. I installed the driver and software on the BB, but get the "Eception exception: net .rim... warning exception and crashes the program.» I just uninstalled my BB, reinstalled the latest version of the OS and reinstalled my applications. The problem is still there. No idea how I can eliminate the issue? Thanks in advance for your help.
Maxxasman
I went on the site and found the latest driver and software for the keyboard. Everything works! Thank you for helping me resolve this issue!
Rich
-
I get a message that I don't have the latest version of Firefox. I just updated and downloaded the Beta Version 11. Why do I get this message?
The current beta version is 12 of Firefox, but if you're not a tester experienced, so it is best to stay with the current version of Firefox and uninstall the beta version.
You can find the latest version of Firefox in all languages and for all systems operating here:
- Firefox 11.0.x: http://www.mozilla.org/en-US/firefox/all.html
-
Why do I get "this copy of Windows is not genuine. Build 7601, Windows 7 "? Windows was preinstalled on my computer when I bought 7 years ago. This message just started yesterday.
The label on the bottom of my laptop is worn and unreadable. I prepare some restore disks when I bought it all first.
Also, is it safe to use with this message? I am more sensitive to the virus and malware?
When I ran the MGADia.exe, I received the following:
Diagnostic report (1.9.0019.0):
-----------------------------------------
Given WGA-->
Validation status: invalid license
Validation code: 50Code of Validation caching: 0x0
Windows product key: *-* - 73CQT - WMF7J-3Q6C9
Windows product key hash: RmurcM3ZxzWyfEP9WtPUJw = + KaFG
Windows product ID: 00359-OEM-8992687-00010
Windows product ID type: 2
Windows license Type: OEM SLP
The Windows OS version: 6.1.7601.2.00010300.1.0.003
ID: {41B72C8D-9D6E-4B69-95F3-C47B98DFEC93} (3)
Admin: Yes
TestCab: 0x0
WGA Version: N/a, hr = 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Product name: Windows 7 Home Premium
Architecture: 0 x 00000009
Build lab: 7601.win7sp1_gdr.150715 - 0600
TTS error:
Validation of diagnosis:
Resolution state: n/aWgaER data-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002WGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
File: No.
Version: N/a, hr = 0 x 80070002
WgaTray.exe signed by: n/a, hr = 0 x 80070002
WgaLogon.dll signed by: n/a, hr = 0 x 80070002OGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002
OGAExec.exe signed by: n/a, hr = 0 x 80070002
OGAAddin.dll signed by: n/a, hr = 0 x 80070002OGA data-->
Office status: 100 authentic
Microsoft Office Home and Student 2007-100 authentic
OGA Version: N/a, 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3_E2AD56EA-765-d003_E2AD56EA-766-0_E2AD56EA-134-80004005_E2AD56EA-765-b01a_E2AD56EA-766-0_E2AD56EA-148-80004005_16E0B333-89-80004005_B4D0AA8B-1029-80004005Data browser-->
Proxy settings: N/A
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
Download signed ActiveX controls: fast
Download unsigned ActiveX controls: disabled
Run ActiveX controls and plug-ins: allowed
Initialize and script ActiveX controls not marked as safe: disabled
Allow the Internet Explorer Webbrowser control scripts: disabled
Active scripting: allowed
Recognized ActiveX controls safe for scripting: allowedAnalysis of file data-->
Other data-->
Office details:{41B72C8D-9D6E-4B69-95F3-C47B98DFEC93} 1.9.0019.0 6.1.7601.2.00010300.1.0.003 x 64 *-*-*-*-3Q6C9 00359-OEM-8992687-00010 2 S-1-5-21-3695335249-1752219722-1893319484 Hewlett-Packard SLIC-MPC Hewlett-Packard F.14 20090922000000.000000 + 000E3503D07018400F8 0409 0409 Eastern Standard Time(GMT-05:00) 0 3 HPQOEM SLIC-MPC 100 100 Microsoft Office home and Student 2007 12 52F2E9A2A000F38 wJr2hKpGU8wDb57KL876WZXKYT8 = 5591357-81602-924-68635 1 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7601.17514Name: Windows 7 HomePremium edition
Description: operating system Windows - Windows (r) 7, channel OEM_SLP
Activation ID: d2c04e90-c3dd-4260-b0f3-f845f5d27d64
ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 00359-00178-926-800010-02-1033-7600.0000-2682009
Installation ID: 002050161536719566617756842704942491320285130926883054
Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
Partial product key: 3Q6C9
License status: Notification
Notification reason: 0xC004F059.
Remaining Windows rearm count: 2
Trust time: 08/03/2016-20:20:50Windows Activation Technologies-->
HrOffline: 0x00000000
HrOnline: 0x00000000
Beyond: PASS
Event timestamp: 1:6:2016 08:43
WAT Activex: registered
WAT administration service: registered--> HWID data
Current Hash HWID: NAAAAAEAAgABAAIAAAABAAAABAABAAEA6GHuySp0Ejd6f1iV4sfgC34fsPa8wADj3utGyg ==Activation 1.0 data OEM-->
N/AActivation 2.0 data OEM-->
BIOS valid for OA 2.0: no, table invalid SLIC
Windows marker version: N/A
OEMID and OEMTableID consistent: n/a
BIOS information:
ACPI Table name OEMID value OEMTableID value
HPQOEM APIC-SLIC-MPC
HPQOEM FACP SLIC-MPC
HPQOEM HPET SLIC-MPC
START HPQOEM SLIC-MPC
MCFG HPQOEM SLIC-MPC
ASF! HPQOEM SLIC-MPC
SLIC SLIC-MPC HPQOEM
SSDT PmRef CpuPmKay
You must activate Windows 7 by using the product key on the COA sticker on the casing of the computer, or inside the battery compartment.
Select Start, right-click computer, click Properties, select change product key (under Windows Activation) and enter the product key of 25 characters (from the COA sticker). Click Next to activate via the internet. Restart your computer.
-Product key of letters and numbers-
Do not confuse the letter B with the number 8, the letter Q and the letter O, and the letter G with the number 6.
Not used the letters: A, E, I, O S U Z l. numbers and you not used: 0 1 to 5.
The product source letters and figures: Stuart W J
http://answers.Microsoft.com/en-us/profile/4b0846b4-711f-4347-A784-741660b06fb7#user-profile-tab-profile -
Why do I get this error C:/User/radyer/AppData/Local/Playto~1/Update.dll?
Judging by the place where provenance, like malicious software. I suggest to delete
-
Why that I get this message, Microsoft Windows Search Indexer stopped working and was closed
Why that I get this message, Microsoft Windows Microsoft Windows Search indexing has stopped working and was closed [content] A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
Original title: he ceases to annoy meA problem with the operating system.
I would also like to run a file system check to verify and repair the operating system files
Run a file system check to check and repair your system files.
To do what type cmd in start search box, and then right-click to run as administrator, then
SFC/SCANNOWIt may need be performed up to three times before success
Let us know the results of the report at the endRead here for more information
http://support.Microsoft.com/kb/929833 -
With premiere pro cc2015 why can I get this error message when reading 'timers video and audio are not synchronized?
Hello
Here are the steps.
Install a cable Audio virtual on your machine:
http://virtual-audio-cable.en.softonic.com/
Under HW Audio Configuration configured Virtual audio cable as default input device
And value clock maser virtual audio cable and try reading.
This issue with the message 'Audio material e/s overloaded at 00' can be fixed, follow these steps.
Vinay
-
Why do I get this warning in regards to my firewall?
I keep getting this pop up when I open iTunes. It appears every two minutes and I don't know why. It started to happen out of nowhere. No idea why? Thank you!
Open System Preferences > Privacy & Security , then select the Firewall tab.
If the firewall is turned on, click firewall Options
Then check: block all incoming connections is not selected.
If iTunes in the list, click the pop-up menu on the right to: allow incoming connections , and then click OK.
If nothing above helped, try here > Advanced steps to correct the problems with the iTunes Store connection
-
Why I countinuosly get this messages open a vi of my project?
Hello
I need help to understand why I get this message when, after that I changed something, I opened a vi of my project:
and after clicking on restore...
After the reopening of the vi that the error is no more and the functioning of the development system, it's ok.
Thanks in advance.
-How you call the 'Load Parameter.vi' in your VI?
Some things to read in the forum related to this one:
-If any Subversion works in behind and it changes the timestamp of VI?
N ' matter what antivirus might also change the timestamp of vi. Source: http://forums.ni.com/t5/LabVIEW/Labview-8-5-prompts-me-when-I-change-a-subvi/td-p/579867 -
I have a new computer with windows 8 and when I try to open some files I get this message: you have currently not allowed to access this folder click on continue having access to this folder permanently. Anyone know why? It happened when I tried to open the prefetch files, I clicked on continue and it opened, but I don't understand why I get this message.
It is a feature on some files/folders to protect the system. These files/folders are essential for the functioning of the system, so handling is discouraged by using the attributes of the file permissions to the NTFS file system.
In other words, Windows won't mess you with these files, then they add the extra step to make sure that you understand that this could break your Windows installation.
-
What are spammers and why do I get a warning whenever I want to send a message?
You should talk to your e-mail service provider support staff. They will explain what you see and why you see. They also explain what to do.
-
Why do I get this error?
Has started getting this error. "Oops, we are having a temporary problem completing this download. Please check back later to see if the hiccups have disappeared "." Try to download a trial version of a game. Any help would be appreciated.
Has started getting this error. "Oops, we are having a temporary problem completing this download. Please check back later to see if the hiccups have disappeared "." Try to download a trial version of a game. Any help would be appreciated.
Sounds * very * specific web site. Ask them.
-
Hello
I received a message which reads "the product key you entered has been blocked the use of Microsoft. I bought the original Windows 7 Professional SP1 a year ago. Now, I get this message. What is the reason?Where did you bought it?
Please run the Microsoft Genuine Diagnostics Tool then copy and paste the results into an answer here for further analysis:
http://go.Microsoft.com/fwlink/?LinkId=52012Have you tried to restart by phone?
How to activate Windows 7 manually (activate by phone)
1) click Start and in the search for box type: slui.exe 4
(2) press the ENTER"" key.
(3) select your "country" in the list.
(4) choose the option "activate phone".
(5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
(6) explain your problem clearly to the support person.
http://support.Microsoft.com/kb/950929/en-us -
Why do I get this error on LR 6 download? The 413 header length too large
Hello
Trying to download my upgrade for LR 6. I get this error:
413
Header Length too Large
Any ideas?
It's a browser error.
Clear your cache and cookies, then try again. Or use another browser.
Maybe you are looking for
-
I want to copy favorites from another PC, do not use the restore function inorder does not remove bookmarks on current PC
-
8000 elite: try to boot from the hard drive
After placing a ssd, I get this notification. nothing else happens. I checked the bios, but I noticed that I can not change the boot sequence (ssd hard drive first, the other second place) so I changed the sata cables too the ssd is the startup disk.
-
Satellite L650 / 0K 3 - attracts dust
My 3 week old Satellite L650/0 k 3 works well EXCEPT that it attracts dust. On the screen, the keyboard and the body. You could call cela a magnet to dust. This does not affect its operation, but my laptop is black and dust is very visible. Yes, I ad
-
Laptop computer Dell XPS/M1330 (speakers not working do not)
I have recently upgraded to Windows 8 and my speakers do NOT WORK now. When I plug in my headset I can hear the sound but without headphones, speakers do not work. Help, please.
-
Hello Is there a webservice that I can use to get my device PIN of my enterprise 10 Server users? I would like to extract the PINS of a specific group of users I tried to follow this guide: http://docs.BlackBerry.com/en/developers/deliverables/16633/