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 restarted tomcat4 on my server which was running jira successfully just before i restarted tomcat. after that i get an error 404 when i tried to access http://ground1.org/jira. checked the tomcat log and found the following 2006-02-09 03:39:10 StandardContext[/jira]: Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.ExceptionInInitializerError at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:25) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3212) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3554) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:653) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216) at org.apache.commons.digester.Rule.end(Rule.java:230) at org.apache.commons.digester.Digester.endElement(Digester.java:1163) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1699) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:338) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:395) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:352) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149) at org.apache.catalina.core.StandardHost.start(StandardHost.java:707) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143) at org.apache.catalina.startup.Catalina.start(Catalina.java:463) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) Caused by: java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1085) at java.util.TreeMap.getEntry(TreeMap.java:345) at java.util.TreeMap.containsKey(TreeMap.java:203) at java.util.TreeSet.contains(TreeSet.java:195) 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:336) at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:197) at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:190) at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:178) ... 45 more 2006-02-09 03:39:10 StandardContext[/jira]: Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.UpgradeLauncher java.lang.NoClassDefFoundError at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:173) 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:45) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:39) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3212) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3554) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:653) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216) at org.apache.commons.digester.Rule.end(Rule.java:230) at org.apache.commons.digester.Digester.endElement(Digester.java:1163) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1699) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:338) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:395) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:352) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149) at org.apache.catalina.core.StandardHost.start(StandardHost.java:707) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143) at org.apache.catalina.startup.Catalina.start(Catalina.java:463) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) 2006-02-09 03:39:10 StandardContext[/jira]: Context startup failed due to previous errors 2006-02-09 03:39:10 StandardContext[/jira]: Exception sending context destroyed event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.NoClassDefFoundError at com.atlassian.jira.ManagerFactory.getServiceManager(ManagerFactory.java:293) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.destroy(ConsistencyCheckImpl.java:85) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextDestroyed(ConsistencyLauncher.java:33) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3252) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3619) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3573) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:653) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216) at org.apache.commons.digester.Rule.end(Rule.java:230) at org.apache.commons.digester.Digester.endElement(Digester.java:1163) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1699) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:338) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:395) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:352) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149) at org.apache.catalina.core.StandardHost.start(StandardHost.java:707) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143) at org.apache.catalina.startup.Catalina.start(Catalina.java:463) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

    Atlassian JIRA | 1 decade ago | Naveen Kumar
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I restarted tomcat4 on my server which was running jira successfully just before i restarted tomcat. after that i get an error 404 when i tried to access http://ground1.org/jira. checked the tomcat log and found the following 2006-02-09 03:39:10 StandardContext[/jira]: Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.ExceptionInInitializerError at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:25) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3212) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3554) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:653) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216) at org.apache.commons.digester.Rule.end(Rule.java:230) at org.apache.commons.digester.Digester.endElement(Digester.java:1163) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1699) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:338) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:395) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:352) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149) at org.apache.catalina.core.StandardHost.start(StandardHost.java:707) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143) at org.apache.catalina.startup.Catalina.start(Catalina.java:463) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) Caused by: java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1085) at java.util.TreeMap.getEntry(TreeMap.java:345) at java.util.TreeMap.containsKey(TreeMap.java:203) at java.util.TreeSet.contains(TreeSet.java:195) 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:336) at com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:197) at com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:190) at com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:178) ... 45 more 2006-02-09 03:39:10 StandardContext[/jira]: Exception sending context initialized event to listener instance of class com.atlassian.jira.upgrade.UpgradeLauncher java.lang.NoClassDefFoundError at com.atlassian.jira.ManagerFactory.getApplicationProperties(ManagerFactory.java:173) 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:45) at com.atlassian.jira.appconsistency.BuildAndLicenseEventCheck.check(BuildAndLicenseEventCheck.java:39) at com.atlassian.jira.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3212) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3554) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:653) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216) at org.apache.commons.digester.Rule.end(Rule.java:230) at org.apache.commons.digester.Digester.endElement(Digester.java:1163) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1699) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:338) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:395) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:352) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149) at org.apache.catalina.core.StandardHost.start(StandardHost.java:707) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143) at org.apache.catalina.startup.Catalina.start(Catalina.java:463) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) 2006-02-09 03:39:10 StandardContext[/jira]: Context startup failed due to previous errors 2006-02-09 03:39:10 StandardContext[/jira]: Exception sending context destroyed event to listener instance of class com.atlassian.jira.upgrade.ConsistencyLauncher java.lang.NoClassDefFoundError at com.atlassian.jira.ManagerFactory.getServiceManager(ManagerFactory.java:293) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.destroy(ConsistencyCheckImpl.java:85) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextDestroyed(ConsistencyLauncher.java:33) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3252) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3619) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3573) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:653) 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:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216) at org.apache.commons.digester.Rule.end(Rule.java:230) at org.apache.commons.digester.Digester.endElement(Digester.java:1163) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1699) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:338) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:395) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:352) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:671) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149) at org.apache.catalina.core.StandardHost.start(StandardHost.java:707) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143) at org.apache.catalina.startup.Catalina.start(Catalina.java:463) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

    Atlassian JIRA | 1 decade ago | Naveen Kumar
    java.lang.ExceptionInInitializerError
  6. 0

    Cannot duplicate, rename, exception

    java.net Bugzilla | 6 years ago | strubin
    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 java.util.TreeMap.compare()
    2. Java RT
      TreeSet.contains
      1. java.util.TreeMap.compare(TreeMap.java:1093)
      2. java.util.TreeMap.getEntry(TreeMap.java:347)
      3. java.util.TreeMap.containsKey(TreeMap.java:204)
      4. java.util.TreeSet.contains(TreeSet.java:196)
      4 frames
    3. org.ofbiz.core
      GenericDelegator.getGenericDelegator
      1. org.ofbiz.core.entity.jdbc.DatabaseUtil.getColumnInfo(DatabaseUtil.java:897)
      2. org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:86)
      3. org.ofbiz.core.entity.GenericDAO.checkDb(GenericDAO.java:1295)
      4. org.ofbiz.core.entity.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:245)
      5. org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:147)
      6. org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:89)
      6 frames
    4. com.atlassian.core
      CoreFactory.getGenericDelegator
      1. com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:33)
      1 frame
    5. com.atlassian.jira
      ConsistencyLauncher.contextInitialized
      1. com.atlassian.jira.ComponentManager.registerComponents(ComponentManager.java:377)
      2. com.atlassian.jira.ComponentManager.initialise(ComponentManager.java:233)
      3. com.atlassian.jira.ComponentManager.<init>(ComponentManager.java:221)
      4. com.atlassian.jira.ComponentManager.<clinit>(ComponentManager.java:207)
      5. com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:25)
      5 frames
    6. 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
    7. 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
    8. 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