Skip to Main Content

Embedded Technologies

Announcement

Testing banner

Emulator is not starting after upgrading Java

2833902Jan 19 2017 — edited May 17 2017

Hi,

I have the latest Java ME installed (uninstalled and re-installed today) and after upgrading Java to the latest version I get the following exception when trying to start the Device Manager:

savvas@Savvas-Computer:~/Java_ME_platform_SDK_8.3/bin$ [      0]   INFO - lkit.bootstrap.DeployerManager - Registering custom property editors

[     13]   INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module object-server

[     22]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...

[     23]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...

[     23]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...

[     23]   INFO - bootstrap.ObjectGraphProcessor - Calculated order

[     34]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...

[     35]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N

[     35]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects

[     35]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...

[     36]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...

[     42]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started

[     44]   INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module process/device-manager

[     57]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...

[     57]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...

[     58]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...

[     58]   INFO - bootstrap.ObjectGraphProcessor - Calculated order

[    273]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...

[    317]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N

[    318]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects

[    318]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...

[    324]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...

[    329]   INFO - sun.kvem.tools.http.HttpServer - HTTP server started!

[    349]   INFO - oolkit.jsr120.server.WmaServer - CBS server is bound to port 54455

[    350]   INFO - oolkit.jsr120.server.WmaServer - WMA Server is started

[    381]   INFO - r.GenericEmulatorDeviceAdapter - Got device ID: -1 for device name: EmbeddedDevice1

[    384]   INFO - r.GenericEmulatorDeviceAdapter - Allocated device ID: 0 for device name: EmbeddedDevice1 and device adapter: device-adapter.EmbeddedDevice

[    385]   INFO - r.GenericEmulatorDeviceAdapter - Reuse data for device ID 0 from work directory

[    385]   INFO - r.GenericEmulatorDeviceAdapter - Got device ID: -1 for device name: EmbeddedDevice2

[    385]   INFO - r.GenericEmulatorDeviceAdapter - Allocated device ID: 1 for device name: EmbeddedDevice2 and device adapter: device-adapter.EmbeddedDevice

[    385]   INFO - r.GenericEmulatorDeviceAdapter - Reuse data for device ID 1 from work directory

[    424]   INFO - r.GenericEmulatorDeviceAdapter - Got device ID: -1 for device name: Qualcomm_IoE_Device

[    424]   INFO - r.GenericEmulatorDeviceAdapter - Allocated device ID: 2 for device name: Qualcomm_IoE_Device and device adapter: device-adapter.Qualcomm_IoE_Device

[    424]   INFO - r.GenericEmulatorDeviceAdapter - Reuse data for device ID 2 from work directory

[    442]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started

[    443]   INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module modules/remoting-connector

[    444]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...

[    445]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...

[    445]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...

[    445]   INFO - bootstrap.ObjectGraphProcessor - Calculated order

[    447]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...

[    447]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N

[    448]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects

[    448]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...

[    448]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...

[    450]   INFO - .rmiimpl.RemotingConnectorImpl - Starting JMX connector on service:jmx:rmi:///jndi/rmi://127.0.0.1:60950/device-manager

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/savvas/Java_ME_platform_SDK_8.3/toolkit-lib/lib/jcomm2me/linux64/libcomm.so which might have disabled stack guard. The VM will try to fix the stack guard now.

It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

Jan 19, 2017 8:12:20 PM java.io.ObjectInputStream filterCheck

INFO: ObjectInputFilter REJECTED: class java.net.InetAddress, array length: -1, nRefs: 9, depth: 3, bytes: 7106, ex: n/a

[    513]  ERROR - strap.BasicObjectConfiguration - Problem calling start() on RemotingConnector

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.invoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.startObjectsImpl(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Namespace.startBatch(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Namespace.runModules(Unknown Source)

at com.sun.jme.toolkit.bootstrap.MainNamespace.runModules(Unknown Source)

at com.sun.jme.toolkit.bootstrap.MainNamespace.run(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.run(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.start(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.main(Unknown Source)

Caused by: java.io.IOException: Cannot bind to URL [rmi://127.0.0.1:60950/device-manager]: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED]

at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432)

at com.sun.jme.toolkit.remoting.server.rmiimpl.RemotingConnectorImpl.start(Unknown Source)

... 17 more

Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED]

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:161)

at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:228)

at javax.naming.InitialContext.bind(InitialContext.java:425)

at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:644)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)

... 18 more

Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED

at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:460)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)

at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)

at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:155)

... 22 more

Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED

at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:450)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.InvalidClassException: filter status: REJECTED

at java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:1244)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1832)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1713)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1986)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)

at sun.rmi.transport.tcp.TCPEndpoint.read(TCPEndpoint.java:555)

at sun.rmi.transport.LiveRef.read(LiveRef.java:292)

at sun.rmi.server.UnicastRef2.readExternal(UnicastRef2.java:78)

at java.rmi.server.RemoteObject.readObject(RemoteObject.java:455)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2122)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)

... 15 more

[    519]   INFO - un.jme.toolkit.bootstrap.Batch - Flushing...

[    519]   INFO - un.jme.toolkit.bootstrap.Batch - Calling stop() methods...

[    519]   INFO - un.jme.toolkit.bootstrap.Batch - Calling destroy() methods...

[    519]   INFO - un.jme.toolkit.bootstrap.Batch - Objects stopped

[    519]  ERROR - oolkit.bootstrap.MainNamespace - java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.invoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.startObjectsImpl(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Namespace.startBatch(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Namespace.runModules(Unknown Source)

at com.sun.jme.toolkit.bootstrap.MainNamespace.runModules(Unknown Source)

at com.sun.jme.toolkit.bootstrap.MainNamespace.run(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.run(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.start(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.main(Unknown Source)

Caused by: java.io.IOException: Cannot bind to URL [rmi://127.0.0.1:60950/device-manager]: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED]

at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432)

at com.sun.jme.toolkit.remoting.server.rmiimpl.RemotingConnectorImpl.start(Unknown Source)

... 17 more

Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED]

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:161)

at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:228)

at javax.naming.InitialContext.bind(InitialContext.java:425)

at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:644)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)

... 18 more

Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED

at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:460)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)

at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)

at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:155)

... 22 more

Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED

at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:450)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.InvalidClassException: filter status: REJECTED

at java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:1244)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1832)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1713)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1986)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)

at sun.rmi.transport.tcp.TCPEndpoint.read(TCPEndpoint.java:555)

at sun.rmi.transport.LiveRef.read(LiveRef.java:292)

at sun.rmi.server.UnicastRef2.readExternal(UnicastRef2.java:78)

at java.rmi.server.RemoteObject.readObject(RemoteObject.java:455)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2122)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)

... 15 more

[    522]   INFO - un.jme.toolkit.bootstrap.Batch - Flushing...

[    523]   INFO - un.jme.toolkit.bootstrap.Batch - Calling stop() methods...

[    523]   INFO - un.jme.toolkit.bootstrap.Batch - Calling destroy() methods...

[    523]   INFO - un.jme.toolkit.bootstrap.Batch - Objects stopped

[    523]   INFO - un.jme.toolkit.bootstrap.Batch - Flushing...

[    523]   INFO - un.jme.toolkit.bootstrap.Batch - Calling stop() methods...

[    548]   INFO - oolkit.jsr120.server.WmaServer - WMA Server is stopped

[    581]   INFO - un.jme.toolkit.bootstrap.Batch - Calling destroy() methods...

[    581]   INFO - .util.net.SocketLocatorService - Removing file /home/savvas/./.javame-sdk/8.3/rmi-registry.port

[    581]   INFO - un.jme.toolkit.bootstrap.Batch - Objects stopped

[    582]   INFO - un.jme.toolkit.bootstrap.Batch - Flushing...

[    582]   INFO - un.jme.toolkit.bootstrap.Batch - Calling stop() methods...

[    582]   INFO - un.jme.toolkit.bootstrap.Batch - Calling destroy() methods...

[    582]   INFO - un.jme.toolkit.bootstrap.Batch - Objects stopped

[    582]  FATAL - me.toolkit.bootstrap.Container - java.lang.Exception: java.lang.reflect.InvocationTargetException

java.lang.Exception: java.lang.reflect.InvocationTargetException

at com.sun.jme.toolkit.bootstrap.MainNamespace.runModules(Unknown Source)

at com.sun.jme.toolkit.bootstrap.MainNamespace.run(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.run(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.start(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Container.main(Unknown Source)

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.invoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.ObjectConfiguration.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.startObjectsImpl(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Namespace.startBatch(Unknown Source)

at com.sun.jme.toolkit.bootstrap.Namespace.runModules(Unknown Source)

... 5 more

Caused by: java.io.IOException: Cannot bind to URL [rmi://127.0.0.1:60950/device-manager]: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED]

at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432)

at com.sun.jme.toolkit.remoting.server.rmiimpl.RemotingConnectorImpl.start(Unknown Source)

... 17 more

Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED]

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:161)

at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:228)

at javax.naming.InitialContext.bind(InitialContext.java:425)

at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:644)

at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)

... 18 more

Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED

at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:460)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)

at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)

at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:155)

... 22 more

Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:

java.io.InvalidClassException: filter status: REJECTED

at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:450)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

at sun.rmi.transport.Transport$1.run(Transport.java:200)

at sun.rmi.transport.Transport$1.run(Transport.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:196)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.InvalidClassException: filter status: REJECTED

at java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:1244)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1832)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1713)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1986)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)

at sun.rmi.transport.tcp.TCPEndpoint.read(TCPEndpoint.java:555)

at sun.rmi.transport.LiveRef.read(LiveRef.java:292)

at sun.rmi.server.UnicastRef2.readExternal(UnicastRef2.java:78)

at java.rmi.server.RemoteObject.readObject(RemoteObject.java:455)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)

at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2122)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)

... 15 more

This is causing the Eclipse (as well as the Netbeans) plugins to fail upon start-up which is preventing the IDEs to start altogether.

My environment is the following:

Java SE:

java version "1.8.0_121"

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Java ME: the latest as of today

OS: Ubuntu Linux 14.04 LTS

Any ideas as to what might be happening? Is this some kind of class incompatibility when de-serialising some object?

Thanks

This post has been answered by User_MSMUG on May 13 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2017
Added on Jan 19 2017
16 comments
9,720 views