Advertisement
fedorm

Untitled

Aug 29th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 139.20 KB | None | 0 0
  1. 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">
  2.   <menu name="Оплаты" id="1">
  3.     <menu id="0" name="Списание с карт">
  4.       <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
  5.       <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
  6.     </menu>
  7.     <command id="1" name="Типы оплат" code="command_PaymentType"/>
  8.     <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
  9.     <command id="3" name="Замена карты" code="command_MLReplace"/>
  10.     <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
  11.     <command id="5" name="Промо" code="command_Promo"/>
  12.     <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
  13.     <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
  14.     <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
  15.     <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
  16.   </menu>
  17. </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
  18.   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.]
  19. 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">
  20.   <menu name="Администратор" id="1">
  21.     <menu name="Операции со сменой" id="1">
  22.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  23.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  24.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  25.       <command name="Внесение" code="command_Introductional" id="4"/>
  26.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  27.       <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
  28.       <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
  29.     </menu>
  30.     <menu name="Возврат" id="2">
  31.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  32.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  33.       <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
  34.     </menu>
  35.     <menu name="Операции с чеком" id="3">
  36.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  37.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  38.       <command name="Повтор чека" code="command_chkRepeat" id="3"/>
  39.     </menu>
  40.     <menu name="Печать документов" id="4">
  41.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  42.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  43.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  44.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  45.       <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
  46.     </menu>
  47.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  48.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  49.     <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
  50.     <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
  51.     <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
  52.     <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
  53.   </menu>
  54. </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
  55.   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.]
  56. 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">
  57.   <menu name="Меню" id="1">
  58.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  59.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  60.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  61.     <command name="Новая касса" code="command_NewCash" id="4"/>
  62.     <menu name="Конфигуратор" id="6">
  63.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  64.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  65.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  66.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  67.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  68.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  69.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  70.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  71.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  72.       <command name="О кассе" code="command_about" id="0"/>
  73.     </menu>
  74.     <command name="Калькулятор" code="command_Calc" id="7"/>
  75.     <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
  76.     <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
  77.     <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
  78.     <menu id="5" name="Операции с терминалом">
  79.       <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
  80.       <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
  81.       <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
  82.     </menu>
  83.   </menu>
  84. </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
  85.   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.
  86.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  87.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  88.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  89.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  90.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  91.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  92.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  93.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  94.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  95.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  96.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  97.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  98.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  99.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  100.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  101.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  102.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  103.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  104.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  105.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  106.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  107.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  108.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  109.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  110.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  111.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  112.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  113.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  114.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  115.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  116.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  117.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  118.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  119.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  120.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  121.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  122.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view873.saveOrUpdateMenu(Unknown Source)
  123.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  124.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  125.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  126.     at java.lang.reflect.Method.invoke(Method.java:498)
  127.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  128.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  129.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  130.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  131.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  132.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  133.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  134.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  135.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  136.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  137.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  138.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  139.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  140.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  141.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  142.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  143.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  144.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  145.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  146.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  147.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  148.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  149.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  150.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  151.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  152.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  153.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  154.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  155.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  156.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  157.     at java.lang.Thread.run(Thread.java:745)
  158. 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">
  159.   <menu name="Меню" id="1">
  160.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  161.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  162.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  163.     <command name="Новая касса" code="command_NewCash" id="4"/>
  164.     <menu name="Конфигуратор" id="6">
  165.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  166.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  167.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  168.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  169.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  170.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  171.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  172.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  173.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  174.       <command name="О кассе" code="command_about" id="0"/>
  175.     </menu>
  176.     <command name="Калькулятор" code="command_Calc" id="7"/>
  177.     <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
  178.     <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
  179.     <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
  180.     <menu id="5" name="Операции с терминалом">
  181.       <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
  182.       <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
  183.       <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
  184.     </menu>
  185.   </menu>
  186. </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
  187.   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.
  188.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  189.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  190.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  191.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  192.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  193.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  194.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  195.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  196.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  197.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  198.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  199.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  200.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  201.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  202.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  203.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  204.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  205.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  206.     ... 67 more
  207. 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">
  208.   <menu name="Меню" id="1">
  209.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  210.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  211.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  212.     <command name="Новая касса" code="command_NewCash" id="4"/>
  213.     <menu name="Конфигуратор" id="6">
  214.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  215.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  216.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  217.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  218.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  219.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  220.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  221.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  222.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  223.       <command name="О кассе" code="command_about" id="0"/>
  224.     </menu>
  225.     <command name="Калькулятор" code="command_Calc" id="7"/>
  226.     <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
  227.     <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
  228.     <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
  229.     <menu id="5" name="Операции с терминалом">
  230.       <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
  231.       <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
  232.       <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
  233.     </menu>
  234.   </menu>
  235. </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
  236.   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.
  237.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  238.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  239.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  240.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  241.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  242.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  243.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  244.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  245.     at java.lang.reflect.Method.invoke(Method.java:498)
  246.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  247.     at com.sun.proxy.$Proxy408.executeBatch(Unknown Source)
  248.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  249.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  250.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  251.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  252.     at java.lang.reflect.Method.invoke(Method.java:498)
  253.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  254.     ... 80 more
  255. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  256.  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).
  257.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  258.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  259.     ... 94 more
  260.  
  261. 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">
  262.   <menu name="Администратор" id="1">
  263.     <menu name="Операции со сменой" id="1">
  264.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  265.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  266.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  267.       <command name="Внесение" code="command_Introductional" id="4"/>
  268.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  269.       <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
  270.       <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
  271.     </menu>
  272.     <menu name="Возврат" id="2">
  273.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  274.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  275.       <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
  276.     </menu>
  277.     <menu name="Операции с чеком" id="3">
  278.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  279.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  280.       <command name="Повтор чека" code="command_chkRepeat" id="3"/>
  281.     </menu>
  282.     <menu name="Печать документов" id="4">
  283.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  284.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  285.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  286.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  287.       <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
  288.     </menu>
  289.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  290.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  291.     <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
  292.     <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
  293.     <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
  294.     <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
  295.   </menu>
  296. </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
  297.   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.
  298.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  299.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  300.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  301.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  302.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  303.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  304.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  305.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  306.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  307.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  308.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  309.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  310.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  311.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  312.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  313.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  314.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  315.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  316.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  317.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  318.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  319.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  320.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  321.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  322.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  323.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  324.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  325.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  326.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  327.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  328.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  329.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  330.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  331.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  332.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  333.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  334.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view873.saveOrUpdateMenu(Unknown Source)
  335.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  336.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  337.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  338.     at java.lang.reflect.Method.invoke(Method.java:498)
  339.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  340.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  341.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  342.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  343.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  344.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  345.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  346.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  347.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  348.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  349.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  350.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  351.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  352.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  353.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  354.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  355.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  356.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  357.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  358.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  359.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  360.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  361.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  362.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  363.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  364.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  365.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  366.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  367.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  368.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  369.     at java.lang.Thread.run(Thread.java:745)
  370. 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">
  371.   <menu name="Администратор" id="1">
  372.     <menu name="Операции со сменой" id="1">
  373.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  374.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  375.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  376.       <command name="Внесение" code="command_Introductional" id="4"/>
  377.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  378.       <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
  379.       <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
  380.     </menu>
  381.     <menu name="Возврат" id="2">
  382.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  383.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  384.       <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
  385.     </menu>
  386.     <menu name="Операции с чеком" id="3">
  387.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  388.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  389.       <command name="Повтор чека" code="command_chkRepeat" id="3"/>
  390.     </menu>
  391.     <menu name="Печать документов" id="4">
  392.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  393.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  394.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  395.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  396.       <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
  397.     </menu>
  398.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  399.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  400.     <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
  401.     <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
  402.     <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
  403.     <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
  404.   </menu>
  405. </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
  406.   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.
  407.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  408.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  409.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  410.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  411.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  412.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  413.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  414.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  415.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  416.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  417.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  418.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  419.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  420.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  421.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  422.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  423.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  424.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  425.     ... 67 more
  426. 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">
  427.   <menu name="Администратор" id="1">
  428.     <menu name="Операции со сменой" id="1">
  429.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  430.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  431.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  432.       <command name="Внесение" code="command_Introductional" id="4"/>
  433.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  434.       <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
  435.       <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
  436.     </menu>
  437.     <menu name="Возврат" id="2">
  438.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  439.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  440.       <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
  441.     </menu>
  442.     <menu name="Операции с чеком" id="3">
  443.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  444.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  445.       <command name="Повтор чека" code="command_chkRepeat" id="3"/>
  446.     </menu>
  447.     <menu name="Печать документов" id="4">
  448.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  449.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  450.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  451.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  452.       <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
  453.     </menu>
  454.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  455.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  456.     <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
  457.     <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
  458.     <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
  459.     <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
  460.   </menu>
  461. </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
  462.   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.
  463.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  464.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  465.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  466.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  467.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  468.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  469.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  470.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  471.     at java.lang.reflect.Method.invoke(Method.java:498)
  472.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  473.     at com.sun.proxy.$Proxy408.executeBatch(Unknown Source)
  474.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  475.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  476.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  477.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  478.     at java.lang.reflect.Method.invoke(Method.java:498)
  479.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  480.     ... 80 more
  481. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  482.  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).
  483.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  484.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  485.     ... 94 more
  486.  
  487. 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">
  488.   <menu name="Оплаты" id="1">
  489.     <menu id="0" name="Списание с карт">
  490.       <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
  491.       <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
  492.     </menu>
  493.     <command id="1" name="Типы оплат" code="command_PaymentType"/>
  494.     <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
  495.     <command id="3" name="Замена карты" code="command_MLReplace"/>
  496.     <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
  497.     <command id="5" name="Промо" code="command_Promo"/>
  498.     <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
  499.     <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
  500.     <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
  501.     <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
  502.   </menu>
  503. </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
  504.   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.
  505.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  506.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  507.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  508.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  509.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  510.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  511.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  512.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  513.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  514.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  515.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  516.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  517.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  518.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  519.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  520.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  521.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  522.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  523.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  524.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  525.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  526.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  527.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  528.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  529.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  530.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  531.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  532.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  533.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  534.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  535.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  536.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  537.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  538.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  539.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  540.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  541.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view873.saveOrUpdateMenu(Unknown Source)
  542.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  543.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  544.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  545.     at java.lang.reflect.Method.invoke(Method.java:498)
  546.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  547.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  548.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  549.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  550.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  551.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  552.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  553.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  554.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  555.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  556.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  557.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  558.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  559.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  560.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  561.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  562.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  563.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  564.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  565.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  566.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  567.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  568.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  569.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  570.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  571.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  572.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  573.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  574.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  575.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  576.     at java.lang.Thread.run(Thread.java:745)
  577. 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">
  578.   <menu name="Оплаты" id="1">
  579.     <menu id="0" name="Списание с карт">
  580.       <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
  581.       <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
  582.     </menu>
  583.     <command id="1" name="Типы оплат" code="command_PaymentType"/>
  584.     <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
  585.     <command id="3" name="Замена карты" code="command_MLReplace"/>
  586.     <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
  587.     <command id="5" name="Промо" code="command_Promo"/>
  588.     <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
  589.     <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
  590.     <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
  591.     <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
  592.   </menu>
  593. </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
  594.   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.
  595.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  596.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  597.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  598.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  599.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  600.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  601.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  602.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  603.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  604.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  605.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  606.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  607.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  608.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  609.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  610.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  611.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  612.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  613.     ... 67 more
  614. 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">
  615.   <menu name="Оплаты" id="1">
  616.     <menu id="0" name="Списание с карт">
  617.       <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
  618.       <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
  619.     </menu>
  620.     <command id="1" name="Типы оплат" code="command_PaymentType"/>
  621.     <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
  622.     <command id="3" name="Замена карты" code="command_MLReplace"/>
  623.     <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
  624.     <command id="5" name="Промо" code="command_Promo"/>
  625.     <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
  626.     <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
  627.     <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
  628.     <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
  629.   </menu>
  630. </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
  631.   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.
  632.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  633.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  634.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  635.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  636.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  637.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  638.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  639.     at java.lang.reflect.Method.invoke(Method.java:498)
  640.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  641.     at com.sun.proxy.$Proxy408.executeBatch(Unknown Source)
  642.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  643.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  644.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  645.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  646.     at java.lang.reflect.Method.invoke(Method.java:498)
  647.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  648.     ... 80 more
  649. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  650.  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).
  651.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  652.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  653.     ... 94 more
  654.  
  655. 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
  656.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  657.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  658.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  659.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  660.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  661.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  662.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  663.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  664.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  665.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  666.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  667.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  668.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  669.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  670.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  671.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  672.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  673.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  674.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  675.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  676.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  677.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  678.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  679.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  680.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view873.saveOrUpdateMenu(Unknown Source)
  681.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  682.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  683.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  684.     at java.lang.reflect.Method.invoke(Method.java:498)
  685.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  686.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  687.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  688.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  689.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  690.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  691.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  692.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  693.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  694.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  695.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  696.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  697.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  698.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  699.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  700.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  701.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  702.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  703.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  704.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  705.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  706.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  707.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  708.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  709.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  710.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  711.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  712.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  713.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  714.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  715.     at java.lang.Thread.run(Thread.java:745)
  716. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  717.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  718.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  719.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  720.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  721.     ... 58 more
  722. 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">
  723.   <menu name="Оплаты" id="1">
  724.     <menu id="0" name="Списание с карт">
  725.       <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
  726.       <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
  727.     </menu>
  728.     <command id="1" name="Типы оплат" code="command_PaymentType"/>
  729.     <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
  730.     <command id="3" name="Замена карты" code="command_MLReplace"/>
  731.     <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
  732.     <command id="5" name="Промо" code="command_Promo"/>
  733.     <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
  734.     <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
  735.     <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
  736.     <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
  737.   </menu>
  738. </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
  739.   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.
  740.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  741.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  742.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  743.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  744.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  745.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  746.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  747.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  748.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  749.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  750.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  751.     ... 61 more
  752. 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">
  753.   <menu name="Оплаты" id="1">
  754.     <menu id="0" name="Списание с карт">
  755.       <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
  756.       <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
  757.     </menu>
  758.     <command id="1" name="Типы оплат" code="command_PaymentType"/>
  759.     <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
  760.     <command id="3" name="Замена карты" code="command_MLReplace"/>
  761.     <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
  762.     <command id="5" name="Промо" code="command_Promo"/>
  763.     <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
  764.     <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
  765.     <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
  766.     <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
  767.   </menu>
  768. </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
  769.   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.
  770.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  771.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  772.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  773.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  774.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  775.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  776.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  777.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  778.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  779.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  780.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  781.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  782.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  783.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  784.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  785.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  786.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  787.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  788.     ... 67 more
  789. 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">
  790.   <menu name="Оплаты" id="1">
  791.     <menu id="0" name="Списание с карт">
  792.       <command id="1" name="SET10:Списание" code="command_chargeOffBonusesSET10"/>
  793.       <command id="2" name="Списание эл. марок" code="command_electronicMarkWriteOff"/>
  794.     </menu>
  795.     <command id="1" name="Типы оплат" code="command_PaymentType"/>
  796.     <command id="2" name="Карта по номеру телефона" code="command_SearchCardByPhone"/>
  797.     <command id="3" name="Замена карты" code="command_MLReplace"/>
  798.     <command id="4" name="ЦФТ ЭПС: Инфо" code="command_eCertCFTBonusCardInfo"/>
  799.     <command id="5" name="Промо" code="command_Promo"/>
  800.     <command id="6" name="Номер позиц. купона" code="command_PosCoupon"/>
  801.     <command id="7" name="Отправка чека покупателю" code="command_checkClientPhone"/>
  802.     <command id="8" name="Вернуть с баланса IsNext" code="command_existReturnFromBalance"/>
  803.     <command id="9" name="Пополнить баланс IsNext" code="command_existBalanceReplenish"/>
  804.   </menu>
  805. </cashMenu>' where id=2076 was aborted: ERROR: null value in column "guid" violates not-null constraint
  806.   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.
  807.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  808.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  809.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  810.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  811.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  812.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  813.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  814.     at java.lang.reflect.Method.invoke(Method.java:498)
  815.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  816.     at com.sun.proxy.$Proxy408.executeBatch(Unknown Source)
  817.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  818.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  819.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  820.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  821.     at java.lang.reflect.Method.invoke(Method.java:498)
  822.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  823.     ... 80 more
  824. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  825.  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).
  826.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  827.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  828.     ... 94 more
  829.  
  830. 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
  831.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  832.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  833.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  834.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  835.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  836.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  837.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  838.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  839.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  840.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  841.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  842.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  843.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  844.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  845.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  846.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  847.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  848.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  849.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  850.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  851.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  852.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  853.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  854.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  855.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view873.saveOrUpdateMenu(Unknown Source)
  856.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  857.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  858.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  859.     at java.lang.reflect.Method.invoke(Method.java:498)
  860.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  861.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  862.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  863.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  864.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  865.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  866.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  867.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  868.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  869.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  870.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  871.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  872.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  873.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  874.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  875.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  876.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  877.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  878.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  879.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  880.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  881.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  882.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  883.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  884.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  885.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  886.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  887.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  888.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  889.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  890.     at java.lang.Thread.run(Thread.java:745)
  891. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  892.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  893.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  894.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  895.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  896.     ... 58 more
  897. 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">
  898.   <menu name="Кассир" id="1">
  899.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  900.     <menu name="Печать документов" id="2">
  901.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  902.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  903.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  904.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  905.     </menu>
  906.     <menu name="Денежный ящик" id="3">
  907.       <command name="Открыть" code="command_Cashbox" id="1"/>
  908.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  909.     </menu>
  910.     <menu name="Отложенный чек" id="4">
  911.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  912.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  913.     </menu>
  914.     <command id="5" name="Ручная скидка" code="command_ManualPositionDiscount"/>
  915.     <menu id="6" name="Процессинги">
  916.       <command id="1" name="Спасибо:Инфо о карте" code="command_sberbankBonusCardInfo"/>
  917.       <command id="2" name="Спасибо:Списание" code="command_chargeOffBonusesCFT"/>
  918.       <command id="3" name="Plas Tek: Списание" code="command_chargeOffBonusesPT"/>
  919.     </menu>
  920.     <menu id="7" name="Остатки">
  921.       <command id="1" name="В магазине" code="command_stockBalanceOneShop"/>
  922.       <command id="2" name="В сети города" code="command_stockBalanceAllShops"/>
  923.       <command id="3" name="Отчет по кассирам/продавцам" code="command_giftomanPersonnel"/>
  924.       <command id="4" name="Отчет по метрикам магазина" code="command_giftomanMetrics"/>
  925.     </menu>
  926.     <command id="8" name="Скидка по позициям" code="command_PositionDiscounts"/>
  927.     <command id="9" name="Замена ПК" code="command_GiftCardReplace"/>
  928.     <command id="0" name="Информация по ПК" code="command_GiftCardInfo"/>
  929.   </menu>
  930. </cashMenu>' where id=2068 was aborted: ERROR: null value in column "guid" violates not-null constraint
  931.   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.
  932.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  933.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  934.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  935.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  936.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  937.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  938.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  939.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  940.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  941.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  942.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  943.     ... 61 more
  944. 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">
  945.   <menu name="Кассир" id="1">
  946.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  947.     <menu name="Печать документов" id="2">
  948.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  949.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  950.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  951.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  952.     </menu>
  953.     <menu name="Денежный ящик" id="3">
  954.       <command name="Открыть" code="command_Cashbox" id="1"/>
  955.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  956.     </menu>
  957.     <menu name="Отложенный чек" id="4">
  958.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  959.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  960.     </menu>
  961.     <command id="5" name="Ручная скидка" code="command_ManualPositionDiscount"/>
  962.     <menu id="6" name="Процессинги">
  963.       <command id="1" name="Спасибо:Инфо о карте" code="command_sberbankBonusCardInfo"/>
  964.       <command id="2" name="Спасибо:Списание" code="command_chargeOffBonusesCFT"/>
  965.       <command id="3" name="Plas Tek: Списание" code="command_chargeOffBonusesPT"/>
  966.     </menu>
  967.     <menu id="7" name="Остатки">
  968.       <command id="1" name="В магазине" code="command_stockBalanceOneShop"/>
  969.       <command id="2" name="В сети города" code="command_stockBalanceAllShops"/>
  970.       <command id="3" name="Отчет по кассирам/продавцам" code="command_giftomanPersonnel"/>
  971.       <command id="4" name="Отчет по метрикам магазина" code="command_giftomanMetrics"/>
  972.     </menu>
  973.     <command id="8" name="Скидка по позициям" code="command_PositionDiscounts"/>
  974.     <command id="9" name="Замена ПК" code="command_GiftCardReplace"/>
  975.     <command id="0" name="Информация по ПК" code="command_GiftCardInfo"/>
  976.   </menu>
  977. </cashMenu>' where id=2068 was aborted: ERROR: null value in column "guid" violates not-null constraint
  978.   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.
  979.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  980.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  981.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  982.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  983.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  984.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  985.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  986.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  987.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  988.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  989.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  990.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  991.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  992.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  993.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  994.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  995.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  996.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  997.     ... 67 more
  998. 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">
  999.   <menu name="Кассир" id="1">
  1000.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1001.     <menu name="Печать документов" id="2">
  1002.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1003.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1004.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  1005.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  1006.     </menu>
  1007.     <menu name="Денежный ящик" id="3">
  1008.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1009.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1010.     </menu>
  1011.     <menu name="Отложенный чек" id="4">
  1012.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1013.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1014.     </menu>
  1015.     <command id="5" name="Ручная скидка" code="command_ManualPositionDiscount"/>
  1016.     <menu id="6" name="Процессинги">
  1017.       <command id="1" name="Спасибо:Инфо о карте" code="command_sberbankBonusCardInfo"/>
  1018.       <command id="2" name="Спасибо:Списание" code="command_chargeOffBonusesCFT"/>
  1019.       <command id="3" name="Plas Tek: Списание" code="command_chargeOffBonusesPT"/>
  1020.     </menu>
  1021.     <menu id="7" name="Остатки">
  1022.       <command id="1" name="В магазине" code="command_stockBalanceOneShop"/>
  1023.       <command id="2" name="В сети города" code="command_stockBalanceAllShops"/>
  1024.       <command id="3" name="Отчет по кассирам/продавцам" code="command_giftomanPersonnel"/>
  1025.       <command id="4" name="Отчет по метрикам магазина" code="command_giftomanMetrics"/>
  1026.     </menu>
  1027.     <command id="8" name="Скидка по позициям" code="command_PositionDiscounts"/>
  1028.     <command id="9" name="Замена ПК" code="command_GiftCardReplace"/>
  1029.     <command id="0" name="Информация по ПК" code="command_GiftCardInfo"/>
  1030.   </menu>
  1031. </cashMenu>' where id=2068 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1032.   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.
  1033.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1034.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  1035.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1036.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1037.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1038.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1039.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  1040.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1041.     at java.lang.reflect.Method.invoke(Method.java:498)
  1042.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1043.     at com.sun.proxy.$Proxy408.executeBatch(Unknown Source)
  1044.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1045.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1046.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  1047.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1048.     at java.lang.reflect.Method.invoke(Method.java:498)
  1049.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1050.     ... 80 more
  1051. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1052.  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).
  1053.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1054.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1055.     ... 94 more
  1056.  
  1057. 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
  1058.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  1059.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  1060.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  1061.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  1062.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  1063.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1064.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  1065.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1066.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  1067.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1068.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  1069.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1070.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  1071.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1072.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  1073.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1074.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  1075.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1076.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1077.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  1078.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  1079.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1080.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1081.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  1082.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view873.saveOrUpdateMenu(Unknown Source)
  1083.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1084.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1085.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1086.     at java.lang.reflect.Method.invoke(Method.java:498)
  1087.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  1088.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  1089.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  1090.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  1091.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  1092.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  1093.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  1094.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  1095.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  1096.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  1097.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  1098.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  1099.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  1100.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  1101.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1102.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  1103.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  1104.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1105.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  1106.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  1107.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  1108.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  1109.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  1110.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  1111.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  1112.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  1113.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  1114.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  1115.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  1116.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  1117.     at java.lang.Thread.run(Thread.java:745)
  1118. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  1119.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  1120.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  1121.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  1122.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  1123.     ... 58 more
  1124. 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">
  1125.   <menu name="Администратор" id="1">
  1126.     <menu name="Операции со сменой" id="1">
  1127.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  1128.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  1129.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  1130.       <command name="Внесение" code="command_Introductional" id="4"/>
  1131.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  1132.       <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
  1133.       <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
  1134.     </menu>
  1135.     <menu name="Возврат" id="2">
  1136.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  1137.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  1138.       <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
  1139.     </menu>
  1140.     <menu name="Операции с чеком" id="3">
  1141.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  1142.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  1143.       <command name="Повтор чека" code="command_chkRepeat" id="3"/>
  1144.     </menu>
  1145.     <menu name="Печать документов" id="4">
  1146.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1147.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1148.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  1149.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  1150.       <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
  1151.     </menu>
  1152.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  1153.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  1154.     <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
  1155.     <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
  1156.     <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
  1157.     <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
  1158.   </menu>
  1159. </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1160.   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.
  1161.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  1162.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  1163.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  1164.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  1165.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  1166.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  1167.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  1168.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  1169.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  1170.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  1171.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  1172.     ... 61 more
  1173. 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">
  1174.   <menu name="Администратор" id="1">
  1175.     <menu name="Операции со сменой" id="1">
  1176.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  1177.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  1178.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  1179.       <command name="Внесение" code="command_Introductional" id="4"/>
  1180.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  1181.       <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
  1182.       <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
  1183.     </menu>
  1184.     <menu name="Возврат" id="2">
  1185.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  1186.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  1187.       <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
  1188.     </menu>
  1189.     <menu name="Операции с чеком" id="3">
  1190.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  1191.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  1192.       <command name="Повтор чека" code="command_chkRepeat" id="3"/>
  1193.     </menu>
  1194.     <menu name="Печать документов" id="4">
  1195.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1196.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1197.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  1198.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  1199.       <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
  1200.     </menu>
  1201.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  1202.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  1203.     <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
  1204.     <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
  1205.     <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
  1206.     <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
  1207.   </menu>
  1208. </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1209.   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.
  1210.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  1211.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  1212.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  1213.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  1214.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  1215.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  1216.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  1217.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  1218.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  1219.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  1220.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  1221.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  1222.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  1223.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  1224.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  1225.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  1226.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  1227.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  1228.     ... 67 more
  1229. 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">
  1230.   <menu name="Администратор" id="1">
  1231.     <menu name="Операции со сменой" id="1">
  1232.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  1233.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  1234.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  1235.       <command name="Внесение" code="command_Introductional" id="4"/>
  1236.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  1237.       <command id="6" name="Сверка по банку" code="command_BankDailyReport"/>
  1238.       <command id="7" name="Чек коррекции" code="command_correctionReceipt"/>
  1239.     </menu>
  1240.     <menu name="Возврат" id="2">
  1241.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  1242.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  1243.       <command name="Возврат ДвД" code="command_AnyReturnPurchaseOnDay" id="3"/>
  1244.     </menu>
  1245.     <menu name="Операции с чеком" id="3">
  1246.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  1247.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  1248.       <command name="Повтор чека" code="command_chkRepeat" id="3"/>
  1249.     </menu>
  1250.     <menu name="Печать документов" id="4">
  1251.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1252.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1253.       <command name="Тов-й чек посл. док." code="command_LastSaleReceipt" id="3"/>
  1254.       <command name="Товарный чек" code="command_SaleReceipt" id="4"/>
  1255.       <command name="Печать скидок по чеку" code="command_printPurchaseDiscounts" id="5"/>
  1256.     </menu>
  1257.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  1258.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  1259.     <command id="7" name="Контрольная лента (текущая смена)" code="command_controlTape_currentShift"/>
  1260.     <command id="8" name="Поиск по наименованию" code="command_searchByName"/>
  1261.     <command id="9" name="Контрольная лента (ввод номера смены)" code="command_controlTape_enterShift"/>
  1262.     <command id="0" name="Инфо по КПП" code="command_DiscountCardInfo"/>
  1263.   </menu>
  1264. </cashMenu>' where id=2070 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1265.   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.
  1266.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1267.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  1268.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1269.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1270.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1271.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1272.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  1273.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1274.     at java.lang.reflect.Method.invoke(Method.java:498)
  1275.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1276.     at com.sun.proxy.$Proxy408.executeBatch(Unknown Source)
  1277.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1278.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1279.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  1280.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1281.     at java.lang.reflect.Method.invoke(Method.java:498)
  1282.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1283.     ... 80 more
  1284. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1285.  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).
  1286.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1287.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1288.     ... 94 more
  1289.  
  1290. 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
  1291.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  1292.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  1293.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  1294.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  1295.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  1296.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1297.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  1298.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1299.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  1300.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1301.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  1302.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1303.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  1304.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1305.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  1306.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1307.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  1308.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1309.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1310.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  1311.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  1312.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1313.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1314.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  1315.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view873.saveOrUpdateMenu(Unknown Source)
  1316.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1317.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1318.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1319.     at java.lang.reflect.Method.invoke(Method.java:498)
  1320.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  1321.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  1322.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  1323.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  1324.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  1325.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  1326.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  1327.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  1328.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  1329.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  1330.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  1331.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  1332.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  1333.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  1334.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1335.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  1336.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  1337.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1338.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  1339.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  1340.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  1341.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  1342.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  1343.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  1344.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  1345.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  1346.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  1347.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  1348.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  1349.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  1350.     at java.lang.Thread.run(Thread.java:745)
  1351. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  1352.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  1353.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  1354.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  1355.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  1356.     ... 58 more
  1357. 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">
  1358.   <menu name="Меню" id="1">
  1359.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  1360.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  1361.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  1362.     <command name="Новая касса" code="command_NewCash" id="4"/>
  1363.     <menu name="Конфигуратор" id="6">
  1364.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  1365.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  1366.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  1367.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  1368.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  1369.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  1370.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  1371.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  1372.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  1373.       <command name="О кассе" code="command_about" id="0"/>
  1374.     </menu>
  1375.     <command name="Калькулятор" code="command_Calc" id="7"/>
  1376.     <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
  1377.     <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
  1378.     <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
  1379.     <menu id="5" name="Операции с терминалом">
  1380.       <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
  1381.       <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
  1382.       <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
  1383.     </menu>
  1384.   </menu>
  1385. </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1386.   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.
  1387.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  1388.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  1389.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  1390.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  1391.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  1392.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  1393.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  1394.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  1395.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  1396.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  1397.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  1398.     ... 61 more
  1399. 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">
  1400.   <menu name="Меню" id="1">
  1401.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  1402.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  1403.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  1404.     <command name="Новая касса" code="command_NewCash" id="4"/>
  1405.     <menu name="Конфигуратор" id="6">
  1406.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  1407.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  1408.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  1409.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  1410.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  1411.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  1412.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  1413.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  1414.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  1415.       <command name="О кассе" code="command_about" id="0"/>
  1416.     </menu>
  1417.     <command name="Калькулятор" code="command_Calc" id="7"/>
  1418.     <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
  1419.     <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
  1420.     <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
  1421.     <menu id="5" name="Операции с терминалом">
  1422.       <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
  1423.       <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
  1424.       <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
  1425.     </menu>
  1426.   </menu>
  1427. </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1428.   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.
  1429.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  1430.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  1431.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  1432.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  1433.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  1434.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  1435.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  1436.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  1437.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  1438.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  1439.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  1440.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  1441.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  1442.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  1443.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  1444.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  1445.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  1446.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  1447.     ... 67 more
  1448. 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">
  1449.   <menu name="Меню" id="1">
  1450.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  1451.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  1452.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  1453.     <command name="Новая касса" code="command_NewCash" id="4"/>
  1454.     <menu name="Конфигуратор" id="6">
  1455.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  1456.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  1457.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  1458.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  1459.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  1460.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  1461.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  1462.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  1463.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  1464.       <command name="О кассе" code="command_about" id="0"/>
  1465.     </menu>
  1466.     <command name="Калькулятор" code="command_Calc" id="7"/>
  1467.     <command name="Нарастающий итог" code="command_EditIncrescentTotal" id="8"/>
  1468.     <command id="9" name="ЦФТ Бонусы: Списание" code="command_chargeOffCFTBonuses"/>
  1469.     <command id="0" name="ЦФТ Бонусы: Инфо" code="command_cftBonusCardInfo"/>
  1470.     <menu id="5" name="Операции с терминалом">
  1471.       <command id="1" name="Меню пин-пада" code="command_PinPadMenu"/>
  1472.       <command id="2" name="Ввод номера телефона через терминал" code="command_checkClientPhoneFromPinPad"/>
  1473.       <command id="3" name="Отмена по банку" code="command_cancelByBank"/>
  1474.     </menu>
  1475.   </menu>
  1476. </cashMenu>' where id=2072 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1477.   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.
  1478.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1479.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  1480.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1481.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1482.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1483.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1484.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  1485.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1486.     at java.lang.reflect.Method.invoke(Method.java:498)
  1487.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1488.     at com.sun.proxy.$Proxy408.executeBatch(Unknown Source)
  1489.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1490.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1491.     at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
  1492.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1493.     at java.lang.reflect.Method.invoke(Method.java:498)
  1494.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1495.     ... 80 more
  1496. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1497.  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).
  1498.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1499.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1500.     ... 94 more
  1501.  
  1502. 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]
  1503. 29.08 12:32:04 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:243 Time:3 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
  1504. 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