java.lang.NullPointerException

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123812

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • 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.testPortAvailability(Tomcat40Installation.java:752)[catch] at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.createNewTomcatProcess(Tomcat40Installation.java:919) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.startServerInExecMode(Tomcat40Installation.java:905) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.synchronizeStart(Tomcat40Installation.java:1053) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.incrementalDeploy(Tomcat40Installation.java:689) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy(Tomcat40Instance.java:273) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.doDeploy(DefaultServerInstanceManager.java:120) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startExecution(DefaultServerInstanceManager.java:140) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.