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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Regular Contributor
Posts: 81
Registered: ‎01-16-2012
My Device: BOLD 9650 + developer
My Carrier: Vodafone

Simulator don't respond to the change in code


i solve the problem "

 JVM error 102 :: Invalid code in filesystem

" by clean the simulators in the blackberry perspective mode in eclipse
but i found new issue that the simulator don't responding to the changed i made in code when i run again it need to close and open again which annoyed me alot it's west a lot of time any suggestion :smileyhappy:

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Simulator don't respond to the change in code

Are you changing persisted storage?  Is you application run on start-up?  I think things like this means that the Simulator must restart. 

 

So just change something simple, like say, the text in a label and test to see if this requires a restart. 

Regular Contributor
Posts: 81
Registered: ‎01-16-2012
My Device: BOLD 9650 + developer
My Carrier: Vodafone

Re: Simulator don't respond to the change in code

no i don't use presistant store 
and i already change simple things like margin  for fileds  and it required to restart the simulator 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Simulator don't respond to the change in code

Can you replicate this behavior with one of the standard RIM applications?

Regular Contributor
Posts: 81
Registered: ‎01-16-2012
My Device: BOLD 9650 + developer
My Carrier: Vodafone

Re: Simulator don't respond to the change in code

do you mean
exp : the sample hello word ??

if yes .. i check it  and it also need the simulator to restart which take mach time 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Simulator don't respond to the change in code

OK, I just tried that, run the HelloWorld which started the Simulator, then updated Hello World to say Hello Peter, run it again and it just replaced the program with the new one in the Simulator.  I am used the standard Eclipse that comes as a complete download (2.0) and I have added JRE 5.0 which I was using for this test.  In this case was testing using a 9780 simulator (which I have found to load faster than a lot of other Simulators), but for other projects I use other Simulators, especially 98xx and 9320 and they all seem to have the same behavior.  .  . 

 

So in principle what you are trying to do should work.

 

Sorry I have no idea why this would break.  The only thing I can suggest you do is reinstall everything.  Not a great suggestion I know.....