java.lang.NullPointerException

Atlassian JIRA | Robert Watkins | 10 years ago
  1. 0

    When I go to shutdown Bamboo, I get errors like this: 8/03/2007 12:52:45 net.sf.hibernate.util.JDBCExceptionReporter logExceptions WARNING: SQL Error: 0, SQLState: null 8/03/2007 12:52:45 net.sf.hibernate.util.JDBCExceptionReporter logExceptions SEVERE: com.mchange.v2.c3p0.PoolBackedDataSource@252187a8 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@da0c3322 [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt7ld47pvkmymji0|1bdbfec, idleConnectionTestPeriod -> 100, initialPoolSize -> 0, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 30, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 0, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@7cb2cc23 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> z8kflt7ld47pvkmymji0|ecd92c, jdbcUrl -> jdbc:hsqldb:/home/robertdw/bamboo-home/database/defaultdb, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> z8kflt7ld47pvkmymji0|16dba0a, numHelperThreads -> 3 ] has been closed() -- you can no longer use it. java.lang.NullPointerException at org.springframework.orm.hibernate.SessionFactoryUtils.closeSessionOrRegisterDeferredClose(SessionFactoryUtils.java:709) at org.springframework.orm.hibernate.SessionFactoryUtils.releaseSession(SessionFactoryUtils.java:696) at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:453) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:283) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:226) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy10.getAllBuilds(Unknown Source) at com.atlassian.bamboo.container.ShutdownHook.run(ShutdownHook.java:28) These errors repeat once every second, and prevent the Tomcat instance from actually stopping - it is necessary to kill the process manually before restarting.

    Atlassian JIRA | 10 years ago | Robert Watkins
    java.lang.NullPointerException
  2. 0

    When I go to shutdown Bamboo, I get errors like this: 8/03/2007 12:52:45 net.sf.hibernate.util.JDBCExceptionReporter logExceptions WARNING: SQL Error: 0, SQLState: null 8/03/2007 12:52:45 net.sf.hibernate.util.JDBCExceptionReporter logExceptions SEVERE: com.mchange.v2.c3p0.PoolBackedDataSource@252187a8 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@da0c3322 [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt7ld47pvkmymji0|1bdbfec, idleConnectionTestPeriod -> 100, initialPoolSize -> 0, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 30, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 0, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@7cb2cc23 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> z8kflt7ld47pvkmymji0|ecd92c, jdbcUrl -> jdbc:hsqldb:/home/robertdw/bamboo-home/database/defaultdb, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> z8kflt7ld47pvkmymji0|16dba0a, numHelperThreads -> 3 ] has been closed() -- you can no longer use it. java.lang.NullPointerException at org.springframework.orm.hibernate.SessionFactoryUtils.closeSessionOrRegisterDeferredClose(SessionFactoryUtils.java:709) at org.springframework.orm.hibernate.SessionFactoryUtils.releaseSession(SessionFactoryUtils.java:696) at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:453) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:283) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:226) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy10.getAllBuilds(Unknown Source) at com.atlassian.bamboo.container.ShutdownHook.run(ShutdownHook.java:28) These errors repeat once every second, and prevent the Tomcat instance from actually stopping - it is necessary to kill the process manually before restarting.

    Atlassian JIRA | 10 years ago | Robert Watkins
    java.lang.NullPointerException
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.springframework.orm.hibernate.SessionFactoryUtils.closeSessionOrRegisterDeferredClose()
    2. Hibernate
      HibernateTransactionManager.doBegin
      1. org.springframework.orm.hibernate.SessionFactoryUtils.closeSessionOrRegisterDeferredClose(SessionFactoryUtils.java:709)
      2. org.springframework.orm.hibernate.SessionFactoryUtils.releaseSession(SessionFactoryUtils.java:696)
      3. org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:453)
      3 frames
    3. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:283)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:226)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:89)
      3 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    5. Unknown
      $Proxy10.getAllBuilds
      1. $Proxy10.getAllBuilds(Unknown Source)
      1 frame
    6. com.atlassian.bamboo
      ShutdownHook.run
      1. com.atlassian.bamboo.container.ShutdownHook.run(ShutdownHook.java:28)
      1 frame