This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 92232

Summary: MIDlet created by designer2 throws OutOfMemoeryError
Product: javame Reporter: Martin Ryzl <mryzl>
Component: Visual DesignerAssignee: David Kaspar <dkaspar>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 92244    

Description Martin Ryzl 2007-01-10 15:39:02 UTC
Custom build 2007, Jan/10. Create a MIDlet with an Exit action. Run it and then
use Exit:

java.lang.OutOfMemoryError
        at
javax.microedition.lcdui.Display$DisplayAccessor.commandAction(Display.java:2053)
        at
javax.microedition.lcdui.Display$DisplayManagerImpl.commandAction(Display.java:2895)
        at
com.sun.midp.lcdui.DefaultEventHandler.commandEvent(DefaultEventHandler.java:299)
        at
com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(AutomatedEventHandler.java:669)
        at
com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(DefaultEventHandler.java:710)
        at
com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(DefaultEventHandler.java:609)

works in designer1.
Comment 1 David Kaspar 2007-01-10 16:18:25 UTC
The was an endless loop in file template. Fixed. Thanks, Martin.
Comment 2 Lukas Hasik 2007-01-16 10:33:27 UTC
works in 070116-m6 build