org.springframework.transaction.CannotCreateTransactionException

Could not open JDBC Connection for transaction; nested exception is java.lang.IllegalArgumentException: Connection must not be null

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web436

  • via Spring JIRA by ismail altuntas, 1 year ago
    Could not open JDBC Connection for transaction; nested exception is java.lang.IllegalArgumentException: Connection must not be null
  • via Spring JIRA by ismail altuntas, 1 year ago
    Could not open JDBC Connection for transaction; nested exception is java.lang.IllegalArgumentException: Connection must not be null
  • via GitHub by MagIO2
    , 9 months ago
    Could not open JDBC Connection for transaction; nested exception is java.lang.NullPointerException: tuples must be non-null
  • Stack trace

    • org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.lang.IllegalArgumentException: Connection must not be null at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:240) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    3 times, 1 year ago