Advertisement
fedorm

Untitled

Aug 28th, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 178.70 KB | None | 0 0
  1. 28.08 15:54:55 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:283 Time:13 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
  2. 28.08 15:55:00 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:272 START: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout[org.jboss.as.ejb3.timerservice.TimerImpl]
  3. 28.08 15:55:00 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:272 Time:4 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
  4. 28.08 15:55:03 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:213 START: ru.crystals.operday.transport.processing.ODMessageProcessorWorkhorseBean.process[25]
  5. 28.08 15:55:03 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:213 Time:7 FINISH: ru.crystals.operday.transport.processing.ODMessageProcessorWorkhorseBean.process
  6. 28.08 15:55:05 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:280 START: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout[org.jboss.as.ejb3.timerservice.TimerImpl]
  7. 28.08 15:55:05 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:280 Time:3 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
  8. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  9.   <menu name="Товары" id="1" code="">
  10.     <command name="Список товаров" code="command_Catalog" id="1"/>
  11.     <command name="Информация о товаре" code="command_Info" id="2"/>
  12.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  13.   </menu>
  14. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  15.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  16. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
  17.  Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).
  18. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  19.   <menu name="Товары" id="1" code="">
  20.     <command name="Список товаров" code="command_Catalog" id="1"/>
  21.     <command name="Информация о товаре" code="command_Info" id="2"/>
  22.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  23.   </menu>
  24. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  25.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.]
  26. 28.08 15:55:08 WARN  [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:1120fe, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@f1650e6 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  27.   <menu name="Товары" id="1" code="">
  28.     <command name="Список товаров" code="command_Catalog" id="1"/>
  29.     <command name="Информация о товаре" code="command_Info" id="2"/>
  30.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  31.   </menu>
  32. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  33.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  34.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  35.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  36.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  37.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  38.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  39.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  40.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  41.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  42.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  43.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  44.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  45.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  46.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  47.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  48.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  49.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  50.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  51.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  52.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  53.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  54.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  55.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  56.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  57.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  58.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  59.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  60.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  61.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  62.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  63.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  64.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  65.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  66.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  67.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  68.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  69.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  70.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  71.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  72.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  73.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  74.     at java.lang.reflect.Method.invoke(Method.java:498)
  75.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  76.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  77.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  78.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  79.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  80.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  81.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  82.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  83.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  84.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  85.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  86.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  87.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  88.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  89.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  90.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  91.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  92.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  93.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  94.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  95.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  96.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  97.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  98.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  99.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  100.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  101.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  102.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  103.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  104.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  105.     at java.lang.Thread.run(Thread.java:745)
  106. Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  107.   <menu name="Товары" id="1" code="">
  108.     <command name="Список товаров" code="command_Catalog" id="1"/>
  109.     <command name="Информация о товаре" code="command_Info" id="2"/>
  110.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  111.   </menu>
  112. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  113.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  114.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  115.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  116.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  117.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  118.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  119.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  120.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  121.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  122.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  123.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  124.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  125.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  126.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  127.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  128.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  129.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  130.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  131.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  132.     ... 67 more
  133. Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  134.   <menu name="Товары" id="1" code="">
  135.     <command name="Список товаров" code="command_Catalog" id="1"/>
  136.     <command name="Информация о товаре" code="command_Info" id="2"/>
  137.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  138.   </menu>
  139. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  140.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  141.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  142.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  143.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  144.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  145.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  146.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  147.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  148.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  149.     at java.lang.reflect.Method.invoke(Method.java:498)
  150.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  151.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  152.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  153.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  154.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  155.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  156.     at java.lang.reflect.Method.invoke(Method.java:498)
  157.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  158.     ... 80 more
  159. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  160.  Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).
  161.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  162.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  163.     ... 94 more
  164.  
  165. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  166.   <menu name="Кассир" id="1">
  167.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  168.     <menu name="Печать документов" id="2">
  169.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  170.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  171.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  172.     </menu>
  173.     <menu name="Денежный ящик" id="3">
  174.       <command name="Открыть" code="command_Cashbox" id="1"/>
  175.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  176.     </menu>
  177.     <menu name="Отложенный чек" id="4">
  178.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  179.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  180.     </menu>
  181.   </menu>
  182. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  183.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  184. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
  185.  Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).
  186. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  187.   <menu name="Оплаты" id="1">
  188.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  189.   </menu>
  190. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  191.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  192. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  193.   <menu name="Меню" id="1">
  194.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  195.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  196.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  197.     <command name="Новая касса" code="command_NewCash" id="4"/>
  198.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  199.     <menu name="Конфигуратор" id="6">
  200.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  201.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  202.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  203.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  204.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  205.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  206.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  207.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  208.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  209.     </menu>
  210.     <command name="Калькулятор" code="command_Calc" id="7"/>
  211.   </menu>
  212. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  213.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  214. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
  215.  Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).
  216. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  217.   <menu name="Меню" id="1">
  218.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  219.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  220.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  221.     <command name="Новая касса" code="command_NewCash" id="4"/>
  222.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  223.     <menu name="Конфигуратор" id="6">
  224.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  225.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  226.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  227.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  228.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  229.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  230.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  231.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  232.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  233.     </menu>
  234.     <command name="Калькулятор" code="command_Calc" id="7"/>
  235.   </menu>
  236. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  237.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.]
  238. 28.08 15:55:08 WARN  [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:112134, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@4293f3d3 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Меню', number=3, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  239.   <menu name="Меню" id="1">
  240.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  241.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  242.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  243.     <command name="Новая касса" code="command_NewCash" id="4"/>
  244.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  245.     <menu name="Конфигуратор" id="6">
  246.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  247.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  248.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  249.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  250.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  251.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  252.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  253.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  254.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  255.     </menu>
  256.     <command name="Калькулятор" code="command_Calc" id="7"/>
  257.   </menu>
  258. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  259.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  260.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  261.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  262.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  263.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  264.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  265.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  266.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  267.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  268.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  269.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  270.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  271.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  272.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  273.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  274.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  275.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  276.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  277.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  278.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  279.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  280.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  281.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  282.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  283.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  284.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  285.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  286.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  287.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  288.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  289.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  290.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  291.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  292.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  293.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  294.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  295.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  296.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  297.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  298.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  299.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  300.     at java.lang.reflect.Method.invoke(Method.java:498)
  301.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  302.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  303.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  304.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  305.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  306.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  307.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  308.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  309.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  310.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  311.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  312.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  313.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  314.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  315.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  316.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  317.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  318.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  319.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  320.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  321.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  322.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  323.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  324.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  325.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  326.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  327.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  328.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  329.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  330.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  331.     at java.lang.Thread.run(Thread.java:745)
  332. 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">
  333.   <menu name="Меню" id="1">
  334.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  335.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  336.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  337.     <command name="Новая касса" code="command_NewCash" id="4"/>
  338.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  339.     <menu name="Конфигуратор" id="6">
  340.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  341.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  342.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  343.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  344.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  345.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  346.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  347.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  348.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  349.     </menu>
  350.     <command name="Калькулятор" code="command_Calc" id="7"/>
  351.   </menu>
  352. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  353.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  354.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  355.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  356.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  357.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  358.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  359.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  360.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  361.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  362.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  363.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  364.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  365.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  366.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  367.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  368.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  369.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  370.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  371.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  372.     ... 67 more
  373. 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">
  374.   <menu name="Меню" id="1">
  375.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  376.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  377.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  378.     <command name="Новая касса" code="command_NewCash" id="4"/>
  379.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  380.     <menu name="Конфигуратор" id="6">
  381.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  382.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  383.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  384.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  385.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  386.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  387.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  388.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  389.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  390.     </menu>
  391.     <command name="Калькулятор" code="command_Calc" id="7"/>
  392.   </menu>
  393. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  394.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  395.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  396.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  397.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  398.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  399.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  400.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  401.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  402.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  403.     at java.lang.reflect.Method.invoke(Method.java:498)
  404.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  405.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  406.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  407.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  408.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  409.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  410.     at java.lang.reflect.Method.invoke(Method.java:498)
  411.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  412.     ... 80 more
  413. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  414.  Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).
  415.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  416.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  417.     ... 94 more
  418.  
  419. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  420.   <menu name="Администратор" id="1">
  421.     <menu name="Операции со сменой" id="1">
  422.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  423.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  424.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  425.       <command name="Внесение" code="command_Introductional" id="4"/>
  426.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  427.     </menu>
  428.     <menu name="Возврат" id="2">
  429.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  430.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  431.     </menu>
  432.     <menu name="Операции с чеком" id="3">
  433.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  434.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  435.     </menu>
  436.     <menu name="Печать документов" id="4">
  437.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  438.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  439.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  440.     </menu>
  441.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  442.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  443.   </menu>
  444. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  445.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  446. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
  447.  Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).
  448. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  449.   <menu name="Администратор" id="1">
  450.     <menu name="Операции со сменой" id="1">
  451.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  452.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  453.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  454.       <command name="Внесение" code="command_Introductional" id="4"/>
  455.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  456.     </menu>
  457.     <menu name="Возврат" id="2">
  458.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  459.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  460.     </menu>
  461.     <menu name="Операции с чеком" id="3">
  462.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  463.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  464.     </menu>
  465.     <menu name="Печать документов" id="4">
  466.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  467.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  468.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  469.     </menu>
  470.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  471.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  472.   </menu>
  473. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  474.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.]
  475. 28.08 15:55:08 WARN  [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:112172, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@7ed6da31 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Администратор', number=2, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  476.   <menu name="Администратор" id="1">
  477.     <menu name="Операции со сменой" id="1">
  478.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  479.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  480.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  481.       <command name="Внесение" code="command_Introductional" id="4"/>
  482.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  483.     </menu>
  484.     <menu name="Возврат" id="2">
  485.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  486.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  487.     </menu>
  488.     <menu name="Операции с чеком" id="3">
  489.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  490.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  491.     </menu>
  492.     <menu name="Печать документов" id="4">
  493.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  494.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  495.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  496.     </menu>
  497.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  498.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  499.   </menu>
  500. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  501.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  502.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  503.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  504.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  505.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  506.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  507.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  508.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  509.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  510.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  511.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  512.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  513.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  514.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  515.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  516.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  517.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  518.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  519.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  520.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  521.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  522.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  523.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  524.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  525.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  526.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  527.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  528.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  529.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  530.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  531.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  532.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  533.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  534.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  535.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  536.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  537.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  538.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  539.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  540.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  541.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  542.     at java.lang.reflect.Method.invoke(Method.java:498)
  543.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  544.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  545.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  546.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  547.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  548.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  549.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  550.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  551.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  552.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  553.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  554.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  555.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  556.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  557.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  558.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  559.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  560.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  561.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  562.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  563.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  564.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  565.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  566.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  567.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  568.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  569.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  570.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  571.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  572.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  573.     at java.lang.Thread.run(Thread.java:745)
  574. 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">
  575.   <menu name="Администратор" id="1">
  576.     <menu name="Операции со сменой" id="1">
  577.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  578.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  579.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  580.       <command name="Внесение" code="command_Introductional" id="4"/>
  581.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  582.     </menu>
  583.     <menu name="Возврат" id="2">
  584.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  585.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  586.     </menu>
  587.     <menu name="Операции с чеком" id="3">
  588.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  589.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  590.     </menu>
  591.     <menu name="Печать документов" id="4">
  592.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  593.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  594.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  595.     </menu>
  596.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  597.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  598.   </menu>
  599. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  600.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  601.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  602.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  603.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  604.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  605.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  606.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  607.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  608.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  609.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  610.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  611.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  612.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  613.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  614.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  615.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  616.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  617.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  618.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  619.     ... 67 more
  620. 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">
  621.   <menu name="Администратор" id="1">
  622.     <menu name="Операции со сменой" id="1">
  623.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  624.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  625.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  626.       <command name="Внесение" code="command_Introductional" id="4"/>
  627.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  628.     </menu>
  629.     <menu name="Возврат" id="2">
  630.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  631.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  632.     </menu>
  633.     <menu name="Операции с чеком" id="3">
  634.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  635.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  636.     </menu>
  637.     <menu name="Печать документов" id="4">
  638.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  639.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  640.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  641.     </menu>
  642.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  643.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  644.   </menu>
  645. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  646.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  647.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  648.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  649.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  650.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  651.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  652.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  653.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  654.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  655.     at java.lang.reflect.Method.invoke(Method.java:498)
  656.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  657.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  658.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  659.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  660.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  661.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  662.     at java.lang.reflect.Method.invoke(Method.java:498)
  663.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  664.     ... 80 more
  665. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  666.  Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).
  667.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  668.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  669.     ... 94 more
  670.  
  671. 28.08 15:55:08 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
  672.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  673.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  674.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  675.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  676.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  677.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  678.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  679.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  680.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  681.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  682.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  683.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  684.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  685.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  686.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  687.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  688.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  689.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  690.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  691.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  692.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  693.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  694.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  695.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  696.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  697.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  698.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  699.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  700.     at java.lang.reflect.Method.invoke(Method.java:498)
  701.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  702.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  703.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  704.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  705.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  706.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  707.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  708.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  709.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  710.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  711.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  712.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  713.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  714.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  715.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  716.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  717.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  718.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  719.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  720.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  721.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  722.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  723.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  724.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  725.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  726.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  727.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  728.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  729.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  730.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  731.     at java.lang.Thread.run(Thread.java:745)
  732. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  733.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  734.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  735.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  736.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  737.     ... 58 more
  738. 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">
  739.   <menu name="Меню" id="1">
  740.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  741.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  742.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  743.     <command name="Новая касса" code="command_NewCash" id="4"/>
  744.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  745.     <menu name="Конфигуратор" id="6">
  746.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  747.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  748.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  749.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  750.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  751.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  752.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  753.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  754.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  755.     </menu>
  756.     <command name="Калькулятор" code="command_Calc" id="7"/>
  757.   </menu>
  758. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  759.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  760.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  761.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  762.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  763.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  764.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  765.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  766.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  767.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  768.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  769.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  770.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  771.     ... 61 more
  772. 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">
  773.   <menu name="Меню" id="1">
  774.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  775.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  776.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  777.     <command name="Новая касса" code="command_NewCash" id="4"/>
  778.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  779.     <menu name="Конфигуратор" id="6">
  780.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  781.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  782.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  783.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  784.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  785.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  786.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  787.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  788.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  789.     </menu>
  790.     <command name="Калькулятор" code="command_Calc" id="7"/>
  791.   </menu>
  792. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  793.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  794.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  795.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  796.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  797.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  798.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  799.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  800.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  801.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  802.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  803.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  804.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  805.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  806.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  807.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  808.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  809.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  810.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  811.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  812.     ... 67 more
  813. 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">
  814.   <menu name="Меню" id="1">
  815.     <command name="Смена пользователя" code="command_ChangeUser" id="1"/>
  816.     <command name="Перезагрузка" code="command_CashRestart" id="2"/>
  817.     <command name="Выключение" code="command_CashSwitchOff" id="3"/>
  818.     <command name="Новая касса" code="command_NewCash" id="4"/>
  819.     <command name="Меню ПИН-пада" code="command_PinPadMenu" id="5"/>
  820.     <menu name="Конфигуратор" id="6">
  821.       <command name="Оборудование" code="command_ConfigurationCash" id="1"/>
  822.       <command name="Банки" code="command_ConfigurationBank" id="2"/>
  823.       <command name="Внешние процессинги" code="command_ExternalProcessing" id="3"/>
  824.       <command name="Номер магазина" code="command_ConfigurationMarketNum" id="4"/>
  825.       <command name="Юридическое лицо" code="command_ConfigurationLegal" id="5"/>
  826.       <command name="Настройка сети" code="command_ConfigurationNetwork" id="6"/>
  827.       <command name="Проверка связи" code="command_ConfigurationCheckConnect" id="7"/>
  828.       <command name="Настройка времени" code="command_ConfigurationTime" id="8"/>
  829.       <command name="Сохранение" code="command_ConfigurationSaveRestart" id="9"/>
  830.     </menu>
  831.     <command name="Калькулятор" code="command_Calc" id="7"/>
  832.   </menu>
  833. </cashMenu>' where id=18230 was aborted: ERROR: null value in column "guid" violates not-null constraint
  834.   Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  835.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  836.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  837.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  838.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  839.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  840.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  841.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  842.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  843.     at java.lang.reflect.Method.invoke(Method.java:498)
  844.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  845.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  846.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  847.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  848.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  849.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  850.     at java.lang.reflect.Method.invoke(Method.java:498)
  851.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  852.     ... 80 more
  853. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  854.  Detail: Failing row contains (18230, 3, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Меню, 1, null, null, null, null, null, null, null, null, null, f, null).
  855.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  856.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  857.     ... 94 more
  858.  
  859. 28.08 15:55:08 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
  860.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  861.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  862.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  863.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  864.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  865.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  866.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  867.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  868.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  869.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  870.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  871.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  872.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  873.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  874.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  875.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  876.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  877.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  878.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  879.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  880.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  881.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  882.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  883.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  884.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  885.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  886.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  887.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  888.     at java.lang.reflect.Method.invoke(Method.java:498)
  889.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  890.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  891.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  892.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  893.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  894.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  895.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  896.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  897.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  898.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  899.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  900.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  901.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  902.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  903.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  904.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  905.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  906.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  907.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  908.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  909.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  910.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  911.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  912.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  913.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  914.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  915.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  916.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  917.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  918.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  919.     at java.lang.Thread.run(Thread.java:745)
  920. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  921.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  922.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  923.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  924.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  925.     ... 58 more
  926. Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  927.   <menu name="Товары" id="1" code="">
  928.     <command name="Список товаров" code="command_Catalog" id="1"/>
  929.     <command name="Информация о товаре" code="command_Info" id="2"/>
  930.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  931.   </menu>
  932. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  933.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  934.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  935.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  936.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  937.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  938.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  939.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  940.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  941.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  942.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  943.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  944.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  945.     ... 61 more
  946. Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  947.   <menu name="Товары" id="1" code="">
  948.     <command name="Список товаров" code="command_Catalog" id="1"/>
  949.     <command name="Информация о товаре" code="command_Info" id="2"/>
  950.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  951.   </menu>
  952. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  953.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  954.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  955.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  956.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  957.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  958.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  959.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  960.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  961.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  962.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  963.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  964.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  965.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  966.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  967.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  968.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  969.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  970.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  971.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  972.     ... 67 more
  973. Caused by: java.sql.BatchUpdateException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Товары', number=4, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  974.   <menu name="Товары" id="1" code="">
  975.     <command name="Список товаров" code="command_Catalog" id="1"/>
  976.     <command name="Информация о товаре" code="command_Info" id="2"/>
  977.     <command name="Группы продаж" code="command_SaleGroups" id="3"/>
  978.   </menu>
  979. </cashMenu>' where id=18231 was aborted: ERROR: null value in column "guid" violates not-null constraint
  980.   Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  981.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  982.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  983.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  984.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  985.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  986.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  987.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  988.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  989.     at java.lang.reflect.Method.invoke(Method.java:498)
  990.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  991.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  992.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  993.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  994.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  995.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  996.     at java.lang.reflect.Method.invoke(Method.java:498)
  997.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  998.     ... 80 more
  999. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1000.  Detail: Failing row contains (18231, 4, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Товары, 1, null, null, null, null, null, null, null, null, null, f, null).
  1001.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1002.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1003.     ... 94 more
  1004.  
  1005. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ERROR: null value in column "guid" violates not-null constraint
  1006.  Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).
  1007. 28.08 15:55:09 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  1008.   <menu name="Оплаты" id="1">
  1009.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  1010.   </menu>
  1011. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1012.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.]
  1013. 28.08 15:55:09 WARN  [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:1120c2, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@65750a9 >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Оплаты', number=5, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  1014.   <menu name="Оплаты" id="1">
  1015.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  1016.   </menu>
  1017. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1018.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1019.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  1020.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  1021.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  1022.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  1023.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  1024.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  1025.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  1026.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  1027.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  1028.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  1029.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  1030.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  1031.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  1032.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  1033.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  1034.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  1035.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  1036.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1037.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  1038.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1039.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  1040.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1041.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  1042.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1043.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  1044.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1045.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  1046.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1047.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  1048.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1049.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1050.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  1051.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  1052.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1053.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1054.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  1055.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  1056.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1057.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1058.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1059.     at java.lang.reflect.Method.invoke(Method.java:498)
  1060.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  1061.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  1062.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  1063.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  1064.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  1065.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  1066.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  1067.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  1068.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  1069.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  1070.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  1071.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  1072.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  1073.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  1074.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1075.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  1076.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  1077.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1078.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  1079.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  1080.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  1081.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  1082.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  1083.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  1084.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  1085.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  1086.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  1087.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  1088.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  1089.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  1090.     at java.lang.Thread.run(Thread.java:745)
  1091. 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">
  1092.   <menu name="Оплаты" id="1">
  1093.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  1094.   </menu>
  1095. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1096.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1097.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  1098.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  1099.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  1100.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  1101.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  1102.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  1103.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  1104.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  1105.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  1106.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  1107.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  1108.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  1109.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  1110.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  1111.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  1112.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  1113.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  1114.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  1115.     ... 67 more
  1116. 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">
  1117.   <menu name="Оплаты" id="1">
  1118.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  1119.   </menu>
  1120. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1121.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1122.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1123.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1124.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1125.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1126.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1127.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1128.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1129.     at java.lang.reflect.Method.invoke(Method.java:498)
  1130.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1131.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  1132.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1133.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1134.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1135.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1136.     at java.lang.reflect.Method.invoke(Method.java:498)
  1137.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1138.     ... 80 more
  1139. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1140.  Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).
  1141.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1142.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1143.     ... 94 more
  1144.  
  1145. 28.08 15:55:08 ERROR [org.hibernate.engine.jdbc.batch.internal.BatchingBatch] HHH000315: Exception executing batch [Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  1146.   <menu name="Кассир" id="1">
  1147.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1148.     <menu name="Печать документов" id="2">
  1149.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1150.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1151.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1152.     </menu>
  1153.     <menu name="Денежный ящик" id="3">
  1154.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1155.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1156.     </menu>
  1157.     <menu name="Отложенный чек" id="4">
  1158.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1159.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1160.     </menu>
  1161.   </menu>
  1162. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1163.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.]
  1164. 28.08 15:55:09 WARN  [com.arjuna.ats.arjuna] ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff7f000101:-4a6d5047:5d6642f3:1121ae, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@1c183dd >: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Batch entry 0 update cash_menu set cashtemplateentity_id=1, cash_type='POS', content_data=NULL, content_info=NULL, date_from=NULL, date_to=NULL, day_of_week=NULL, deleted='FALSE', guid=NULL, menu_schedule_id=NULL, name='Кассир', number=1, parent_guid=NULL, time_from=NULL, time_to=NULL, xmlContent='<cashMenu xsi:schemaLocation="http://www.example.org/cash-menu cash-menu.xsd " xmlns="http://www.example.org/cash-menu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  1165.   <menu name="Кассир" id="1">
  1166.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1167.     <menu name="Печать документов" id="2">
  1168.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1169.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1170.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1171.     </menu>
  1172.     <menu name="Денежный ящик" id="3">
  1173.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1174.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1175.     </menu>
  1176.     <menu name="Отложенный чек" id="4">
  1177.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1178.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1179.     </menu>
  1180.   </menu>
  1181. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1182.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1183.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  1184.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  1185.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  1186.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  1187.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  1188.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  1189.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  1190.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  1191.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  1192.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  1193.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  1194.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  1195.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  1196.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  1197.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  1198.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  1199.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  1200.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1201.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  1202.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1203.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  1204.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1205.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  1206.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1207.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  1208.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1209.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  1210.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1211.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  1212.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1213.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1214.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  1215.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  1216.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1217.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1218.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  1219.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  1220.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1221.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1222.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1223.     at java.lang.reflect.Method.invoke(Method.java:498)
  1224.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  1225.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  1226.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  1227.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  1228.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  1229.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  1230.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  1231.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  1232.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  1233.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  1234.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  1235.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  1236.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  1237.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  1238.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1239.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  1240.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  1241.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1242.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  1243.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  1244.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  1245.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  1246.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  1247.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  1248.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  1249.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  1250.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  1251.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  1252.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  1253.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  1254.     at java.lang.Thread.run(Thread.java:745)
  1255. 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">
  1256.   <menu name="Кассир" id="1">
  1257.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1258.     <menu name="Печать документов" id="2">
  1259.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1260.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1261.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1262.     </menu>
  1263.     <menu name="Денежный ящик" id="3">
  1264.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1265.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1266.     </menu>
  1267.     <menu name="Отложенный чек" id="4">
  1268.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1269.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1270.     </menu>
  1271.   </menu>
  1272. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1273.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1274.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  1275.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  1276.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  1277.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  1278.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  1279.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  1280.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  1281.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  1282.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  1283.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  1284.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  1285.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  1286.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  1287.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  1288.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  1289.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  1290.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  1291.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  1292.     ... 67 more
  1293. 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">
  1294.   <menu name="Кассир" id="1">
  1295.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1296.     <menu name="Печать документов" id="2">
  1297.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1298.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1299.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1300.     </menu>
  1301.     <menu name="Денежный ящик" id="3">
  1302.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1303.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1304.     </menu>
  1305.     <menu name="Отложенный чек" id="4">
  1306.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1307.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1308.     </menu>
  1309.   </menu>
  1310. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1311.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1312.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1313.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  1314.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1315.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1316.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1317.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1318.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1319.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1320.     at java.lang.reflect.Method.invoke(Method.java:498)
  1321.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1322.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  1323.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1324.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1325.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1326.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1327.     at java.lang.reflect.Method.invoke(Method.java:498)
  1328.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1329.     ... 80 more
  1330. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1331.  Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).
  1332.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1333.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1334.     ... 94 more
  1335.  
  1336. 28.08 15:55:08 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
  1337.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  1338.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  1339.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  1340.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  1341.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  1342.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1343.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  1344.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1345.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  1346.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1347.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  1348.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1349.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  1350.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1351.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  1352.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1353.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  1354.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1355.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1356.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  1357.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  1358.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1359.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1360.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  1361.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  1362.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1363.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1364.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1365.     at java.lang.reflect.Method.invoke(Method.java:498)
  1366.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  1367.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  1368.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  1369.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  1370.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  1371.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  1372.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  1373.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  1374.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  1375.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  1376.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  1377.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  1378.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  1379.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  1380.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1381.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  1382.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  1383.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1384.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  1385.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  1386.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  1387.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  1388.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  1389.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  1390.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  1391.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  1392.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  1393.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  1394.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  1395.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  1396.     at java.lang.Thread.run(Thread.java:745)
  1397. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  1398.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  1399.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  1400.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  1401.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  1402.     ... 58 more
  1403. 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">
  1404.   <menu name="Администратор" id="1">
  1405.     <menu name="Операции со сменой" id="1">
  1406.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  1407.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  1408.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  1409.       <command name="Внесение" code="command_Introductional" id="4"/>
  1410.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  1411.     </menu>
  1412.     <menu name="Возврат" id="2">
  1413.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  1414.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  1415.     </menu>
  1416.     <menu name="Операции с чеком" id="3">
  1417.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  1418.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  1419.     </menu>
  1420.     <menu name="Печать документов" id="4">
  1421.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1422.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1423.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1424.     </menu>
  1425.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  1426.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  1427.   </menu>
  1428. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1429.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1430.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  1431.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  1432.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  1433.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  1434.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  1435.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  1436.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  1437.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  1438.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  1439.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  1440.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  1441.     ... 61 more
  1442. 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">
  1443.   <menu name="Администратор" id="1">
  1444.     <menu name="Операции со сменой" id="1">
  1445.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  1446.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  1447.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  1448.       <command name="Внесение" code="command_Introductional" id="4"/>
  1449.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  1450.     </menu>
  1451.     <menu name="Возврат" id="2">
  1452.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  1453.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  1454.     </menu>
  1455.     <menu name="Операции с чеком" id="3">
  1456.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  1457.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  1458.     </menu>
  1459.     <menu name="Печать документов" id="4">
  1460.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1461.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1462.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1463.     </menu>
  1464.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  1465.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  1466.   </menu>
  1467. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1468.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1469.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  1470.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  1471.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  1472.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  1473.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  1474.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  1475.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  1476.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  1477.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  1478.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  1479.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  1480.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  1481.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  1482.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  1483.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  1484.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  1485.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  1486.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  1487.     ... 67 more
  1488. 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">
  1489.   <menu name="Администратор" id="1">
  1490.     <menu name="Операции со сменой" id="1">
  1491.       <command name="Открыть смену" code="command_ShiftOpen" id="1"/>
  1492.       <command name="Закрыть смену" code="command_ShiftClose" id="2"/>
  1493.       <command name="Х-Отчёт" code="command_XReport" id="3"/>
  1494.       <command name="Внесение" code="command_Introductional" id="4"/>
  1495.       <command name="Изъятие" code="command_Withdrawal" id="5"/>
  1496.     </menu>
  1497.     <menu name="Возврат" id="2">
  1498.       <command name="Возврат по чеку" code="command_ReturnPurchase" id="1"/>
  1499.       <command name="Произвольный возврат" code="command_AnyReturnPurchase" id="2"/>
  1500.     </menu>
  1501.     <menu name="Операции с чеком" id="3">
  1502.       <command name="Редактирование" code="command_chkEdit" id="1"/>
  1503.       <command name="Аннулирование" code="command_Cancellation" id="2"/>
  1504.     </menu>
  1505.     <menu name="Печать документов" id="4">
  1506.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1507.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1508.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1509.     </menu>
  1510.     <command name="Банковские операции" code="command_bankMenu" id="5"/>
  1511.     <command name="Коррекция стоимости" code="command_correctionValue" id="6"/>
  1512.   </menu>
  1513. </cashMenu>' where id=18229 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1514.   Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1515.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1516.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  1517.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1518.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1519.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1520.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1521.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1522.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1523.     at java.lang.reflect.Method.invoke(Method.java:498)
  1524.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1525.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  1526.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1527.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1528.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1529.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1530.     at java.lang.reflect.Method.invoke(Method.java:498)
  1531.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1532.     ... 80 more
  1533. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1534.  Detail: Failing row contains (18229, 2, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Администратор, 1, null, null, null, null, null, null, null, null, null, f, null).
  1535.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1536.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1537.     ... 94 more
  1538.  
  1539. 28.08 15:55:09 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
  1540.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  1541.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  1542.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  1543.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  1544.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  1545.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1546.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  1547.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1548.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  1549.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1550.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  1551.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1552.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  1553.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1554.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  1555.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1556.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  1557.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1558.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1559.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  1560.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  1561.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1562.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1563.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  1564.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  1565.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1566.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1567.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1568.     at java.lang.reflect.Method.invoke(Method.java:498)
  1569.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  1570.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  1571.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  1572.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  1573.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  1574.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  1575.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  1576.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  1577.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  1578.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  1579.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  1580.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  1581.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  1582.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  1583.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1584.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  1585.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  1586.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1587.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  1588.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  1589.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  1590.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  1591.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  1592.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  1593.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  1594.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  1595.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  1596.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  1597.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  1598.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  1599.     at java.lang.Thread.run(Thread.java:745)
  1600. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  1601.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  1602.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  1603.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  1604.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  1605.     ... 58 more
  1606. 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">
  1607.   <menu name="Кассир" id="1">
  1608.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1609.     <menu name="Печать документов" id="2">
  1610.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1611.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1612.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1613.     </menu>
  1614.     <menu name="Денежный ящик" id="3">
  1615.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1616.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1617.     </menu>
  1618.     <menu name="Отложенный чек" id="4">
  1619.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1620.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1621.     </menu>
  1622.   </menu>
  1623. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1624.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1625.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  1626.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  1627.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  1628.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  1629.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  1630.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  1631.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  1632.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  1633.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  1634.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  1635.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  1636.     ... 61 more
  1637. 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">
  1638.   <menu name="Кассир" id="1">
  1639.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1640.     <menu name="Печать документов" id="2">
  1641.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1642.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1643.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1644.     </menu>
  1645.     <menu name="Денежный ящик" id="3">
  1646.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1647.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1648.     </menu>
  1649.     <menu name="Отложенный чек" id="4">
  1650.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1651.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1652.     </menu>
  1653.   </menu>
  1654. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1655.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1656.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  1657.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  1658.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  1659.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  1660.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  1661.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  1662.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  1663.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  1664.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  1665.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  1666.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  1667.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  1668.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  1669.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  1670.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  1671.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  1672.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  1673.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  1674.     ... 67 more
  1675. 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">
  1676.   <menu name="Кассир" id="1">
  1677.     <command name="Редактирование чека" code="command_chkEdit" id="1"/>
  1678.     <menu name="Печать документов" id="2">
  1679.       <command name="Копия последнего док." code="command_DocLastCopy" id="1"/>
  1680.       <command name="Копия документа" code="command_PurchaseCopy" id="2"/>
  1681.       <command name="Товарный чек" code="command_LastSaleReceipt" id="3"/>
  1682.     </menu>
  1683.     <menu name="Денежный ящик" id="3">
  1684.       <command name="Открыть" code="command_Cashbox" id="1"/>
  1685.       <command name="Декларировать" code="command_CashboxDeclaration" id="2"/>
  1686.     </menu>
  1687.     <menu name="Отложенный чек" id="4">
  1688.       <command name="Отложить чек" code="command_PostponedPurchase" id="1"/>
  1689.       <command name="Поиск отложенного" code="command_PostponedPurchaseSearch" id="2"/>
  1690.     </menu>
  1691.   </menu>
  1692. </cashMenu>' where id=18228 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1693.   Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1694.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1695.     at org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:50)
  1696.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1697.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1698.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1699.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1700.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1701.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1702.     at java.lang.reflect.Method.invoke(Method.java:498)
  1703.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1704.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  1705.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1706.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1707.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1708.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1709.     at java.lang.reflect.Method.invoke(Method.java:498)
  1710.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1711.     ... 80 more
  1712. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1713.  Detail: Failing row contains (18228, 1, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Кассир, 1, null, null, null, null, null, null, null, null, null, f, null).
  1714.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1715.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1716.     ... 94 more
  1717.  
  1718. 28.08 15:55:09 ERROR [org.jboss.ejb3.invocation] JBAS014134: EJB Invocation failed on component SET/CashManager for method public abstract ru.crystals.setretailx.cash.menu.MenuVO ru.crystals.setretailx.cash.CashManagerRemote.saveOrUpdateMenu(java.lang.String,ru.crystals.setretailx.cash.menu.MenuVO,java.lang.Long): javax.ejb.EJBTransactionRolledbackException: Transaction rolled back
  1719.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:115)
  1720.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:95)
  1721.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)
  1722.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
  1723.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
  1724.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1725.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  1726.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1727.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:76)
  1728.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1729.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
  1730.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1731.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  1732.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1733.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
  1734.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1735.     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
  1736.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1737.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1738.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
  1739.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
  1740.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
  1741.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  1742.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
  1743.     at ru.crystals.setretailx.cash.CashManagerLocal$$$view28.saveOrUpdateMenu(Unknown Source)
  1744.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1745.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1746.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1747.     at java.lang.reflect.Method.invoke(Method.java:498)
  1748.     at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
  1749.     at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  1750.     at ru.crystals.commons.httptransport.FlexAdapter.serviceMessage(FlexAdapter.java:59)
  1751.     at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
  1752.     at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
  1753.     at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
  1754.     at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  1755.     at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  1756.     at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  1757.     at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
  1758.     at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
  1759.     at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
  1760.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  1761.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
  1762.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1763.     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
  1764.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
  1765.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
  1766.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  1767.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
  1768.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
  1769.     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
  1770.     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
  1771.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
  1772.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  1773.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  1774.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
  1775.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
  1776.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
  1777.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
  1778.     at java.lang.Thread.run(Thread.java:745)
  1779. Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  1780.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
  1781.     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
  1782.     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  1783.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)
  1784.     ... 58 more
  1785. 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">
  1786.   <menu name="Оплаты" id="1">
  1787.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  1788.   </menu>
  1789. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1790.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1791.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
  1792.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
  1793.     at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
  1794.     at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
  1795.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
  1796.     at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
  1797.     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
  1798.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
  1799.     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
  1800.     at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
  1801.     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
  1802.     ... 61 more
  1803. 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">
  1804.   <menu name="Оплаты" id="1">
  1805.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  1806.   </menu>
  1807. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1808.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1809.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128)
  1810.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  1811.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
  1812.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
  1813.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
  1814.     at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
  1815.     at com.sun.proxy.$Proxy410.executeBatch(Unknown Source)
  1816.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
  1817.     at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101)
  1818.     at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161)
  1819.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162)
  1820.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:267)
  1821.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:187)
  1822.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
  1823.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
  1824.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
  1825.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)
  1826.     at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
  1827.     ... 67 more
  1828. 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">
  1829.   <menu name="Оплаты" id="1">
  1830.     <command name="Типы оплат" code="command_PaymentType" id="1"/>
  1831.   </menu>
  1832. </cashMenu>' where id=18232 was aborted: ERROR: null value in column "guid" violates not-null constraint
  1833.   Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).  Call getNextException to see other errors in the batch.
  1834.     at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)
  1835.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2179)
  1836.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  1837.     at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  1838.     at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  1839.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1840.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1841.     at java.lang.reflect.Method.invoke(Method.java:498)
  1842.     at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:428)
  1843.     at com.sun.proxy.$Proxy409.executeBatch(Unknown Source)
  1844.     at org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:708)
  1845.     at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1072)
  1846.     at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
  1847.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1848.     at java.lang.reflect.Method.invoke(Method.java:498)
  1849.     at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
  1850.     ... 80 more
  1851. Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "guid" violates not-null constraint
  1852.  Detail: Failing row contains (18232, 5, POS, <cashMenu xsi:schemaLocation="http://www.example.org/cash-menu c..., Оплаты, 1, null, null, null, null, null, null, null, null, null, f, null).
  1853.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  1854.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  1855.     ... 94 more
  1856.  
  1857. 28.08 15:55:10 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:292 START: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout[org.jboss.as.ejb3.timerservice.TimerImpl]
  1858. 28.08 15:55:10 INFO  [ru.crystals.speedlog] SPEEDLOG> ThreadID:292 Time:10 FINISH: ru.crystals.cards.segments.load.SegmentsFileReader.handleTimeout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement