I've been developing an app for a blackberry over the last few weeks and have only encountered this problem as of late.
On loading the simulator and debugger I get a load of nullpointerexception errors which causes me for the guts of 5 mins to have to hold down F8 til it passes through each stack individually that throws the null pointer.
Here is a copy of the first stack to throw the error
Code:
Thread [net_rim_bb_elt(4)id=136563712] (Suspended (exception NullPointerException))
MessageQueue.enqueue(Message) line: 165
ApplicationProcess.postMessage(Message) line: 385
Proxy(Application).invokeLaterSpecial(Runnable, int) line: 2683
Proxy(Application).invokeLater(Runnable) line: 2657
UserPermissions.<init>() line: 96
ApplicationControlImpl.<clinit>() line: 80
ApplicationControl.assertIPCAllowed(boolean) line: 435
PersistentStore.assertPermission() line: 75
PersistentStore.getPersistentObject(long) line: 110
GPS.getModeStore() line: 344
GPS.<clinit>() line: 338
ETApplication.main(String[]) line: 39
After this I'll receive a further 50/100 Null pointer exceptions before the main menu will actually load on the simulator
I'm currently running a freshly installed windows 7 and freshly installed Eclipse and BlackBerry Java Plug-in 1.3.0 (Both downloaded from blackberry website)
Here is the total console output that I receive also before it throws the first exception
Code:
No debug information found for 'SecurIDLib' (456c5107).
[0.0] JVM: bklt[1] @7335: JvmBacklightEnableFor 30 ()
[0.0] VM:-DA 0
[0.0] VM:+CR
[0.0] VM:-CR=0
[0.0] AM: init
[0.0] JVM: bklt[1] @-805308853: JBSC on=1
[0.0] JVM: bklt[1] @-805308853: SC 1
[0.0] JVM: bklt @7375: setTimer 30
[0.0] AM: Starting tier 0
[0.0] VM:NCICv=36
[0.0] AM: Starting net_rim_crypto
[0.0] AM: Started net_rim_crypto(2)
[0.0] AM: Starting net_rim_tac
[0.0] AM: Started net_rim_tac(3)
[0.0] VM:NCICv=30
[0.0] VM:NFICv=5
[0.0] VM:NFICv=4
[0.0] VM:NFICv=8
[0.0] VM:NFICv=7
[0.0] VM:NFICv=6
[0.0] AM: Starting net_rim_bb_elt
[0.0] AM: Started net_rim_bb_elt(4)
[0.0] AM: Starting net_rim_escreen_app
[0.0] AM: Started net_rim_escreen_app(5)
[0.0] AM: Starting net_rim_tid_spell_check
[0.0] AM: Started net_rim_tid_spell_check(6)
[0.0] AM: Starting net_rim_event_log_viewer_app
[0.0] AM: Started net_rim_event_log_viewer_app(7)
[0.0] AM: Starting net_rim_services_impl
[0.0] AM: Started net_rim_services_impl(8)
[0.0] VM:NCICv=31
[0.0] VM:NFICv=9
[0.0] AM: Starting net_rim_process_launcher