Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- batch-coupon-action-service_1 | 2019-02-11 16:24:22.097 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:23.098 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:23.098 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:24.098 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 1 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:24.098 TRACE 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : [coupon_action-0@5]
- batch-coupon-action-service_1 | 2019-02-11 16:24:24.099 DEBUG 1 --- [ntainer#0-0-C-1] l.a.BatchMessagingMessageListenerAdapter : Processing [GenericMessage [payload=[BatchActionCouponTask(batch=[UseCouponTask(usedDate=2019-02-11T13:19:51.114Z)])], headers={kafka_offset=[5], kafka_consumer=org.apache.kafka.clients.consumer.KafkaConsumer@23aa37e7, kafka_timestampType=[CREATE_TIME], kafka_receivedMessageKey=[270001010000045071805], kafka_receivedPartitionId=[0], kafka_receivedTopic=[coupon_action], kafka_receivedTimestamp=[1549891463841], kafka_batchConvertedHeaders=[{}]}]]
- batch-coupon-action-service_1 | 2019-02-11 16:24:24.102 TRACE 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Ack: ConsumerRecord(topic = coupon_action, partition = 0, offset = 5, CreateTime = 1549891463841, serialized key size = 21, serialized value size = 278, headers = RecordHeaders(headers = [], isReadOnly = false), key = 270001010000045071805, value = {"batch":[{"action":"USE","action":"USE","number":"270001010000045071805","place":{"shopNumber":1752,"shiftNumber":1,"purchaseNumber":5,"cashNumber":60},"clientInfo":{"externalUid":null,"firstName":null,"middleName":null,"lastName":null},"usedDate":"2019-02-11T13:19:51.114Z"}]})
- batch-coupon-action-service_1 | 2019-02-11 16:24:24.102 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {coupon_action-0=OffsetAndMetadata{offset=6, metadata=''}}
- batch-coupon-action-service_1 | 2019-02-11 16:24:24.102 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Committing: {coupon_action-0=OffsetAndMetadata{offset=6, metadata=''}}
- batch-coupon-action-service_1 | 2019-02-11 16:24:25.105 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:25.105 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:26.099 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 1 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:26.099 TRACE 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : [coupon_action-0@6]
- batch-coupon-action-service_1 | 2019-02-11 16:24:26.099 DEBUG 1 --- [ntainer#0-0-C-1] l.a.BatchMessagingMessageListenerAdapter : Processing [GenericMessage [payload=[BatchActionCouponTask(batch=[UseCouponTask(usedDate=2019-02-11T13:24:24.325Z)])], headers={kafka_offset=[6], kafka_consumer=org.apache.kafka.clients.consumer.KafkaConsumer@23aa37e7, kafka_timestampType=[CREATE_TIME], kafka_receivedMessageKey=[260001010000100000003], kafka_receivedPartitionId=[0], kafka_receivedTopic=[coupon_action], kafka_receivedTimestamp=[1549891464726], kafka_batchConvertedHeaders=[{}]}]]
- batch-coupon-action-service_1 | 2019-02-11 16:24:26.116 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-11T13:10:31.499Z\",\"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$$84658b41.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-11T13:10:31.499Z","issueDate":null,"usedDate":null}')
- batch-coupon-action-service_1 | at [Source: (String)""{\"issuedPlace\":null,\"usedPlace\":null,\"owner\":null,\"client\":null,\"createDate\":\"2019-02-11T13:10:31.499Z\",\"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 16:24:26.125 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 = 6, CreateTime = 1549891464726, serialized key size = 21, serialized value size = 278, headers = RecordHeaders(headers = [], isReadOnly = false), key = 260001010000100000003, value = {"batch":[{"action":"USE","action":"USE","number":"260001010000100000003","place":{"shopNumber":1752,"shiftNumber":1,"purchaseNumber":6,"cashNumber":60},"clientInfo":{"externalUid":null,"firstName":null,"middleName":null,"lastName":null},"usedDate":"2019-02-11T13:24:24.325Z"}]})
- 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$$84658b41.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 16:24:26.125 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:27.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:27.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:28.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:28.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:29.127 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:29.128 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:30.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:30.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:31.130 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:31.130 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:32.130 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:32.130 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:33.131 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:33.131 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:34.131 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:34.131 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:35.131 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:35.131 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:36.107 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 1 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:36.107 TRACE 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : [coupon_action-0@7]
- batch-coupon-action-service_1 | 2019-02-11 16:24:36.107 DEBUG 1 --- [ntainer#0-0-C-1] l.a.BatchMessagingMessageListenerAdapter : Processing [GenericMessage [payload=[BatchActionCouponTask(batch=[UseCouponTask(usedDate=null)])], headers={kafka_offset=[7], kafka_consumer=org.apache.kafka.clients.consumer.KafkaConsumer@23aa37e7, kafka_timestampType=[CREATE_TIME], kafka_receivedMessageKey=[270001010000045071805], kafka_receivedPartitionId=[0], kafka_receivedTopic=[coupon_action], kafka_receivedTimestamp=[1549891475719], kafka_batchConvertedHeaders=[{}]}]]
- batch-coupon-action-service_1 | 2019-02-11 16:24:36.118 TRACE 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Ack: ConsumerRecord(topic = coupon_action, partition = 0, offset = 7, CreateTime = 1549891475719, serialized key size = 21, serialized value size = 264, headers = RecordHeaders(headers = [], isReadOnly = false), key = 270001010000045071805, value = {"batch":[{"action":"USE","action":"USE","number":"270001010000045071805","place":{"shopNumber":null,"shiftNumber":null,"purchaseNumber":null,"cashNumber":null},"clientInfo":{"externalUid":null,"firstName":null,"middleName":null,"lastName":null},"usedDate":null}]})
- batch-coupon-action-service_1 | 2019-02-11 16:24:36.118 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {coupon_action-0=OffsetAndMetadata{offset=8, metadata=''}}
- batch-coupon-action-service_1 | 2019-02-11 16:24:36.118 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Committing: {coupon_action-0=OffsetAndMetadata{offset=8, metadata=''}}
- batch-coupon-action-service_1 | 2019-02-11 16:24:37.123 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:37.124 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:38.124 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:38.125 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:39.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:39.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:40.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:40.126 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:41.127 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:41.127 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:42.127 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:42.127 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:43.128 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:43.128 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:44.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:44.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:45.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:45.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:46.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:46.129 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:47.130 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:47.130 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:48.130 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:48.131 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:49.132 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:49.132 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:50.133 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:50.133 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:51.134 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:51.134 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
- batch-coupon-action-service_1 | 2019-02-11 16:24:52.134 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Received: 0 records
- batch-coupon-action-service_1 | 2019-02-11 16:24:52.134 DEBUG 1 --- [ntainer#0-0-C-1] essageListenerContainer$ListenerConsumer : Commit list: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement