org.springframework.jdbc.UncategorizedSQLException: CallableStatementCallback; uncategorized SQLException for SQL [{? = call get_next_oai_id(?)}]; SQL state [HY000]; error code [1436]; Thread stack overrun: 8548 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.; nested exception is java.sql.SQLException: Thread stack overrun: 8548 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.

GitHub | patrickzurek | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 571#253589301

    GitHub | 6 months ago | patrickzurek
    org.springframework.jdbc.UncategorizedSQLException: CallableStatementCallback; uncategorized SQLException for SQL [{? = call get_next_oai_id(?)}]; SQL state [HY000]; error code [1436]; Thread stack overrun: 8548 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.; nested exception is java.sql.SQLException: Thread stack overrun: 8548 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.

    Root Cause Analysis

    1. org.springframework.jdbc.UncategorizedSQLException

      CallableStatementCallback; uncategorized SQLException for SQL [{? = call get_next_oai_id(?)}]; SQL state [HY000]; error code [1436]; Thread stack overrun: 8548 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.; nested exception is java.sql.SQLException: Thread stack overrun: 8548 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.

      at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate()
    2. Spring Framework
      SimpleJdbcCall.executeObject
      1. org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
      2. org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
      3. org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
      4. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:969)
      5. org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:1003)
      6. org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:389)
      7. org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:363)
      8. org.springframework.jdbc.core.simple.SimpleJdbcCall.executeObject(SimpleJdbcCall.java:159)
      8 frames
    3. xc.mst.repo
      RepositoryDAO.injectId
      1. xc.mst.repo.RepositoryDAO.getNextIdAndIncr(RepositoryDAO.java:224)
      2. xc.mst.repo.RepositoryDAO.injectId(RepositoryDAO.java:217)
      2 frames