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 | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 571#253589301

    GitHub | 4 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