org.springframework.transaction.CannotCreateTransactionException

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.

  • GitHub comment 667#254796491
    via GitHub by MagIO2
    ,
  • GitHub comment 667#254824811
    via GitHub by MagIO2
    ,
    • org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.lang.NullPointerException: tuples must be non-null at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:241) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:417) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:255) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633) at de.reproducer.webgui.clear.ipconfig.IpConfigMaintenanceDAO$$EnhancerBySpringCGLIB$$3192e4c4.importDataToDB(<generated>) at de.reproducer.webgui.clear.ipconfig.IpConfigMaintenance.execute(IpConfigMaintenance.java:36) at de.reproducer.webgui.clear.ipconfig.IpConfigMaintenance.main(IpConfigMaintenance.java:26) Caused by: java.lang.NullPointerException: tuples must be non-null at org.postgresql.jdbc.PgResultSet.<init>(PgResultSet.java:147) at org.postgresql.jdbc.PgStatement.createResultSet(PgStatement.java:163) at org.postgresql.jdbc.PgStatement$StatementResultHandler.handleResultRows(PgStatement.java:213) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2032) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:286) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:432) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:358) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:305) at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:291) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:269) at org.postgresql.jdbc.PgConnection.execSQLUpdate(PgConnection.java:480) at org.postgresql.jdbc.PgConnection.getTransactionIsolation(PgConnection.java:850) at org.apache.commons.dbcp.DelegatingConnection.getTransactionIsolation(DelegatingConnection.java:353) at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.getTransactionIsolation(PoolingDataSource.java:250) at org.springframework.jdbc.datasource.DataSourceUtils.prepareConnectionForTransaction(DataSourceUtils.java:190) at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:213) ... 9 more
    No Bugmate found.