org.axonframework.eventsourcing.eventstore.EventStoreException: An event with identifier [e960af35-4b49-447a-964c-2be17d887c59] could not be persisted

Google Groups | Lukáš Vasek | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Events published from interceptor are eventsourced

    GitHub | 4 months ago | bilak
    org.axonframework.eventsourcing.eventstore.EventStoreException: An event with identifier [c9f0c8d9-7915-4be5-bda0-7135f265af5e] could not be persisted
  2. 0

    Events published from interceptor stored in eventstore?

    Google Groups | 4 months ago | Lukáš Vasek
    org.axonframework.eventsourcing.eventstore.EventStoreException: An event with identifier [e960af35-4b49-447a-964c-2be17d887c59] could not be persisted
  3. 0

    v3 M5 : IllegalArgumentException when using Sagas in a spring app with in memory building blocks

    Google Groups | 7 months ago | Mehdi Ben Abdallah
    java.lang.IllegalArgumentException: object is not an instance of declaring class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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. org.postgresql.util.PSQLException

    ERROR: null value in column "type" violates not-null constraint Detail: Failing row contains (3, e960af35-4b49-447a-964c-2be17d887c59, 0, null, e960af35-4b49-447a-964c-2be17d887c59, null, cloud.api.infrastructure.command.initializer.event.C..., 2017-01-10T12:44:28.355Z, \x3c6d6574612d646174613e3c656e7472793e3c737472696e673e7472616365..., \x3c6e65742e646f6375636f6d2e636c6f75642e6170692e696e667261737472...).

    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse()
  2. PostgreSQL JDBC Driver
    QueryExecutorImpl.execute
    1. org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
    2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
    3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
    3 frames
  3. org.postgresql.jdbc
    PgPreparedStatement.executeUpdate
    1. org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
    2. org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
    3. org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:168)
    4. org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:135)
    4 frames
  4. Hibernate
    SessionImpl.flush
    1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204)
    2. org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45)
    3. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2897)
    4. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3397)
    5. org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:89)
    6. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:582)
    7. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:456)
    8. org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
    9. org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
    10. org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
    10 frames
  5. org.hibernate.jpa
    AbstractEntityManagerImpl.flush
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1300)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)
    1 frame
  8. com.sun.proxy
    $Proxy170.flush
    1. com.sun.proxy.$Proxy170.flush(Unknown Source)
    1 frame
  9. org.axonframework.eventsourcing
    AbstractEventStore.prepareCommit
    1. org.axonframework.eventsourcing.eventstore.jpa.JpaEventStorageEngine.appendEvents(JpaEventStorageEngine.java:220)
    2. org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngine.appendEvents(AbstractEventStorageEngine.java:85)
    3. org.axonframework.eventsourcing.eventstore.AbstractEventStore.prepareCommit(AbstractEventStore.java:63)
    3 frames
  10. org.axonframework.eventhandling
    AbstractEventBus.lambda$null$5
    1. org.axonframework.eventhandling.AbstractEventBus.doWithEvents(AbstractEventBus.java:181)
    2. org.axonframework.eventhandling.AbstractEventBus.lambda$null$5(AbstractEventBus.java:133)
    2 frames
  11. org.axonframework.messaging
    DefaultUnitOfWork.executeWithResult
    1. org.axonframework.messaging.unitofwork.MessageProcessingContext.notifyHandlers(MessageProcessingContext.java:68)
    2. org.axonframework.messaging.unitofwork.DefaultUnitOfWork.notifyHandlers(DefaultUnitOfWork.java:91)
    3. org.axonframework.messaging.unitofwork.AbstractUnitOfWork.changePhase(AbstractUnitOfWork.java:214)
    4. org.axonframework.messaging.unitofwork.AbstractUnitOfWork.commitAsRoot(AbstractUnitOfWork.java:83)
    5. org.axonframework.messaging.unitofwork.AbstractUnitOfWork.commit(AbstractUnitOfWork.java:71)
    6. org.axonframework.messaging.unitofwork.DefaultUnitOfWork.executeWithResult(DefaultUnitOfWork.java:80)
    6 frames
  12. org.axonframework.commandhandling
    AsynchronousCommandBus$DispatchCommand.run
    1. org.axonframework.commandhandling.SimpleCommandBus.doDispatch(SimpleCommandBus.java:145)
    2. org.axonframework.commandhandling.SimpleCommandBus.doDispatch(SimpleCommandBus.java:118)
    3. org.axonframework.commandhandling.AsynchronousCommandBus.access$001(AsynchronousCommandBus.java:40)
    4. org.axonframework.commandhandling.AsynchronousCommandBus$DispatchCommand.run(AsynchronousCommandBus.java:94)
    4 frames
  13. org.springframework.security
    DelegatingSecurityContextRunnable.run
    1. org.springframework.security.concurrent.DelegatingSecurityContextRunnable.run(DelegatingSecurityContextRunnable.java:83)
    1 frame
  14. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames