Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 28.08 15:54:55 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:283 Time:13 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
- 28.08 15:55:00 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:272 START: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout[org.jboss.as.ejb3.timerservice.TimerImpl]
- 28.08 15:55:00 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:272 Time:4 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
- 28.08 15:55:03 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:213 START: ru.crystals.operday.transport.processing.ODMessageProcessorWorkhorseBean.process[25]
- 28.08 15:55:03 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:213 Time:7 FINISH: ru.crystals.operday.transport.processing.ODMessageProcessorWorkhorseBean.process
- 28.08 15:55:05 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:280 START: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout[org.jboss.as.ejb3.timerservice.TimerImpl]
- 28.08 15:55:05 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:280 Time:3 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.]
- 28.08 15:55:08 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:1120fe, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@f1650e6 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.]
- 28.08 15:55:08 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:112134, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@4293f3d3 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.]
- 28.08 15:55:08 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:112172, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@7ed6da31 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:08 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- ... 58 more
- Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- ... 61 more
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Меню" id="1">
- <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
- <command name="Перезагрузка" code="command_CashRestart" id="2"/>
- <command name="Выключение" code="command_CashSwitchOff" id="3"/>
- <command name="Новая касса" code="command_NewCash" id="4"/>
- <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
- <menu name="Конфигуратор" id="6">
- <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
- <command name="Банки" code="command_ConfigurationBank" id="2"/>
- <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
- <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
- <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
- <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
- <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
- <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
- <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- </menu>
- </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:08 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- ... 58 more
- Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- ... 61 more
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Товары" id="1" code="">
- <command name="Список товаров" code="command_Catalog" id="1"/>
- <command name="Информация о товаре" code="command_Info" id="2"/>
- <command name="Группы продаж" code="command_SaleGroups" id="3"/>
- </menu>
- </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).
- 28.08 15:55:09 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.]
- 28.08 15:55:09 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:1120c2, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@65750a9 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.]
- 28.08 15:55:09 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:1121ae, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@1c183dd >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:08 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- ... 58 more
- Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- ... 61 more
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Администратор" id="1">
- <menu name="Операции со сменой" id="1">
- <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
- <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
- <command name="Х-Отчёт" code="command_XReport" id="3"/>
- <command name="Внесение" code="command_Introductional" id="4"/>
- <command name="Изъятие" code="command_Withdrawal" id="5"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- </menu>
- <menu name="Печать документов" id="4">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- </menu>
- </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:09 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- ... 58 more
- Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- ... 61 more
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Кассир" id="1">
- <command name="Редактирование чека" code="command_chkEdit" id="1"/>
- <menu name="Печать документов" id="2">
- <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
- <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
- <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
- </menu>
- <menu name="Денежный ящик" id="3">
- <command name="Открыть" code="command_Cashbox" id="1"/>
- <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
- </menu>
- <menu name="Отложенный чек" id="4">
- <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
- <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
- </menu>
- </menu>
- </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:09 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
- at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
- at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
- at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
- at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
- at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
- at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
- at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
- at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
- at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
- at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
- at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
- at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
- at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
- at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
- at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
- at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
- at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
- at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
- at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
- at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
- ... 58 more
- Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
- at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
- at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
- at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
- at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
- at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
- at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
- at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
- ... 61 more
- Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
- at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
- at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
- at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
- at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
- at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
- at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
- ... 67 more
- Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <menu name="Оплаты" id="1">
- <command name="Типы оплат" code="command_PaymentType" id="1"/>
- </menu>
- </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null). Call getNextException to see other errors in the batch.
- at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
- at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
- at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
- at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
- at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
- at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
- at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
- ... 80 more
- Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
- ... 94 more
- 28.08 15:55:10 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:292 START: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout[org.jboss.as.ejb3.timerservice.TimerImpl]
- 28.08 15:55:10 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:292 Time:10 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement