java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Run Time Error
    via by Frances Hollis,
  • Cannot duplicate, rename, exception
    via by strubin,
  • 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}
    via by Jeff Turner,
  • 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}
    via by Jeff Turner,
  • CRASH 060514
    via docfetcher by *anonymous
    ,
  • null pointer exception
    via docfetcher by *anonymous
    ,
  • java.lang.NullPointerException
    via docfetcher by *anonymous
    ,
  • DocFetcher crash
    via docfetcher by *anonymous
    ,
  • Error
    via docfetcher by *anonymous
    ,
    • 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 Roster.find(Roster.java:31) at RosterTest.doFind(RosterTest.java:69) at RosterTest.main(RosterTest.java:24)

    Users with the same issue

    aldrinleal
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,