java.lang.NullPointerException

Oracle Community | 807581 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPortFromFileAttribute()
  2. org.netbeans.modules
    Tomcat40DataObject.start
    1. org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPortFromFileAttribute(Tomcat40Instance.java:124)
    2. org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPort(Tomcat40Instance.java:92)
    3. org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.testPortAvailability(Tomcat40Installation.java:752)[catch]
    4. org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.createNewTomcatProcess(Tomcat40Installation.java:919)
    5. org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.startServerInExecMode(Tomcat40Installation.java:905)
    6. org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.synchronizeStart(Tomcat40Installation.java:1053)
    7. org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.incrementalDeploy(Tomcat40Installation.java:689)
    8. org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy(Tomcat40Instance.java:273)
    9. org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.doDeploy(DefaultServerInstanceManager.java:120)
    10. org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startExecution(DefaultServerInstanceManager.java:140)
    11. org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.serverInstanceStartExecution(DefaultServerInstanceManager.java:85)
    12. org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startExecution(DefaultExecPerformer.java:67)
    13. org.netbeans.modules.web.execution.WebDefaultExecPerformer.startExecution(WebDefaultExecPerformer.java:238)
    14. org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:69)
    15. org.netbeans.modules.tomcat.tomcat40.Tomcat40DataObject.start(Tomcat40DataObject.java:692)
    15 frames
  3. org.openide.actions
    ExecuteAction.performAction
    1. org.openide.actions.ExecuteAction.execute(ExecuteAction.java:140)
    2. org.openide.actions.ExecuteAction.execute(ExecuteAction.java:217)
    3. org.openide.actions.ExecuteAction.performAction(ExecuteAction.java:102)
    3 frames
  4. org.openide.util
    NodeAction$DelegateAction.actionPerformed
    1. org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431)
    1 frame
  5. org.netbeans.core
    ModuleActions$1.run
    1. org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
    1 frame
  6. org.openide.util
    RequestProcessor$Processor.run
    1. org.openide.util.Task.run(Task.java:136)
    2. org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
    3. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
    3 frames