0 Replies Latest reply: Feb 13, 2011 8:33 AM by 839313 RSS

    Error when starting Java(TM) ME Platform SDK 3.0

    839313
      hey guys, I get this error when starting Java(TM) ME Platform SDK 3.0. When I installed it it installed 'successfully' and then I double clicked the file on the desktop (I'm using Windows Vista 32bit Home premium) and it gave me the following error when saying 'Starting Modules':
      -------------------------------------------------------------------------------
      
      Log Session: Sunday, February 13, 2011 1:52:25 PM GMT
      System Info:
        Product Version         = Java(TM) ME Platform SDK 3.0   Operating System        = Windows Vista version 6.0 running on x86   Java; VM; Vendor        = 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09; Sun Microsystems Inc.   Runtime                 = Java(TM) SE Runtime Environment 1.6.0_23-b05   Java Home               = C:\Program Files\Java\jdk1.6.0_23\jre   System Locale; Encoding = en_GB (cdctoolbar); Cp1252   Home Directory          = C:\Users\Molten Ice   Current Directory       = C:\Program Files\Java\Java_ME_platform_SDK_3.0\bin   User Directory          = C:\Users\Molten Ice\javame-sdk\toolbar\3.0   Installation            = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1                             C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\ide10                             C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\java2                             C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\mobility8                             C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\profiler2                             C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9   Boot & Ext. Classpath   = C:\Program Files\Java\jdk1.6.0_23\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_23\jre\classes;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunpkcs11.jar   Application Classpath   = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\boot.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-modules.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_23\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_23\lib\tools.jar   Startup Classpath       = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\core.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\org-openide-filesystems.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1\core\locale\core_cdctoolbar.jar ------------------------------------------------------------------------------- WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-javame-common.jar!/org/netbeans/modules/javame/common/resources/layer.xml WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-e2e.jar!/org/netbeans/modules/e2e/layer.xml WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml] WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml] [      0]   INFO - ootstrap.PropertyEditorManager - Registering custom property editors [    117]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies... [    217]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies... [    317]   INFO - bootstrap.ObjectGraphProcessor - Calculating order... [    417]   INFO - bootstrap.ObjectGraphProcessor - Calculated order [    523]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects... [    627]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N [    732]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects [    832]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods... [    932]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods... [   1032]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [   2166]   WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [   2268]   INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe [   3384]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [   5476]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [   7576]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [   9677]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  11777]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  13877]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  15977]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  18077]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  20177]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  22277]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  23379]  ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on DeviceManagerConnection java.lang.reflect.InvocationTargetException      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)      at java.lang.reflect.Method.invoke(Method.java:597)      at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)      at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)      at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)      at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)      at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)      at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)      at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)      at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)      at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)      at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)      at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)      at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)      at org.netbeans.ModuleManager.enable(ModuleManager.java:906)      at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)      at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)      at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)      at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)      at org.netbeans.core.startup.Main.start(Main.java:312)      at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)      at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:      java.net.ConnectException: Connection refused: connect]      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)      ... 24 more Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:      java.net.ConnectException: Connection refused: connect]      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)      at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)      at javax.naming.InitialContext.lookup(InitialContext.java:392)      at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)      at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)      ... 27 more Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:      java.net.ConnectException: Connection refused: connect      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)      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.newCall(UnicastRef.java:322)      at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)      ... 32 more Caused by: java.net.ConnectException: Connection refused: connect      at java.net.PlainSocketImpl.socketConnect(Native Method)      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)      at java.net.Socket.connect(Socket.java:529)      at java.net.Socket.connect(Socket.java:478)      at java.net.Socket.<init>(Socket.java:375)      at java.net.Socket.<init>(Socket.java:189)      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)      ... 37 more SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager java.net.ConnectException: Connection refused: connect      at java.net.PlainSocketImpl.socketConnect(Native Method)      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)      at java.net.Socket.connect(Socket.java:529)      at java.net.Socket.connect(Socket.java:478)      at java.net.Socket.<init>(Socket.java:375)      at java.net.Socket.<init>(Socket.java:189)      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) Caused: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:      java.net.ConnectException: Connection refused: connect      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)      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.newCall(UnicastRef.java:322)      at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:      java.net.ConnectException: Connection refused: connect]      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)      at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)      at javax.naming.InitialContext.lookup(InitialContext.java:392)      at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)      at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257) Caused: java.io.IOException: Failed to retrieve RMIServer stub      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source) Caused: java.lang.reflect.InvocationTargetException      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)      at java.lang.reflect.Method.invoke(Method.java:597)      at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)      at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)      at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)      at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)      at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)      at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)      at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48) [catch] at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)      at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)      at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)      at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)      at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)      at org.netbeans.ModuleManager.enable(ModuleManager.java:906)      at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)      at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)      at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)      at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)      at org.netbeans.core.startup.Main.start(Main.java:312)      at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)      at java.lang.Thread.run(Thread.java:662) [  23598]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies... [  23698]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies... [  23798]   INFO - bootstrap.ObjectGraphProcessor - Calculating order... [  23898]   INFO - bootstrap.ObjectGraphProcessor - Calculated order [  23998]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects... [  24098]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N [  24198]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects [  24298]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods... [  24398]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods... [  24498]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started [  24600]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies... [  24700]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies... [  24800]   INFO - bootstrap.ObjectGraphProcessor - Calculating order... [  24900]   INFO - bootstrap.ObjectGraphProcessor - Calculated order [  25000]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects... [  25100]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N [  25202]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects [  25302]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods... [  25402]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods... [  25502]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started [  25602]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  26699]   WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  26799]   INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe [  27914]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  30005]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  32106]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  34206]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  36306]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  38406]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  40506]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  42607]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  44706]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager [  46806]   INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager java.net.ConnectException: Connection refused: connect      at java.net.PlainSocketImpl.socketConnect(Native Method)      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)      at java.net.Socket.connect(Socket.java:529)      at java.net.Socket.connect(Socket.java:478)      at java.net.Socket.<init>(Socket.java:375)      at java.net.Socket.<init>(Socket.java:189)      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) Caused: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:      java.net.ConnectException: Connection refused: connect      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)      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.newCall(UnicastRef.java:322)      at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97) Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:      java.net.ConnectException: Connection refused: connect]      at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)      at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)      at javax.naming.InitialContext.lookup(InitialContext.java:392)      at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)      at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257) Caused: java.io.IOException: Failed to retrieve RMIServer stub      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.lookupMBean(Unknown Source)      at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.findObject(Unknown Source) [catch] at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.openConnection(DevicemanagerHelper.java:53)      at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:86)      at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)      at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)      at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)      at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)      at org.netbeans.ModuleManager.enable(ModuleManager.java:906)      at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)      at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)      at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)      at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)      at org.netbeans.core.startup.Main.start(Main.java:312)      at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)      at java.lang.Thread.run(Thread.java:662) [  48018]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies... [  48118]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies... [  48218]   INFO - bootstrap.ObjectGraphProcessor - Calculating order... [  48318]   INFO - bootstrap.ObjectGraphProcessor - Calculated order [  48418]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects... [  48518]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N [  48618]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects [  48718]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods... [  48818]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods... [  48918]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started [  49018]   INFO - bootstrap.ObjectGraphP
      I did install Nokia's SDK with NetBeans and this works perfectly.

      I went through with everything recommended here: http://blogs.sun.com/javamesdk/entry/first_aid_when_emulator_doesn

      But nothing worked.

      Any help appreciated!

      Thanks.