org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [UPDATE mytable SET status='IN_PROGRESS' WHERE id in (?)]; Invalid argument value: java.io.NotSerializableException; nested exception is java.sql.SQLException: Invalid argument value: java.io.NotSerializableException

Stack Overflow | Prashanth Sg | 2 months ago
  1. 0

    Spring Integration NotSerializableException on jdbc inbound-channel-adapter update query

    Stack Overflow | 2 months ago | Prashanth Sg
    org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [UPDATE mytable SET status='IN_PROGRESS' WHERE id in (?)]; Invalid argument value: java.io.NotSerializableException; nested exception is java.sql.SQLException: Invalid argument value: java.io.NotSerializableException
  2. 0

    What does the error info means?

    Stack Overflow | 3 years ago | Tom Xue
    java.io.NotSerializableException: java.lang.Object
  3. 0

    Unable to determine session size using Session.getSizeInBytes()

    Stack Overflow | 4 years ago | Ian Marshall
    java.io.NotSerializableException: java.lang.Object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    pass specific object to other activity (Jsch)

    Stack Overflow | 3 years ago | user3348472
    java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = com.example.securebox.ServerConnect)
  6. 0

    java.io.NotSerializableException: For RowSet

    Stack Overflow | 3 years ago | user2900314
    java.io.NotSerializableException: java.lang.Object
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.io.NotSerializableException

    java.lang.Object

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(Unknown Source)
    2. java.io.ObjectOutputStream.writeObject(Unknown Source)
    2 frames
  3. MySQL jdbc
    JDBC42PreparedStatement.setObject
    1. com.mysql.jdbc.PreparedStatement.setSerializableObject(PreparedStatement.java:3818)
    2. com.mysql.jdbc.PreparedStatement.setObject(PreparedStatement.java:3559)
    3. com.mysql.jdbc.JDBC42PreparedStatement.setObject(JDBC42PreparedStatement.java:68)
    3 frames
  4. Spring Framework
    NamedParameterJdbcTemplate.update
    1. org.springframework.jdbc.core.StatementCreatorUtils.setValue(StatementCreatorUtils.java:440)
    2. org.springframework.jdbc.core.StatementCreatorUtils.setParameterValueInternal(StatementCreatorUtils.java:235)
    3. org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(StatementCreatorUtils.java:150)
    4. org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.setValues(PreparedStatementCreatorFactory.java:292)
    5. org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.createPreparedStatement(PreparedStatementCreatorFactory.java:244)
    6. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:627)
    7. org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:870)
    8. org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:894)
    9. org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.update(NamedParameterJdbcTemplate.java:287)
    9 frames
  5. org.springframework.integration
    JdbcPollingChannelAdapter.receive
    1. org.springframework.integration.jdbc.JdbcPollingChannelAdapter.executeUpdateQuery(JdbcPollingChannelAdapter.java:181)
    2. org.springframework.integration.jdbc.JdbcPollingChannelAdapter.poll(JdbcPollingChannelAdapter.java:173)
    3. org.springframework.integration.jdbc.JdbcPollingChannelAdapter.receive(JdbcPollingChannelAdapter.java:149)
    3 frames
  6. Spring Integration Core
    ErrorHandlingTaskExecutor$1.run
    1. org.springframework.integration.endpoint.SourcePollingChannelAdapter.receiveMessage(SourcePollingChannelAdapter.java:209)
    2. org.springframework.integration.endpoint.AbstractPollingEndpoint.doPoll(AbstractPollingEndpoint.java:245)
    3. org.springframework.integration.endpoint.AbstractPollingEndpoint.access$000(AbstractPollingEndpoint.java:58)
    4. org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:190)
    5. org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:186)
    6. org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller$1.run(AbstractPollingEndpoint.java:353)
    7. org.springframework.integration.util.ErrorHandlingTaskExecutor$1.run(ErrorHandlingTaskExecutor.java:55)
    7 frames
  7. Spring Core
    SyncTaskExecutor.execute
    1. org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
    1 frame
  8. Spring Integration Core
    AbstractPollingEndpoint$Poller.run
    1. org.springframework.integration.util.ErrorHandlingTaskExecutor.execute(ErrorHandlingTaskExecutor.java:51)
    2. org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller.run(AbstractPollingEndpoint.java:344)
    2 frames
  9. Spring Context
    ReschedulingRunnable.run
    1. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    2. org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
    2 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    7. java.lang.Thread.run(Unknown Source)
    7 frames