Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 29.08 12:32:02 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">
- <menu id="0" name="Списание с карт">
- <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
- <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
- </menu>
- <command id="1" name="Типы оплат" code="command_PaymentType"/>
- <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
- <command id="3" name="Замена карты" code="command_MLReplace"/>
- <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
- <command id="5" name="Промо" code="command_Promo"/>
- <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
- <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
- <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
- <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
- </menu>
- </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2076, 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.]
- 29.08 12:32:02 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"/>
- <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
- <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- <command name="Повтор чека" code="command_chkRepeat" id="3"/>
- </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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
- <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
- <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
- <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
- </menu>
- </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2070, 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.]
- 29.08 12:32:02 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:3b41d50b:5d678c3a:56e52, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@713de34a >: 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"/>
- <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"/>
- <command name="О кассе" code="command_about" id="0"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
- <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
- <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
- <menu id="5" name="Операции с терминалом">
- <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
- <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
- <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
- </menu>
- </menu>
- </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2072, 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$$$view873.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"/>
- <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"/>
- <command name="О кассе" code="command_about" id="0"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
- <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
- <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
- <menu id="5" name="Операции с терминалом">
- <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
- <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
- <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
- </menu>
- </menu>
- </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2072, 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.$Proxy409.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"/>
- <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"/>
- <command name="О кассе" code="command_about" id="0"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
- <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
- <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
- <menu id="5" name="Операции с терминалом">
- <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
- <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
- <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
- </menu>
- </menu>
- </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2072, 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.GeneratedMethodAccessor217.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.$Proxy408.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.GeneratedMethodAccessor217.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 (2072, 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
- 29.08 12:32:02 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:3b41d50b:5d678c3a:56e88, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@1e7b95f9 >: 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"/>
- <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
- <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- <command name="Повтор чека" code="command_chkRepeat" id="3"/>
- </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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
- <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
- <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
- <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
- </menu>
- </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2070, 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$$$view873.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"/>
- <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
- <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- <command name="Повтор чека" code="command_chkRepeat" id="3"/>
- </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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
- <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
- <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
- <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
- </menu>
- </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2070, 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.$Proxy409.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"/>
- <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
- <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- <command name="Повтор чека" code="command_chkRepeat" id="3"/>
- </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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
- <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
- <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
- <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
- </menu>
- </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2070, 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.GeneratedMethodAccessor217.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.$Proxy408.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.GeneratedMethodAccessor217.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 (2070, 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
- 29.08 12:32:02 WARN [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:3b41d50b:5d678c3a:56dd8, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@f19b3bd >: 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">
- <menu id="0" name="Списание с карт">
- <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
- <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
- </menu>
- <command id="1" name="Типы оплат" code="command_PaymentType"/>
- <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
- <command id="3" name="Замена карты" code="command_MLReplace"/>
- <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
- <command id="5" name="Промо" code="command_Promo"/>
- <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
- <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
- <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
- <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
- </menu>
- </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2076, 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$$$view873.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">
- <menu id="0" name="Списание с карт">
- <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
- <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
- </menu>
- <command id="1" name="Типы оплат" code="command_PaymentType"/>
- <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
- <command id="3" name="Замена карты" code="command_MLReplace"/>
- <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
- <command id="5" name="Промо" code="command_Promo"/>
- <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
- <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
- <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
- <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
- </menu>
- </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2076, 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.$Proxy409.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">
- <menu id="0" name="Списание с карт">
- <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
- <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
- </menu>
- <command id="1" name="Типы оплат" code="command_PaymentType"/>
- <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
- <command id="3" name="Замена карты" code="command_MLReplace"/>
- <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
- <command id="5" name="Промо" code="command_Promo"/>
- <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
- <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
- <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
- <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
- </menu>
- </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2076, 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.GeneratedMethodAccessor217.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.$Proxy408.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.GeneratedMethodAccessor217.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 (2076, 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
- 29.08 12:32:02 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$$$view873.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">
- <menu id="0" name="Списание с карт">
- <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
- <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
- </menu>
- <command id="1" name="Типы оплат" code="command_PaymentType"/>
- <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
- <command id="3" name="Замена карты" code="command_MLReplace"/>
- <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
- <command id="5" name="Промо" code="command_Promo"/>
- <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
- <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
- <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
- <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
- </menu>
- </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2076, 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">
- <menu id="0" name="Списание с карт">
- <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
- <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
- </menu>
- <command id="1" name="Типы оплат" code="command_PaymentType"/>
- <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
- <command id="3" name="Замена карты" code="command_MLReplace"/>
- <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
- <command id="5" name="Промо" code="command_Promo"/>
- <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
- <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
- <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
- <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
- </menu>
- </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2076, 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.$Proxy409.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">
- <menu id="0" name="Списание с карт">
- <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
- <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
- </menu>
- <command id="1" name="Типы оплат" code="command_PaymentType"/>
- <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
- <command id="3" name="Замена карты" code="command_MLReplace"/>
- <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
- <command id="5" name="Промо" code="command_Promo"/>
- <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
- <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
- <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
- <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
- </menu>
- </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2076, 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.GeneratedMethodAccessor217.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.$Proxy408.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.GeneratedMethodAccessor217.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 (2076, 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
- 29.08 12:32:02 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$$$view873.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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- </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>
- <command id="5" name="Ручная скидка" code="command_ManualPositionDiscount"/>
- <menu id="6" name="Процессинги">
- <command id="1" name="Спасибо:Инфо о карте" code="command_sberbankBonusCardInfo"/>
- <command id="2" name="Спасибо:Списание" code="command_chargeOffBonusesCFT"/>
- <command id="3" name="Plas Tek: Списание" code="command_chargeOffBonusesPT"/>
- </menu>
- <menu id="7" name="Остатки">
- <command id="1" name="В магазине" code="command_stockBalanceOneShop"/>
- <command id="2" name="В сети города" code="command_stockBalanceAllShops"/>
- <command id="3" name="Отчет по кассирам/продавцам" code="command_giftomanPersonnel"/>
- <command id="4" name="Отчет по метрикам магазина" code="command_giftomanMetrics"/>
- </menu>
- <command id="8" name="Скидка по позициям" code="command_PositionDiscounts"/>
- <command id="9" name="Замена ПК" code="command_GiftCardReplace"/>
- <command id="0" name="Информация по ПК" code="command_GiftCardInfo"/>
- </menu>
- </cashMenu>' where id=2068 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2068, 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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- </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>
- <command id="5" name="Ручная скидка" code="command_ManualPositionDiscount"/>
- <menu id="6" name="Процессинги">
- <command id="1" name="Спасибо:Инфо о карте" code="command_sberbankBonusCardInfo"/>
- <command id="2" name="Спасибо:Списание" code="command_chargeOffBonusesCFT"/>
- <command id="3" name="Plas Tek: Списание" code="command_chargeOffBonusesPT"/>
- </menu>
- <menu id="7" name="Остатки">
- <command id="1" name="В магазине" code="command_stockBalanceOneShop"/>
- <command id="2" name="В сети города" code="command_stockBalanceAllShops"/>
- <command id="3" name="Отчет по кассирам/продавцам" code="command_giftomanPersonnel"/>
- <command id="4" name="Отчет по метрикам магазина" code="command_giftomanMetrics"/>
- </menu>
- <command id="8" name="Скидка по позициям" code="command_PositionDiscounts"/>
- <command id="9" name="Замена ПК" code="command_GiftCardReplace"/>
- <command id="0" name="Информация по ПК" code="command_GiftCardInfo"/>
- </menu>
- </cashMenu>' where id=2068 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2068, 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.$Proxy409.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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- </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>
- <command id="5" name="Ручная скидка" code="command_ManualPositionDiscount"/>
- <menu id="6" name="Процессинги">
- <command id="1" name="Спасибо:Инфо о карте" code="command_sberbankBonusCardInfo"/>
- <command id="2" name="Спасибо:Списание" code="command_chargeOffBonusesCFT"/>
- <command id="3" name="Plas Tek: Списание" code="command_chargeOffBonusesPT"/>
- </menu>
- <menu id="7" name="Остатки">
- <command id="1" name="В магазине" code="command_stockBalanceOneShop"/>
- <command id="2" name="В сети города" code="command_stockBalanceAllShops"/>
- <command id="3" name="Отчет по кассирам/продавцам" code="command_giftomanPersonnel"/>
- <command id="4" name="Отчет по метрикам магазина" code="command_giftomanMetrics"/>
- </menu>
- <command id="8" name="Скидка по позициям" code="command_PositionDiscounts"/>
- <command id="9" name="Замена ПК" code="command_GiftCardReplace"/>
- <command id="0" name="Информация по ПК" code="command_GiftCardInfo"/>
- </menu>
- </cashMenu>' where id=2068 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2068, 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.GeneratedMethodAccessor217.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.$Proxy408.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.GeneratedMethodAccessor217.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 (2068, 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
- 29.08 12:32:02 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$$$view873.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"/>
- <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
- <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- <command name="Повтор чека" code="command_chkRepeat" id="3"/>
- </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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
- <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
- <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
- <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
- </menu>
- </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2070, 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"/>
- <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
- <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- <command name="Повтор чека" code="command_chkRepeat" id="3"/>
- </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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
- <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
- <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
- <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
- </menu>
- </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2070, 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.$Proxy409.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"/>
- <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
- <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
- </menu>
- <menu name="Возврат" id="2">
- <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
- <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
- <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
- </menu>
- <menu name="Операции с чеком" id="3">
- <command name="Редактирование" code="command_chkEdit" id="1"/>
- <command name="Аннулирование" code="command_Cancellation" id="2"/>
- <command name="Повтор чека" code="command_chkRepeat" id="3"/>
- </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"/>
- <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
- <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
- </menu>
- <command name="Банковские операции" code="command_bankMenu" id="5"/>
- <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
- <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
- <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
- <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
- <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
- </menu>
- </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2070, 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.GeneratedMethodAccessor217.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.$Proxy408.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.GeneratedMethodAccessor217.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 (2070, 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
- 29.08 12:32:02 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$$$view873.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"/>
- <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"/>
- <command name="О кассе" code="command_about" id="0"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
- <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
- <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
- <menu id="5" name="Операции с терминалом">
- <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
- <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
- <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
- </menu>
- </menu>
- </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2072, 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"/>
- <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"/>
- <command name="О кассе" code="command_about" id="0"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
- <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
- <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
- <menu id="5" name="Операции с терминалом">
- <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
- <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
- <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
- </menu>
- </menu>
- </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2072, 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.$Proxy409.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"/>
- <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"/>
- <command name="О кассе" code="command_about" id="0"/>
- </menu>
- <command name="Калькулятор" code="command_Calc" id="7"/>
- <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
- <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
- <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
- <menu id="5" name="Операции с терминалом">
- <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
- <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
- <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
- </menu>
- </menu>
- </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
- Detail: Failing row contains (2072, 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.GeneratedMethodAccessor217.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.$Proxy408.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.GeneratedMethodAccessor217.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 (2072, 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
- 29.08 12:32:04 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:243 START: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout[org.jboss.as.ejb3.timerservice.TimerImpl]
- 29.08 12:32:04 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:243 Time:3 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
- 29.08 12:32:04 INFO [ru.crystals.speedlog] SPEEDLOG> ThreadID:138 START: ru.crystals.setretailx.products.ProductsManagerFileTransferRemoteBean.getNewProductsToCash[ru.crystals.setretailx.topology.TopologyAddress, 87718, true]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement