Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ibm.com by Unknown author, 1 year ago
Failed to retrieve RMIServer stub: javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.naming.factory.url.pkgs
via Oracle Community by 843793, 2 years ago
Failed to retrieve RMIServer stub: javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory] [exec]
via Stack Overflow by Steve
, 2 years ago
Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi
via Stack Overflow by Voulzy
, 2 years ago
Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: rmi://localhost:1099/jmx-rmi -- service jboss.naming.context.j ava.rmi:.localhost:1099.jmx-rmi
via coderanch.com by Unknown author, 1 year ago
Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
via coderanch.com by Unknown author, 2 years ago
Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.naming.factory.url.pkgs=org.apache.naming:org.jboss.naming:org.jnp.interfaces, jmx.remote.protocol.provider.class.loader=org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@7ead7ead, jmx.remote.credentials=[Ljava.lang.String;@76c176c1} [Root exception is java.lang.NullPointerException] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:350) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:260) at com.approuter.logging.JMXLogPublisher.getMBeanServerConnection(JMXLogPublisher.java:66) at com.approuter.logging.JMXLogPublisher.invokeRMImethod(JMXLogPublisher.java:91) at com.approuter.logging.JMXLogPublisher.publish(JMXLogPublisher.java:109) at java.util.logging.Logger.log(Logger.java:1127) at java.util.logging.Logger.log(Logger.java:1023) at com.approuter.module.database.util.DataSourceFactory.createNewDataSourceInstance(DataSourceFactory.java:32)Caused by: javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.naming.factory.url.pkgs=org.apache.naming:org.jboss.naming:org.jnp.interfaces, jmx.remote.protocol.provider.class.loader=org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@7ead7ead, jmx.remote.credentials=[Ljava.lang.String;@76c176c1} [Root exception is java.lang.NullPointerException] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:243) at javax.naming.InitialContext.initializeDefaultInitCtx(InitialContext.java:327) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:357) at javax.naming.InitialContext.internalInit(InitialContext.java:295) at javax.naming.InitialContext.<init>(InitialContext.java:212) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1896) at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1868) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:269) ... 8 moreCaused by: java.lang.NullPointerException at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:235) ... 16 more