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
Developer
malcolm
Posts: 41
Registered: ‎08-01-2008
My Device: Not Specified

BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

[ Edited ]

I found this by leaving my application fairly stressed (connected to 9 clients) over the weekend, on the JDE 4.6.0.12 with the 9000 simulator. When I got into work this morning the title bar of the JDE said "Uncaught exception thrown - NullPointerException". I've attached a screenshot showing the call stack, obviously half of it there aren't any debug symbols for but I'm sure the RIM guys can diagnose exactly where things went wrong..

 

 NullPointerException call stack

 

To the best of my knowledge I haven't touched or used any of the low memory listener classes in my application, so whatever is going wrong here isn't because I'm passing bad arguments into the memory subsystem. As well as my application, the GoogleMail application was also running, I think that's about it though.

 

Edit: Found another similar problem, I'll put it in this thread rather than fill up the board. This time I'd just booted up the sim (9000, as above),cancelled the the device setup wizard, and tried to establish a connection from the simulator. I forgot to make sure the mobile network was turned on, I don't know if it is possible that this is caused by trying to make a connection using Connector.open(..) when there is no coverage? Seems odd, I'm sure I've done that before and all you get is a timeout. Anyway, I realised my mistake and went to the connection manager to turn on the mobile network. Shortly after the "simulated fledge network" appears on the top of the main screen, I get this:

 

 Bold simulator crash

 

 

The jde didn't stop on the exception so I can't get any more specific details of what the exception was or anything.

Message Edited by malcolm on 09-15-2008 05:57 AM
Please use plain text.
Administrator
MSohm
Posts: 14,444
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

Are you able to reproduce either of these errors? 

 

Did you happen to check how much memory was available for the exception in the first screen shot?  You can see this by going to Options, Status on the BlackBerry.  It doesn't look like the exception originated from within your application, so it is not something you'll need to fix in your application.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
malcolm
Posts: 41
Registered: ‎08-01-2008
My Device: Not Specified

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

The second one I've tried to reproduce a few times but no luck. The first one requires leaving it on for a long time, I'm off work tomorrow so I can try and setup the same situation before I leave today and check Wednesday morning. My app prints out the current free RAM regularly on the debug output, so if it does break I should be able to give you a rough figure. I'll get back to you in a few days on this one.
Please use plain text.
Developer
malcolm
Posts: 41
Registered: ‎08-01-2008
My Device: Not Specified

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

I left the simulator running for over 24 hours with lots of connections like before, this time however everything went exactly as it should, no exceptions thrown at all. I'll keep on trying to this reproduced, but it seems like a tricky one..
Please use plain text.
New Developer
pan_magically
Posts: 8
Registered: ‎10-14-2008
My Device: Not Specified

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

[ Edited ]

 

Got this error today, when I was try to get Connector.open to not hang my thread.

 

Here is the log

 

 

Application net_rim_plazmic_flint(126) is not responding; process terminated

[4 1000007e]
4 1000007e
0 ffffffff
4 1000007e
0 ffffffff
4 1000007e
4 1000007e
0 ffffffff
20 1126bd1a
4 1000007e
4 1000007e
0 ffffffff
4 1000007e
1 140
20 ee60c5c3
4 1000007e
20 ee60c5c3
20 ee60c5c3
20 ee60c5c3
20 ee60c5c3
20 ee60c5c3
20 1126bd1a
20 ee60c5c3
4 1000007e
0 ffffffff
38 203
20 f7a0c75f
4 1000007e
0 ffffffff
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744
20 94a35744

VM:THMNx=125,r=0xB214000,t=java.lang.Object
VM:THMNx=74,r=0x31C26000,t=java.lang.Object
VM:THMNx=126,r=0x12E2E000,t=java.util.Hashtable
VM:THMNx=85,r=0xDF36000,t=java.lang.Object
VM:THMNx=47,r=0x3E248000,t=net.rim.vm.MessageQueue
VM:THMNx=46,r=0x5966A000,t=net.rim.device.apps.internal.addressbook.sim.SIMCollectionLoader
VM:THMNx=47,r=0x56674000,t=java.util.Vector
VM:THMNx=61,r=0x3E192000,t=java.lang.Object
VM:THMNx=61,r=0x3E19C000,t=net.rim.plazmic.internal.contentpreview.device.apps.BootstrapApplication
VM:THMNx=126,r=0x5F2BC000,t=net.rim.device.cldc.io.gpak.GpakTransport$GpakConnectionInfo[]
VM:THMNx=63,r=0x4FABE000,t=java.lang.Object
VM:THMNx=123,r=0x316D2000,t=java.lang.Object
VM:THMNx=47,r=0x1EEDC000,t=net.rim.device.api.system.ApplicationManagerImpl$ApplicationProcessContainer
VM:THMNx=86,r=0x359E6000,t=java.lang.Object
VM:THMNx=95,r=0x13EEE000,t=java.lang.Object
VM:THDLv=0
Exit net_rim_plazmic_flint(126)

 

 

Sorry I can't add the screen caps directly, it said I had some invalid HTML

 

 

http://img135.imageshack.us/my.php?image=plazmichanghk1.jpg

Message Edited by pan_magically on 10-14-2008 07:22 AM
Please use plain text.
Administrator
MSohm
Posts: 14,444
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

Please see this link.

 

Support - Application stops responding when opening a connection
Article Number: DB-00159

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/Support...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
malcolm
Posts: 41
Registered: ‎08-01-2008
My Device: Not Specified

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

Could you clarify which of my two issues this Knowledge base article should solve? My application already runs each connection in it's own Runnable, so I am pretty sure the UI thread is not being locked. I also explicitly give permissions to the application to make connections so I don't normally get a popup dialog box, I don't really see how the entry relates to getting a crash from net_rim_plazmic_flint.
Please use plain text.
Administrator
MSohm
Posts: 14,444
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

That reply was intended for pan_magically.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
Jenselense
Posts: 12
Registered: ‎11-13-2008
My Device: Not Specified

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

Hi,

I get the same uncaught exception as malcom's second(...net_rim_plazmic_flint(126) is not responding) when the bold-simulator has no connection to the internet and my application tries to connect. My app notices the timeout and stops, when I then close my app a Dialog with the uncaught Exception pops up in the mainscreen...

 

JJ

Please use plain text.
Administrator
MSohm
Posts: 14,444
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: BUGS: Uncaught Exceptions in LowMemoryManagerImplm; net_rim_plazmic_flint, JDE 4.6.0

Are you able to reproduce this on demand?  If so, can you post some sample code that triggers the exception?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.