javax.naming.NamingException: Error during resolve. Root exception is java.lang.NullPointerException

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 Oracle Community by 807551, 1 year ago
Error during resolve. Root exception is java.lang.NullPointerException
via Google Groups by mste...@speakeasy.net, 2 years ago
via Coderanch by Malli Raman, 1 year ago
Error during resolve. Root exception is java.lang.NullPointerException
via Oracle Community by 843793, 1 year ago
Error during resolve. Root exception is java.lang.NullPointerException
via Coderanch by Prince Manchanda, 1 year ago
Error during resolve. Root exception is java.lang.NullPointerException
via Coderanch by Alex Garrett, 1 year ago
Error during resolve. Root exception is java.lang.NullPointerException
javax.naming.NamingException: Error during resolve. Root exception is java.lang.NullPointerException
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:739)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:585)
at com.ibm.diapason.utils.DiapasonEJBHelper.lookupTargetHome(DiapasonEJBHelper.java:142)
at com.ibm.diapason.utils.DiapasonEJBHelper.getTargetHome(DiapasonEJBHelper.java:121)
at com.ibm.diapason.application.Login.btnValid_ActionPerformed1(Login.java:88)
at com.ibm.diapason.application.Login.connEtoM1(Login.java:204)
at com.ibm.diapason.application.Login.access$1(Login.java:200)
at com.ibm.diapason.application.Login$IvjEventHandler.actionPerformed(Login.java:34)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.