java.lang.NullPointerException

Atlassian JIRA | Jeff Turner | 1 decade ago
  1. 0

    The latest MySQL Connector/J JDBC driver appears broken. It dies when JIRA tries to read some column metadata (tested against MySQL 4.1.11 and 4.1.14): {noformat} 2005-10-14 14:13:14,933 ERROR [com.atlassian.jira.ComponentManager] An exception occurred while ComponentManager was initialising. JIRA not started properly. java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.getEntry(TreeMap.java:347) at java.util.TreeMap.containsKey(TreeMap.java:204) at java.util.TreeSet.contains(TreeSet.java:196) at org.ofbiz.core.entity.jdbc.DatabaseUtil.getColumnInfo(DatabaseUtil.java:897) at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:86) at org.ofbiz.core.entity.GenericDAO.checkDb(GenericDAO.java:1295) at org.ofbiz.core.entity.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:245) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:147) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:89) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:33) at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:377) at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:233) at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:221) at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:207) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:25) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) 2005-10-14 14:13:14,969 ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.NullPointerException at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:255) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:242) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:25) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) 2005-10-14 14:13:15,090 ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.UpgradeLauncher java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:177) at com.atlassian.jira.util.JiraLicenseRegistry.getAppProperties(JiraLicenseRegistry.java:21) at com.atlassian.jira.util.JiraLicenseRegistry.getLicenseHash(JiraLicenseRegistry.java:41) at com.atlassian.jira.web.action.util.JiraLicenseUtils.isLicenseSetup(JiraLicenseUtils.java:167) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.doCheck(BuildAndLicenseEventCheck.java:48) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:42) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) {noformat}

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  2. 0

    The latest MySQL Connector/J JDBC driver appears broken. It dies when JIRA tries to read some column metadata (tested against MySQL 4.1.11 and 4.1.14): {noformat} 2005-10-14 14:13:14,933 ERROR [com.atlassian.jira.ComponentManager] An exception occurred while ComponentManager was initialising. JIRA not started properly. java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.getEntry(TreeMap.java:347) at java.util.TreeMap.containsKey(TreeMap.java:204) at java.util.TreeSet.contains(TreeSet.java:196) at org.ofbiz.core.entity.jdbc.DatabaseUtil.getColumnInfo(DatabaseUtil.java:897) at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:86) at org.ofbiz.core.entity.GenericDAO.checkDb(GenericDAO.java:1295) at org.ofbiz.core.entity.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:245) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:147) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:89) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:33) at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:377) at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:233) at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:221) at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:207) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:25) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) 2005-10-14 14:13:14,969 ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.NullPointerException at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:255) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:242) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:25) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) 2005-10-14 14:13:15,090 ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.UpgradeLauncher java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:177) at com.atlassian.jira.util.JiraLicenseRegistry.getAppProperties(JiraLicenseRegistry.java:21) at com.atlassian.jira.util.JiraLicenseRegistry.getLicenseHash(JiraLicenseRegistry.java:41) at com.atlassian.jira.web.action.util.JiraLicenseUtils.isLicenseSetup(JiraLicenseUtils.java:167) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.doCheck(BuildAndLicenseEventCheck.java:48) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:42) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) {noformat}

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  3. 0

    I accidently put <datasource name="defaultDS" field-type-name="postgre72" in my server.xml. JIRA detected it as incorrect but then spewed way to many error messages in startup checks. There were NullPointer exceptions flying around like circus permformers. We might want to improve this a bit. {noformat} Database configuration OK ___ Database Configuration _______ Loading entityengine.xml from : file:/home/bbaker/src/atlassian/jira-trunk/src/webapp/WEB-INF/classes/entityengine.xml Entity model data source name : defaultDS Entity model field type name : postgre72 Entity model schema name : public Database Version : PostgreSQL - 8.3.7 Database Driver : PostgreSQL Native Driver - PostgreSQL 8.3 JDBC3 with SSL (build 603) Database URL : jdbc:postgresql://localhost:5432/jira Database JNDI address : java:comp/env/jdbc/JiraDS 2009-06-26 11:13:28,570 main ERROR [com.atlassian.jira.ComponentManager] An exception occurred while ComponentManager was initialising. JIRA not started properly. java.lang.IllegalStateException: Could not find a field-type definition with name "postgre72" at org.ofbiz.core.entity.model.ModelFieldTypeReader.<init>(ModelFieldTypeReader.java:83) at org.ofbiz.core.entity.model.ModelFieldTypeReader.getModelFieldTypeReader(ModelFieldTypeReader.java:70) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:148) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:94) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:33) at com.atlassian.jira.ContainerRegistrar.registerComponents(ContainerRegistrar.java:895) at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:311) at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:167) at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:154) at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:135) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:60) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:41) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,583 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A RuntimeException occurred during ConsistencyLauncher servlet context initialisation - null. java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getComponentInstanceOfType(ComponentManager.java:405) at com.atlassian.jira.ComponentManager$PluginSystem.getPluginSystemLifecycle(ComponentManager.java:1260) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1270) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:200) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:186) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:60) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:41) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,585 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getComponentInstanceOfType(ComponentManager.java:405) at com.atlassian.jira.ComponentManager$PluginSystem.getPluginSystemLifecycle(ComponentManager.java:1260) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1270) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:200) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:186) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:60) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:41) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,610 main FATAL [atlassian.jira.upgrade.UpgradeLauncher] A RuntimeException occurred during UpgradeLauncher servlet context initialisation - null. java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getApplicationProperties(ComponentManager.java:647) at com.atlassian.jira.util.JiraLicenseRegistry.getAppProperties(JiraLicenseRegistry.java:87) at com.atlassian.jira.util.JiraLicenseRegistry.getLicenseHash(JiraLicenseRegistry.java:45) at com.atlassian.jira.web.action.util.JiraLicenseUtils.isLicenseSetup(JiraLicenseUtils.java:220) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.doCheck(BuildAndLicenseEventCheck.java:48) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:42) at com.atlassian.jira.upgrade.UpgradeLauncher.addLicenseCheckEvents(UpgradeLauncher.java:130) at com.atlassian.jira.upgrade.UpgradeLauncher.checkIfUpgradeNeeded(UpgradeLauncher.java:67) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:44) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,611 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.UpgradeLauncher java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getApplicationProperties(ComponentManager.java:647) at com.atlassian.jira.util.JiraLicenseRegistry.getAppProperties(JiraLicenseRegistry.java:87) at com.atlassian.jira.util.JiraLicenseRegistry.getLicenseHash(JiraLicenseRegistry.java:45) at com.atlassian.jira.web.action.util.JiraLicenseUtils.isLicenseSetup(JiraLicenseUtils.java:220) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.doCheck(BuildAndLicenseEventCheck.java:48) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:42) at com.atlassian.jira.upgrade.UpgradeLauncher.addLicenseCheckEvents(UpgradeLauncher.java:130) at com.atlassian.jira.upgrade.UpgradeLauncher.checkIfUpgradeNeeded(UpgradeLauncher.java:67) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:44) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,615 main FATAL [atlassian.jira.scheduler.JiraSchedulerLauncher] A RuntimeException occurred during JiraSchedulerLauncher servlet context initialisation - null. java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:215) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.canCreateScheduler(JiraSchedulerLauncher.java:63) at com.atlassian.scheduler.SchedulerLauncher.contextInitialized(SchedulerLauncher.java:26) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.proceedIfAllClear(JiraSchedulerLauncher.java:48) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.contextInitialized(JiraSchedulerLauncher.java:30) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,617 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.scheduler.JiraSchedulerLauncher java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:215) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.canCreateScheduler(JiraSchedulerLauncher.java:63) at com.atlassian.scheduler.SchedulerLauncher.contextInitialized(SchedulerLauncher.java:26) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.proceedIfAllClear(JiraSchedulerLauncher.java:48) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.contextInitialized(JiraSchedulerLauncher.java:30) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,618 main ERROR [apache.catalina.core.StandardContext] Error listenerStart 2009-06-26 11:13:28,618 main ERROR [apache.catalina.core.StandardContext] Context [/jira] startup failed due to previous errors 2009-06-26 11:13:28,621 main ERROR [com.atlassian.scheduler.SchedulerLauncher] java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getScheduler(ManagerFactory.java:316) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.getScheduler(JiraSchedulerLauncher.java:58) at com.atlassian.scheduler.SchedulerLauncher.contextDestroyed(SchedulerLauncher.java:48) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3805) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4364) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4246) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,622 main INFO [atlassian.jira.startup.JiraStartupChecklistContextListener] Unlocking JIRA Home 2009-06-26 11:13:28,624 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context destroyed event to listener instance of class com.atlassian.jira.startup.JiraStartupChecklistContextListener java.lang.NullPointerException at com.atlassian.jira.startup.JiraStartupChecklistContextListener.unlockJiraHome(JiraStartupChecklistContextListener.java:70) at com.atlassian.jira.startup.JiraStartupChecklistContextListener.contextDestroyed(JiraStartupChecklistContextListener.java:61) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3805) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4364) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4246) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) {noformat}

    Atlassian JIRA | 7 years ago | Brad Baker [Atlassian]
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I accidently put <datasource name="defaultDS" field-type-name="postgre72" in my server.xml. JIRA detected it as incorrect but then spewed way to many error messages in startup checks. There were NullPointer exceptions flying around like circus permformers. We might want to improve this a bit. {noformat} Database configuration OK ___ Database Configuration _______ Loading entityengine.xml from : file:/home/bbaker/src/atlassian/jira-trunk/src/webapp/WEB-INF/classes/entityengine.xml Entity model data source name : defaultDS Entity model field type name : postgre72 Entity model schema name : public Database Version : PostgreSQL - 8.3.7 Database Driver : PostgreSQL Native Driver - PostgreSQL 8.3 JDBC3 with SSL (build 603) Database URL : jdbc:postgresql://localhost:5432/jira Database JNDI address : java:comp/env/jdbc/JiraDS 2009-06-26 11:13:28,570 main ERROR [com.atlassian.jira.ComponentManager] An exception occurred while ComponentManager was initialising. JIRA not started properly. java.lang.IllegalStateException: Could not find a field-type definition with name "postgre72" at org.ofbiz.core.entity.model.ModelFieldTypeReader.<init>(ModelFieldTypeReader.java:83) at org.ofbiz.core.entity.model.ModelFieldTypeReader.getModelFieldTypeReader(ModelFieldTypeReader.java:70) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:148) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:94) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:33) at com.atlassian.jira.ContainerRegistrar.registerComponents(ContainerRegistrar.java:895) at com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:311) at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:167) at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:154) at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:135) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:60) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:41) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,583 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A RuntimeException occurred during ConsistencyLauncher servlet context initialisation - null. java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getComponentInstanceOfType(ComponentManager.java:405) at com.atlassian.jira.ComponentManager$PluginSystem.getPluginSystemLifecycle(ComponentManager.java:1260) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1270) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:200) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:186) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:60) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:41) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,585 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getComponentInstanceOfType(ComponentManager.java:405) at com.atlassian.jira.ComponentManager$PluginSystem.getPluginSystemLifecycle(ComponentManager.java:1260) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1270) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:200) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:186) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:60) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:41) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,610 main FATAL [atlassian.jira.upgrade.UpgradeLauncher] A RuntimeException occurred during UpgradeLauncher servlet context initialisation - null. java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getApplicationProperties(ComponentManager.java:647) at com.atlassian.jira.util.JiraLicenseRegistry.getAppProperties(JiraLicenseRegistry.java:87) at com.atlassian.jira.util.JiraLicenseRegistry.getLicenseHash(JiraLicenseRegistry.java:45) at com.atlassian.jira.web.action.util.JiraLicenseUtils.isLicenseSetup(JiraLicenseUtils.java:220) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.doCheck(BuildAndLicenseEventCheck.java:48) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:42) at com.atlassian.jira.upgrade.UpgradeLauncher.addLicenseCheckEvents(UpgradeLauncher.java:130) at com.atlassian.jira.upgrade.UpgradeLauncher.checkIfUpgradeNeeded(UpgradeLauncher.java:67) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:44) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,611 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.UpgradeLauncher java.lang.NullPointerException at com.atlassian.jira.ComponentManager.getApplicationProperties(ComponentManager.java:647) at com.atlassian.jira.util.JiraLicenseRegistry.getAppProperties(JiraLicenseRegistry.java:87) at com.atlassian.jira.util.JiraLicenseRegistry.getLicenseHash(JiraLicenseRegistry.java:45) at com.atlassian.jira.web.action.util.JiraLicenseUtils.isLicenseSetup(JiraLicenseUtils.java:220) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.doCheck(BuildAndLicenseEventCheck.java:48) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:42) at com.atlassian.jira.upgrade.UpgradeLauncher.addLicenseCheckEvents(UpgradeLauncher.java:130) at com.atlassian.jira.upgrade.UpgradeLauncher.checkIfUpgradeNeeded(UpgradeLauncher.java:67) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:44) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,615 main FATAL [atlassian.jira.scheduler.JiraSchedulerLauncher] A RuntimeException occurred during JiraSchedulerLauncher servlet context initialisation - null. java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:215) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.canCreateScheduler(JiraSchedulerLauncher.java:63) at com.atlassian.scheduler.SchedulerLauncher.contextInitialized(SchedulerLauncher.java:26) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.proceedIfAllClear(JiraSchedulerLauncher.java:48) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.contextInitialized(JiraSchedulerLauncher.java:30) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,617 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context initialized event to listener instance of class com.atlassian.jira.scheduler.JiraSchedulerLauncher java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:215) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.canCreateScheduler(JiraSchedulerLauncher.java:63) at com.atlassian.scheduler.SchedulerLauncher.contextInitialized(SchedulerLauncher.java:26) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.proceedIfAllClear(JiraSchedulerLauncher.java:48) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.contextInitialized(JiraSchedulerLauncher.java:30) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,618 main ERROR [apache.catalina.core.StandardContext] Error listenerStart 2009-06-26 11:13:28,618 main ERROR [apache.catalina.core.StandardContext] Context [/jira] startup failed due to previous errors 2009-06-26 11:13:28,621 main ERROR [com.atlassian.scheduler.SchedulerLauncher] java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.ManagerFactory.getScheduler(ManagerFactory.java:316) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.getScheduler(JiraSchedulerLauncher.java:58) at com.atlassian.scheduler.SchedulerLauncher.contextDestroyed(SchedulerLauncher.java:48) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3805) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4364) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4246) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 2009-06-26 11:13:28,622 main INFO [atlassian.jira.startup.JiraStartupChecklistContextListener] Unlocking JIRA Home 2009-06-26 11:13:28,624 main ERROR [ContainerBase.[Standalone].[localhost].[/jira]] Exception sending context destroyed event to listener instance of class com.atlassian.jira.startup.JiraStartupChecklistContextListener java.lang.NullPointerException at com.atlassian.jira.startup.JiraStartupChecklistContextListener.unlockJiraHome(JiraStartupChecklistContextListener.java:70) at com.atlassian.jira.startup.JiraStartupChecklistContextListener.contextDestroyed(JiraStartupChecklistContextListener.java:61) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3805) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4364) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4246) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) {noformat}

    Atlassian JIRA | 7 years ago | Brad Baker [Atlassian]
    java.lang.NullPointerException
  6. 0

    Some people have reported errors when using Weblogic's bundled JDK 1.4.2_08. After importing data, JIRA breaks with a NullPointerException, and in the logs one finds: {noformat} 2006-01-18 13:00:55,697 WARN [atlassian.license.decoder.LicenseDecoder] Signature did not verify properly. 2006-01-18 13:00:57,509 INFO [atlassian.jira.upgrade.ConsistencyCheckImpl] Starting JIRA Professional Edition, Version: 3.1.1-#81 ... 2006-01-18 13:01:23,322 INFO [atlassian.jira.upgrade.UpgradeManagerImpl] Doing Upgrade... 2006-01-18 13:01:23,337 ERROR [atlassian.jira.upgrade.UpgradeManagerImpl] Exception thrown during upgrade: null java.lang.NullPointerException at com.atlassian.jira.upgrade.UpgradeManagerImpl.getAllRelevantUpgradeBuildNumbers(UpgradeManagerImpl.java:136) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:385) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:340) at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:300) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:65) at weblogic.servlet.internal.WebAppServletContext$FireContextListenerAction.run(WebAppServletContext.java:7044) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.notifyCreated(WebAppServletContext.java:1753) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3352) at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864) at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122) at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099) at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229) ... {noformat} If the data is already imported, JIRA may appear to become unlicensed, and updating the license will not work. In the logs, the same error occurs: {noformat}2005-11-18 18:25:05,704 WARN [atlassian.license.decoder.LicenseDecoder] Signature did not verify properly.{noformat}

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.ManagerFactory.getApplicationProperties()
    2. com.atlassian.jira
      UpgradeLauncher.contextInitialized
      1. com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:177)
      2. com.atlassian.jira.util.JiraLicenseRegistry.getAppProperties(JiraLicenseRegistry.java:21)
      3. com.atlassian.jira.util.JiraLicenseRegistry.getLicenseHash(JiraLicenseRegistry.java:41)
      4. com.atlassian.jira.web.action.util.JiraLicenseUtils.isLicenseSetup(JiraLicenseUtils.java:167)
      5. com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.doCheck(BuildAndLicenseEventCheck.java:48)
      6. com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:42)
      7. com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:45)
      7 frames
    3. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
      3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
      4. org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
      6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
      7. org.apache.catalina.core.StandardService.start(StandardService.java:450)
      8. org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
      9. org.apache.catalina.startup.Catalina.start(Catalina.java:537)
      9 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
      2 frames