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 807581, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPortFromFileAttribute(Tomcat40Instance.java:124)	at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPort(Tomcat40Instance.java:92)	at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.synchronizeWait(Tomcat40Installation.java:1059)	at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.ensureAvailable(Tomcat40Instance.java:281)	at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startExecution(DefaultServerInstanceManager.java:143)	at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.serverInstanceStartExecution(DefaultServerInstanceManager.java:85)	at org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startExecution(DefaultExecPerformer.java:67)	at org.netbeans.modules.web.execution.WebDefaultExecPerformer.startExecution(WebDefaultExecPerformer.java:238)	at org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:69)	at org.netbeans.modules.tomcat.tomcat40.Tomcat40DataObject.start(Tomcat40DataObject.java:692)	at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:140)	at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:217)	at org.openide.actions.ExecuteAction.performAction(ExecuteAction.java:102)	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431)	at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)	at org.openide.util.Task.run(Task.java:136)	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)