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
Contributor
casebash
Posts: 18
Registered: ‎03-01-2010
My Device: None
My Carrier: NOne

JVM Error 522 on 5.0.0 Emulator Startup

Hi, I am attempting to test an application using the 5.0.0 Blackberry Emulator. However, before I have a chance to open my program the emulator always throws an error:

 

JVM Error

Interlaced synchronizations

Hex addresses

 

Does anyone know how to resolve this problem? Thanks!

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: JVM Error 522 on 5.0.0 Emulator Startup

Have you tried running clean.bat on the simulator directory?

 

You might also need to remove the *.dmp files, then rebuild the project and restart the sim.

 

Please use plain text.
Contributor
casebash
Posts: 18
Registered: ‎03-01-2010
My Device: None
My Carrier: NOne

Re: JVM Error 522 on 5.0.0 Emulator Startup

Thank you, that worked perfectly!

Please use plain text.
Contributor
casebash
Posts: 18
Registered: ‎03-01-2010
My Device: None
My Carrier: NOne

Re: JVM Error 522 on 5.0.0 Emulator Startup

Actually, I have the error back again, and doing either of the options what you suggested don't work anymore :-(

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: JVM Error 522 on 5.0.0 Emulator Startup

Is your application "auto-start" ?

 

If so, remove your COD files from the simulator directory and see if the issue goes away.

 

Please use plain text.
Contributor
casebash
Posts: 18
Registered: ‎03-01-2010
My Device: None
My Carrier: NOne

Re: JVM Error 522 on 5.0.0 Emulator Startup

There were 655 .cod files in my simulator directory and I was able to remove them all but this didn't stop the simulator running. Other programs in the simulator seem to work to, so I wonder what all these .code files were. I still get the error message, but the simulator seems to be able to continue running afterwards - at least for now.

Please use plain text.
Contributor
grolch
Posts: 10
Registered: ‎07-27-2010
My Device: i have several blackberry for development

Re: JVM Error 522 on 5.0.0 Emulator Startup

I had the same error and in the properties for the project under the simulator type screens there is a check box for launch in background. After trying the clean.bat and removing all dmp files not fixing the problem I unchecked the box "launch in background" and it seemed to fix the problem

 

Please use plain text.