java.lang.NullPointerException

Atlassian JIRA | Piotr Swiecicki [Atlassian] | 8 months ago
  1. 0

    https://ecosystem.atlassian.net/browse/STP-413 {noformat} 2016-03-18 22:47:23,290 ERROR [support-request ] com.atlassian.support.tools.salext.bundle.ApplicationPropertiesInfoBundle ApplicationPropertiesInfoBundle-getFiles - Can't generate properties file. java.lang.NullPointerException at com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:24) [fisheye.jar:?] at com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:19) [fisheye.jar:?] at com.atlassian.support.tools.salext.FisheyeApplicationInfo.loadProperties(FisheyeApplicationInfo.java:353) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.saveProperties(AbstractSupportApplicationInfo.java:310) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.salext.bundle.ApplicationPropertiesInfoBundle.getFiles(ApplicationPropertiesInfoBundle.java:65) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.zip(CreateSupportZipTask.java:202) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.createSupportZip(CreateSupportZipTask.java:73) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:55) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:52) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:57) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:26) [stp-3.7.21_1458335460000.jar:3.7.21] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45] {noformat} FisheyeApplicationInfo.java:353 is retrieving "application.name" crowd property value.

    Atlassian JIRA | 8 months ago | Piotr Swiecicki [Atlassian]
    java.lang.NullPointerException
  2. 0

    https://ecosystem.atlassian.net/browse/STP-413 {noformat} 2016-03-18 22:47:23,290 ERROR [support-request ] com.atlassian.support.tools.salext.bundle.ApplicationPropertiesInfoBundle ApplicationPropertiesInfoBundle-getFiles - Can't generate properties file. java.lang.NullPointerException at com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:24) [fisheye.jar:?] at com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:19) [fisheye.jar:?] at com.atlassian.support.tools.salext.FisheyeApplicationInfo.loadProperties(FisheyeApplicationInfo.java:353) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.saveProperties(AbstractSupportApplicationInfo.java:310) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.salext.bundle.ApplicationPropertiesInfoBundle.getFiles(ApplicationPropertiesInfoBundle.java:65) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.zip(CreateSupportZipTask.java:202) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.createSupportZip(CreateSupportZipTask.java:73) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:55) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask$1.call(CreateSupportZipTask.java:52) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:57) [stp-3.7.21_1458335460000.jar:3.7.21] at com.atlassian.support.tools.request.CreateSupportZipTask.call(CreateSupportZipTask.java:26) [stp-3.7.21_1458335460000.jar:3.7.21] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45] {noformat} FisheyeApplicationInfo.java:353 is retrieving "application.name" crowd property value.

    Atlassian JIRA | 8 months ago | Piotr Swiecicki [Atlassian]
    java.lang.NullPointerException
  3. 0

    Upgrading from 3.3. to 4.1 and i'm getting this. In a trial run of the upgrade it worked, but now that i've run it for the production upgrade, i'm getting this exception. I walked thru upgrade_92.sql to see if a specific SQL statement caused the error, but it looks like all of 92 actually ran without error. {noformat} 2016-07-07 12:28:22,591 INFO - Database upgrade from version 91 is successful 2016-07-07 12:28:22,603 INFO - Upgrading DB from version 92 using /gitlab/crucible/4.1.0/sql/MYSQL/upgrade/upgrade_92.sql 2016-07-07 12:28:24,044 INFO - Starting EmbeddedCrowdUpgradeTask.afterUpgradeScript 2016-07-07 12:28:24,048 INFO - Migrating Crowd/JIRA authentication configuration 2016-07-07 12:28:24,088 ERROR - The Web context could not be started org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbControlFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean fail ed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested e xception is com.cenqua.crucible.hibernate.CruDBException: Problem upgrading with script /gitlab/crucible/4.1.0/sql/MYSQL/upgrade/upgrade_92.sql: null at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1115) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) [spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) [spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252) [jetty-webapp-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) [jetty-webapp-8.1.10.v20130312.jar:8.1.10.v20130312] at com.cenqua.fisheye.web.jetty.FishEyeWebApplicationContext.doStart(FishEyeWebApplicationContext.java:32) [fisheye.jar:?] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.server.Server.doStart(Server.java:280) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312] at com.cenqua.fisheye.web.WebServer.start(WebServer.java:332) [fisheye.jar:?] at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:238) [fisheye.jar:?] at com.cenqua.fisheye.ctl.Run.main(Run.java:57) [fisheye.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_92] at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:101) [fisheyeboot.jar:?] at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:44) [fisheyeboot.jar:?] Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested exception is c om.cenqua.crucible.hibernate.CruDBException: Problem upgrading with script /gitlab/crucible/4.1.0/sql/MYSQL/upgrade/upgrade_92.sql: null at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:164) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:125) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:270) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] ... 40 more Caused by: com.cenqua.crucible.hibernate.CruDBException: Problem upgrading with script /gitlab/crucible/4.1.0/sql/MYSQL/upgrade/upgrade_92.sql: null at com.cenqua.crucible.hibernate.DefaultDBControl.upgrade(DefaultDBControl.java:432) [fisheye.jar:?] at com.cenqua.crucible.hibernate.DefaultDBControl.start(DefaultDBControl.java:260) [fisheye.jar:?] at com.cenqua.crucible.hibernate.DefaultDBControl.start(DefaultDBControl.java:242) [fisheye.jar:?] at com.cenqua.crucible.hibernate.DBControlFactoryImpl.<init>(DBControlFactoryImpl.java:40) [fisheye.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_92] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:1.8.0_92] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.8.0_92] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:1.8.0_92] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] ... 42 more Caused by: java.lang.NullPointerException at com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:24) [fisheye.jar:?] at com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:19) [fisheye.jar:?] at com.cenqua.crucible.hibernate.upgrade.crowd.MigrateAuthenticationConfigurations.logExistingCrowdConfig(MigrateAuthenticationConfigurations.java:299) [fisheye.jar:?] at com.cenqua.crucible.hibernate.upgrade.crowd.MigrateAuthenticationConfigurations.migrateCrowd(MigrateAuthenticationConfigurations.java:109) [fisheye.jar:?] at com.cenqua.crucible.hibernate.upgrade.crowd.MigrateAuthenticationConfigurations.perform(MigrateAuthenticationConfigurations.java:74) [fisheye.jar:?] at com.cenqua.crucible.hibernate.upgrade.crowd.EmbeddedCrowdUpgradeTask.afterUpgradeScript(EmbeddedCrowdUpgradeTask.java:63) [fisheye.jar:?] at com.cenqua.crucible.hibernate.upgrade.UpgradeTaskManager$ChainedUpgradeTask.afterUpgradeScript(UpgradeTaskManager.java:40) [fisheye.jar:?] at com.cenqua.crucible.hibernate.DefaultDBControl.doUpgrade(DefaultDBControl.java:467) [fisheye.jar:?] at com.cenqua.crucible.hibernate.DefaultDBControl.upgrade(DefaultDBControl.java:423) [fisheye.jar:?] ... 50 more 2016-07-07 12:28:24,107 INFO - Shutdown requested Exception in thread "Thread-1" org.springframework.context.ApplicationContextException: Application Context not initialised. at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:47) at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:86) at com.cenqua.fisheye.config.RootConfig.getRepositoryManager(RootConfig.java:593) at com.cenqua.fisheye.config.RootConfig.shutDownRepositories(RootConfig.java:1280) at com.cenqua.fisheye.ctl.ShutdownService.stopImpl(ShutdownService.java:281) at com.cenqua.fisheye.ctl.ShutdownService.access$000(ShutdownService.java:35) at com.cenqua.fisheye.ctl.ShutdownService$1.run(ShutdownService.java:59) {noformat}

    Atlassian JIRA | 5 months ago | scott fagg
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbControlFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean fail ed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested e xception is com.cenqua.crucible.hibernate.CruDBException: Problem upgrading with script /gitlab/crucible/4.1.0/sql/MYSQL/upgrade/upgrade_92.sql: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: 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.cenqua.fisheye.util.PropertiesUtil.loadFromString()
    2. com.cenqua.fisheye
      PropertiesUtil.loadFromString
      1. com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:24)[fisheye.jar:?]
      2. com.cenqua.fisheye.util.PropertiesUtil.loadFromString(PropertiesUtil.java:19)[fisheye.jar:?]
      2 frames