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.
Install two MIDP Java platforms into NB (f.e, SDK 3.1 + WTK 2.5.2) and reload NB. Open Windows Task Manager. An emulator process appears every several seconds in process list. It appears only if two (or more?) platforms are installed. Consequences: - Device Selector collapsed periodically (probably - after each emulator invoke). So the access to device properties is blocked. - After several hours of idle (without any actions), NetBeans hangs with OutOfMemoryException. JME SDK SQE has reproduced this problem with SDK 3.0 + SDK 3.1 and with SDK 3.1 + WTK 2.5.2. OOME trace: SEVERE [org.openide.util.RequestProcessor] java.lang.OutOfMemoryError: Java heap space at java.io.ExpiringCache.put(ExpiringCache.java:74) at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:403) at java.io.File.getCanonicalPath(File.java:559) at sun.security.provider.PolicyFile.canonPath(PolicyFile.java:1849) at java.io.FilePermission$1.run(FilePermission.java:186) at java.io.FilePermission$1.run(FilePermission.java:183) at java.security.AccessController.doPrivileged(Native Method) at java.io.FilePermission.init(FilePermission.java:183) at java.io.FilePermission.<init>(FilePermission.java:249) at sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:200) at sun.rmi.server.LoaderHandler.addPermissionsForURLs(LoaderHandler.java:1022) at sun.rmi.server.LoaderHandler.access$300(LoaderHandler.java:52) at sun.rmi.server.LoaderHandler$Loader.<init>(LoaderHandler.java:1129) at sun.rmi.server.LoaderHandler$Loader.<init>(LoaderHandler.java:1110) at sun.rmi.server.LoaderHandler$1.run(LoaderHandler.java:865) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.server.LoaderHandler.lookupLoader(LoaderHandler.java:862) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:385) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:155) at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source) [catch] at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993) INFO [org.openide.util.RequestProcessor]: java.lang.IllegalStateException: Timer already cancelled. WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(D:\jmesdk\3.1b08\lib\cldc_1.1.1.jar) took 1,170 ms. Result is D:\jmesdk\3.1b08\lib\cldc_1.1.1.jar Exception in thread "Timer-0" java.lang.OutOfMemoryError: Java heap space SEVERE [org.openide.util.Exceptions] java.lang.OutOfMemoryError: Java heap space at com.sun.jme.toolkit.remoting.shared.rmiimpl.LoopbackSocketFactory.createSocket(Unknown Source) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110) at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl_Stub.getDefaultDomain(Unknown Source) at javax.management.remote.rmi.RMIConnector$RMIClientCommunicatorAdmin.checkConnection(RMIConnector.java:1578) at com.sun.jmx.remote.internal.ClientCommunicatorAdmin$Checker.run(ClientCommunicatorAdmin.java:165) [catch] at java.lang.Thread.run(Thread.java:619) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethod(Class.java:1935) at java.lang.Thread$1.run(Thread.java:1549) at java.security.AccessController.doPrivileged(Native Method) at java.lang.Thread.auditSubclass(Thread.java:1541) at java.lang.Thread.isCCLOverridden(Thread.java:1528) at java.lang.Thread.init(Thread.java:338) at java.lang.Thread.<init>(Thread.java:433) at org.openide.util.RequestProcessor$Processor.<init>(RequestProcessor.java:1831) at org.openide.util.RequestProcessor$Processor.get(RequestProcessor.java:1844) at org.openide.util.RequestProcessor.enqueue(RequestProcessor.java:612) at org.openide.util.RequestProcessor$EnqueueTask.run(RequestProcessor.java:1373) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) java.lang.OutOfMemoryError: Java heap space at com.sun.jme.toolkit.remoting.shared.rmiimpl.LoopbackSocketFactory.createSocket(Unknown Source) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110) at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl_Stub.getDefaultDomain(Unknown Source) at javax.management.remote.rmi.RMIConnector$RMIClientCommunicatorAdmin.checkConnection(RMIConnector.java:1578) at com.sun.jmx.remote.internal.ClientCommunicatorAdmin$Checker.run(ClientCommunicatorAdmin.java:165) at java.lang.Thread.run(Thread.java:619)
This issue is not related with NetBeans Mobility, please report to your internal bug tracking system.