Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- batch-coupon-action-service_1 | 2019-02-11 15:13:16.867 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:16.867 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:17.868 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:17.868 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:18.869 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:18.870 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:19.871 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:19.872 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:20.873 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:20.873 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:21.604 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 1 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:21.604 TRACE 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : [coupon_action-0@1]
- batch-coupon-action-service_1 | 2019-02-11 15:13:21.606 DEBUG 1 --- [ntainer#0-0-C-1] l.a.BatchMessagingMessageListenerAdapter : Processing [GenericMessage [payload=[BatchActionCouponTask(batch=[UseCouponTask(usedDate=2019-02-11T12:10:45.439Z), UseCouponTask(usedDate=2019-02-11T12:08:35.772Z)])], headers={kafka_offset=[1], kafka_consumer=org.apache.kafka.clients.consumer.KafkaConsumer@47d7b0dc, kafka_timestampType=[CREATE_TIME], kafka_receivedMessageKey=[260001000000000000001], kafka_receivedPartitionId=[0], kafka_receivedTopic=[coupon_action], kafka_receivedTimestamp=[1549887201396], kafka_batchConvertedHeaders=[{}]}]]
- batch-coupon-action-service_1 | 2019-02-11 15:13:21.619 ERROR 1 --- [ntainer#0-0-C-1] r.c.p.c.c.b.i.service.BatchService : Cannot process coupon
- batch-coupon-action-service_1 |
- batch-coupon-action-service_1 | java.lang.IllegalArgumentException: The given string value: "{\"issuedPlace\":null,\"usedPlace\":null,\"owner\":null,\"client\":null,\"createDate\":\"2019-02-11T11:45:24.280Z\",\"issueDate\":null,\"usedDate\":null}" cannot be transformed to Json object
- batch-coupon-action-service_1 | at com.vladmihalcea.hibernate.type.util.ObjectMapperWrapper.fromString(ObjectMapperWrapper.java:52) ~[hibernate-types-52-2.3.5.jar!/:na]
- batch-coupon-action-service_1 | at com.vladmihalcea.hibernate.type.json.internal.JsonTypeDescriptor.fromString(JsonTypeDescriptor.java:91) ~[hibernate-types-52-2.3.5.jar!/:na]
- batch-coupon-action-service_1 | at com.vladmihalcea.hibernate.type.json.internal.JsonTypeDescriptor.wrap(JsonTypeDescriptor.java:115) ~[hibernate-types-52-2.3.5.jar!/:na]
- batch-coupon-action-service_1 | at com.vladmihalcea.hibernate.type.json.internal.AbstractJsonSqlTypeDescriptor$1.doExtract(AbstractJsonSqlTypeDescriptor.java:34) ~[hibernate-types-52-2.3.5.jar!/:na]
- batch-coupon-action-service_1 | at org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:47) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:261) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:257) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:247) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:333) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2868) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.process.internal.EntityReferenceInitializerImpl.loadFromResultSet(EntityReferenceInitializerImpl.java:305) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.process.internal.EntityReferenceInitializerImpl.hydrateEntityState(EntityReferenceInitializerImpl.java:233) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.readRow(AbstractRowReader.java:103) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.internal.EntityLoadQueryDetails$EntityLoaderRowReader.readRow(EntityLoadQueryDetails.java:241) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.process.internal.ResultSetProcessorImpl.extractResults(ResultSetProcessorImpl.java:122) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:122) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:86) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.entity.plan.AbstractLoadPlanBasedEntityLoader.load(AbstractLoadPlanBasedEntityLoader.java:167) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:4121) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:508) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:478) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:219) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:278) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1240) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1123) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:682) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.type.EntityType.resolve(EntityType.java:464) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:171) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:128) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.performTwoPhaseLoad(AbstractRowReader.java:238) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.process.internal.AbstractRowReader.finishUp(AbstractRowReader.java:209) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.process.internal.ResultSetProcessorImpl.extractResults(ResultSetProcessorImpl.java:133) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:122) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:86) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.loader.entity.plan.AbstractLoadPlanBasedEntityLoader.load(AbstractLoadPlanBasedEntityLoader.java:167) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:4121) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:508) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:478) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:219) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:278) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1240) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.access$1900(SessionImpl.java:204) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.doLoad(SessionImpl.java:2842) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2816) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3445) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3409) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:304) ~[spring-orm-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at com.sun.proxy.$Proxy139.find(Unknown Source) ~[na:na]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService.useCoupon(BatchService.java:77) [classes!/:na]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService.receive(BatchService.java:62) [classes!/:na]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService$$FastClassBySpringCGLIB$$9680ff9e.invoke(<generated>) [classes!/:na]
- batch-coupon-action-service_1 | at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) [spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) [spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService$$EnhancerBySpringCGLIB$$313a0a57.receive(<generated>) ~[classes!/:na]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:181) ~[spring-messaging-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:114) ~[spring-messaging-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:48) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:245) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.BatchMessagingMessageListenerAdapter.onMessage(BatchMessagingMessageListenerAdapter.java:128) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.BatchMessagingMessageListenerAdapter.onMessage(BatchMessagingMessageListenerAdapter.java:59) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeBatchListener(KafkaMessageListenerContainer.java:926) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeBatchListener(KafkaMessageListenerContainer.java:881) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeListener(KafkaMessageListenerContainer.java:863) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:724) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `ru.crystals.processing.coupons.database.domain.CouponExemplarExtendedInfo` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('{"issuedPlace":null,"usedPlace":null,"owner":null,"client":null,"createDate":"2019-02-11T11:45:24.280Z","issueDate":null,"usedDate":null}')
- batch-coupon-action-service_1 | at [Source: (String)""{\"issuedPlace\":null,\"usedPlace\":null,\"owner\":null,\"client\":null,\"createDate\":\"2019-02-11T11:45:24.280Z\",\"issueDate\":null,\"usedDate\":null}""; line: 1, column: 1]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1342) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1031) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.deser.ValueInstantiator._createFromStringFallbacks(ValueInstantiator.java:371) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromString(StdValueInstantiator.java:323) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1366) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:171) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:161) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3030) ~[jackson-databind-2.9.5.jar!/:2.9.5]
- batch-coupon-action-service_1 | at com.vladmihalcea.hibernate.type.util.ObjectMapperWrapper.fromString(ObjectMapperWrapper.java:50) ~[hibernate-types-52-2.3.5.jar!/:na]
- batch-coupon-action-service_1 | ... 83 common frames omitted
- batch-coupon-action-service_1 |
- batch-coupon-action-service_1 | 2019-02-11 15:13:21.623 ERROR 1 --- [ntainer#0-0-C-1] r.c.p.c.c.b.i.service.BatchService : Cannot process coupon
- batch-coupon-action-service_1 |
- batch-coupon-action-service_1 | javax.persistence.EntityExistsException: A different object with the same identifier value was already associated with the session : [ru.crystals.processing.coupons.database.domain.CouponExemplarDetailsEntity#260001000000000000001]
- batch-coupon-action-service_1 | at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:118) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:164) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:814) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:774) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:467) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:392) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:193) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:126) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:445) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultPersistEventListener.justCascade(DefaultPersistEventListener.java:172) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultPersistEventListener.entityIsPersistent(DefaultPersistEventListener.java:164) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:783) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:768) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:304) ~[spring-orm-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at com.sun.proxy.$Proxy139.persist(Unknown Source) ~[na:na]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService.useCoupon(BatchService.java:95) [classes!/:na]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService.receive(BatchService.java:62) [classes!/:na]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService$$FastClassBySpringCGLIB$$9680ff9e.invoke(<generated>) [classes!/:na]
- batch-coupon-action-service_1 | at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) [spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) [spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService$$EnhancerBySpringCGLIB$$313a0a57.receive(<generated>) ~[classes!/:na]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:181) ~[spring-messaging-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:114) ~[spring-messaging-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:48) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:245) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.BatchMessagingMessageListenerAdapter.onMessage(BatchMessagingMessageListenerAdapter.java:128) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.BatchMessagingMessageListenerAdapter.onMessage(BatchMessagingMessageListenerAdapter.java:59) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeBatchListener(KafkaMessageListenerContainer.java:926) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeBatchListener(KafkaMessageListenerContainer.java:881) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeListener(KafkaMessageListenerContainer.java:863) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:724) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
- batch-coupon-action-service_1 |
- batch-coupon-action-service_1 | 2019-02-11 15:13:21.626 ERROR 1 --- [ntainer#0-0-C-1] o.s.k.listener.BatchLoggingErrorHandler : Error while processing:
- batch-coupon-action-service_1 | ConsumerRecord(topic = coupon_action, partition = 0, offset = 1, CreateTime = 1549887201396, serialized key size = 21, serialized value size = 545, headers = RecordHeaders(headers = [], isReadOnly = false), key = 260001000000000000001, value = {"batch":[{"action":"USE","action":"USE","number":"260001000000000000001","place":{"shopNumber":1752,"shiftNumber":1,"purchaseNumber":2,"cashNumber":60},"clientInfo":{"externalUid":null,"firstName":null,"middleName":null,"lastName":null},"usedDate":"2019-02-11T12:10:45.439Z"},{"action":"USE","action":"USE","number":"260001000000000000001","place":{"shopNumber":1752,"shiftNumber":1,"purchaseNumber":1,"cashNumber":60},"clientInfo":{"externalUid":null,"firstName":null,"middleName":null,"lastName":null},"usedDate":"2019-02-11T12:08:35.772Z"}]})
- batch-coupon-action-service_1 |
- batch-coupon-action-service_1 | org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method 'public void ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService.receive(java.util.List<ru.crystals.processing.coupons.kafka.domain.BatchActionCouponTask>)' threw exception; nested exception is org.springframework.orm.jpa.JpaSystemException: Transaction was marked for rollback only; cannot commit; nested exception is org.hibernate.TransactionException: Transaction was marked for rollback only; cannot commit
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:267) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.BatchMessagingMessageListenerAdapter.onMessage(BatchMessagingMessageListenerAdapter.java:128) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.BatchMessagingMessageListenerAdapter.onMessage(BatchMessagingMessageListenerAdapter.java:59) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.doInvokeBatchListener(KafkaMessageListenerContainer.java:926) [spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeBatchListener(KafkaMessageListenerContainer.java:881) [spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.invokeListener(KafkaMessageListenerContainer.java:863) [spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:724) [spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_181]
- batch-coupon-action-service_1 | at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]
- batch-coupon-action-service_1 | Caused by: org.springframework.orm.jpa.JpaSystemException: Transaction was marked for rollback only; cannot commit; nested exception is org.hibernate.TransactionException: Transaction was marked for rollback only; cannot commit
- batch-coupon-action-service_1 | at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:314) ~[spring-orm-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:225) ~[spring-orm-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:540) ~[spring-orm-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:532) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at ru.crystals.processing.coupons.consumer.batch.issueuse.service.BatchService$$EnhancerBySpringCGLIB$$313a0a57.receive(<generated>) ~[classes!/:na]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
- batch-coupon-action-service_1 | at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:181) ~[spring-messaging-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:114) ~[spring-messaging-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:48) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:245) ~[spring-kafka-2.1.6.RELEASE.jar!/:2.1.6.RELEASE]
- batch-coupon-action-service_1 | ... 9 common frames omitted
- batch-coupon-action-service_1 | Caused by: org.hibernate.TransactionException: Transaction was marked for rollback only; cannot commit
- batch-coupon-action-service_1 | at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:228) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:68) ~[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]
- batch-coupon-action-service_1 | at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:536) ~[spring-orm-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]
- batch-coupon-action-service_1 | ... 25 common frames omitted
- batch-coupon-action-service_1 |
- batch-coupon-action-service_1 | 2019-02-11 15:13:21.627 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:22.628 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:22.629 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:23.629 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:23.630 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 15:13:24.630 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 15:13:24.630 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement