java.lang.NullPointerException

Atlassian JIRA | Gurleen Anand [Atlassian] | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Following exception thrown when upgrading Confluence to v2.9 on Resin 3.0.x {quote} 2008-09-10 08:14:35,129 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 2.9 (build #1415) 2008-09-10 08:15:02,508 ERROR [main] [com.atlassian.upgrade.AbstractUpgradeManager] upgrade Exception thrown during upgrade: null java.lang.NullPointerException at com.atlassian.upgrade.AbstractUpgradeManager.needUpgrade(AbstractUpgradeManager.java:267) at com.atlassian.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:45) at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:72) at com.atlassian.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:26) at com.caucho.server.webapp.Application.start(Application.java:1647) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670) at com.caucho.server.host.Host.start(Host.java:420) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.host.HostContainer.start(HostContainer.java:504) at com.caucho.server.resin.ServletServer.start(ServletServer.java:971) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56) at com.caucho.server.deploy.DeployController.start(DeployController.java:517) at com.caucho.server.resin.ResinServer.start(ResinServer.java:551) at com.caucho.server.resin.Resin.init(Resin.java) at com.caucho.server.resin.Resin.main(Resin.java:625) at com.caucho.server.http.ResinServer.main(ResinServer.java:61) 2008-09-10 08:15:02,538 FATAL [main] [com.atlassian.upgrade.UpgradeLauncherServletContextListener] contextInitialized Upgrade failed, application will not start: java.lang.NullPointerException com.atlassian.upgrade.UpgradeException: java.lang.NullPointerException at com.atlassian.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:79) at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:72) at com.atlassian.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:26) at com.caucho.server.webapp.Application.start(Application.java:1647) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670) at com.caucho.server.host.Host.start(Host.java:420) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.host.HostContainer.start(HostContainer.java:504) at com.caucho.server.resin.ServletServer.start(ServletServer.java:971) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56) at com.caucho.server.deploy.DeployController.start(DeployController.java:517) at com.caucho.server.resin.ResinServer.start(ResinServer.java:551) at com.caucho.server.resin.Resin.init(Resin.java) at com.caucho.server.resin.Resin.main(Resin.java:625) at com.caucho.server.http.ResinServer.main(ResinServer.java:61) Caused by: java.lang.NullPointerException at com.atlassian.upgrade.AbstractUpgradeManager.needUpgrade(AbstractUpgradeManager.java:267) at com.atlassian.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:45) ... 22 more 2008-09-10 08:15:03,279 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve {quote}

    Atlassian JIRA | 9 years ago | Gurleen Anand [Atlassian]
    java.lang.NullPointerException
  2. 0

    Following exception thrown when upgrading Confluence to v2.9 on Resin 3.0.x {quote} 2008-09-10 08:14:35,129 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 2.9 (build #1415) 2008-09-10 08:15:02,508 ERROR [main] [com.atlassian.upgrade.AbstractUpgradeManager] upgrade Exception thrown during upgrade: null java.lang.NullPointerException at com.atlassian.upgrade.AbstractUpgradeManager.needUpgrade(AbstractUpgradeManager.java:267) at com.atlassian.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:45) at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:72) at com.atlassian.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:26) at com.caucho.server.webapp.Application.start(Application.java:1647) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670) at com.caucho.server.host.Host.start(Host.java:420) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.host.HostContainer.start(HostContainer.java:504) at com.caucho.server.resin.ServletServer.start(ServletServer.java:971) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56) at com.caucho.server.deploy.DeployController.start(DeployController.java:517) at com.caucho.server.resin.ResinServer.start(ResinServer.java:551) at com.caucho.server.resin.Resin.init(Resin.java) at com.caucho.server.resin.Resin.main(Resin.java:625) at com.caucho.server.http.ResinServer.main(ResinServer.java:61) 2008-09-10 08:15:02,538 FATAL [main] [com.atlassian.upgrade.UpgradeLauncherServletContextListener] contextInitialized Upgrade failed, application will not start: java.lang.NullPointerException com.atlassian.upgrade.UpgradeException: java.lang.NullPointerException at com.atlassian.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:79) at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:72) at com.atlassian.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:26) at com.caucho.server.webapp.Application.start(Application.java:1647) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670) at com.caucho.server.host.Host.start(Host.java:420) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) at com.caucho.server.host.HostContainer.start(HostContainer.java:504) at com.caucho.server.resin.ServletServer.start(ServletServer.java:971) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56) at com.caucho.server.deploy.DeployController.start(DeployController.java:517) at com.caucho.server.resin.ResinServer.start(ResinServer.java:551) at com.caucho.server.resin.Resin.init(Resin.java) at com.caucho.server.resin.Resin.main(Resin.java:625) at com.caucho.server.http.ResinServer.main(ResinServer.java:61) Caused by: java.lang.NullPointerException at com.atlassian.upgrade.AbstractUpgradeManager.needUpgrade(AbstractUpgradeManager.java:267) at com.atlassian.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:45) ... 22 more 2008-09-10 08:15:03,279 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve {quote}

    Atlassian JIRA | 9 years ago | Gurleen Anand [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.upgrade.AbstractUpgradeManager.needUpgrade()
    2. com.atlassian.upgrade
      AbstractUpgradeManager.upgrade
      1. com.atlassian.upgrade.AbstractUpgradeManager.needUpgrade(AbstractUpgradeManager.java:267)
      2. com.atlassian.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:45)
      2 frames
    3. com.atlassian.confluence
      DefaultUpgradeManager.upgrade
      1. com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:72)
      1 frame
    4. com.atlassian.upgrade
      UpgradeLauncherServletContextListener.contextInitialized
      1. com.atlassian.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:26)
      1 frame
    5. com.caucho.server
      ResinServer.main
      1. com.caucho.server.webapp.Application.start(Application.java:1647)
      2. com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
      3. com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
      4. com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
      5. com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153)
      6. com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670)
      7. com.caucho.server.host.Host.start(Host.java:420)
      8. com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
      9. com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
      10. com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
      11. com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153)
      12. com.caucho.server.host.HostContainer.start(HostContainer.java:504)
      13. com.caucho.server.resin.ServletServer.start(ServletServer.java:971)
      14. com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
      15. com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56)
      16. com.caucho.server.deploy.DeployController.start(DeployController.java:517)
      17. com.caucho.server.resin.ResinServer.start(ResinServer.java:551)
      18. com.caucho.server.resin.Resin.init(Resin.java)
      19. com.caucho.server.resin.Resin.main(Resin.java:625)
      20. com.caucho.server.http.ResinServer.main(ResinServer.java:61)
      20 frames