Dec 02 08:24:34 BakeryManagementJavaClient[60404] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - === Begin Internal Transaction
Dec 02 08:24:34 BakeryManagementJavaClient[60404] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.MicrosoftPlugIn$MicrosoftExpression: "SELECT t0.External_Lot_Code_ID, t0.External_Lot_Code_Value, t0.External_Part_Number, t0.Lot_Code_ID FROM dbo.MSDynamics_Lot_Code t0 WHERE UPPER(t0.External_Lot_Code_Value) LIKE UPPER(?) ESCAPE '\'" withBindings: 1:"8P31808269%"(externalLotCodeValue)>
Dec 02 08:24:37 BakeryManagementJavaClient[60404] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - 45 row(s) processed
Dec 02 08:24:37 BakeryManagementJavaClient[60404] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - === Commit Internal Transaction
Dec 02 08:24:37 BakeryManagementJavaClient[60404] (ERXDatabaseContextDelegate.java:153) INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: The object with globalID _EOIntegralKeyGlobalID[LotCode (java.lang.Long)143937] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity).
Dec 02 08:24:37 BakeryManagementJavaClient[60404] (ERXEntityDependencyOrderingDelegate.java:69) ERROR com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate - Unexpected non-EOGeneralAdaptorException exception
java.lang.IllegalStateException: The object with globalID _EOIntegralKeyGlobalID[LotCode (java.lang.Long)143937] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity).
at com.webobjects.eoaccess.EODatabaseContext._fetchSingleObject(EODatabaseContext.java:3583)
at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2532)
at com.webobjects.eoaccess.EODatabaseContext.initializeObjectRowEntityEditingContext(EODatabaseContext.java:2433)
at com.webobjects.eoaccess.EODatabaseContext.initializeObject(EODatabaseContext.java:3734)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.initializeObject(EOObjectStoreCoordinator.java:646)
at com.webobjects.eocontrol.EOEditingContext.initializeObject(EOEditingContext.java:3805)
at er.extensions.eof.ERXEC.initializeObject(ERXEC.java:1047)
at com.webobjects.eoaccess.EODatabaseChannel$_EODatabaseChannelFetchResult.initializeObjects(EODatabaseChannel.java:478)
at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3240)
at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3346)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:539)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4114)
at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1109)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4500)
at com.webobjects.eodistribution.EODistributionContext$_RemoteMethodReceiver.clientSideRequestObjectsForFetchSpecification(EODistributionContext.java:1103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
at com.webobjects.foundation.NSSelector._safeInvokeSelector(NSSelector.java:108)
at com.webobjects.eodistribution.common._EOServerInvocation.doInvokeWithTarget(_EOServerInvocation.java:140)
at com.webobjects.eodistribution.EODistributionContext._processClientRequest(EODistributionContext.java:488)
at com.webobjects.eodistribution.EODistributionContext.responseToClientMessage(EODistributionContext.java:577)
at com.webobjects.eodistribution.WOJavaClientComponent.handleClientRequest(WOJavaClientComponent.java:1105)
at com.webobjects.eodistribution.WOJavaClientComponent.invokeAction(WOJavaClientComponent.java:343)
at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:104)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:945)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1168)
at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1375)
at er.extensions.appserver.ajax.ERXAjaxApplication.invokeAction(ERXAjaxApplication.java:48)
at er.extensions.appserver.ERXApplication.invokeAction(ERXApplication.java:1529)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:196)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:287)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:432)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1646)
at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1610)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:613)