Problem with IE 6 throwing exception
Problem with IE 6 throwing exception
- Subject: Problem with IE 6 throwing exception
- From: Greg <email@hidden>
- Date: Mon, 3 Oct 2005 11:00:28 +1000
In my main component I have a subcomponent that fetches from the
database to create some menus. In testing IE 6 is causing the server
to throw an exception while Safari and Firefox do not cause it. I am
really struggling to find out why this is occuring. I am using the
default editing context of the session object to fetch these objects.
No editing or saving of objects occurs in the RR loop of this page. I
have no object named Accessories which makes it all the more baffling.
If anyone can offer suggestions would be greatly appreciated.
Regards,
Greg
com.webobjects.foundation.NSForwardException for
java.lang.IllegalStateException: Cannot obtain globalId for an object
which is registered in an other than the databaseContext's active
editingContext, object: Accessories, databaseContext:
com.webobjects.eoaccess.EODatabaseContext@a55e63, object's
editingContext: er.extensions.ERXEC@d38628, databaseContext's active
editingContext: er.extensions.ERXEC@559caa
at com.webobjects.eoaccess.EODatabaseContext._globalIDForObject
(EODatabaseContext.java:4838)
at
com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject
(EODatabaseContext.java:4955)
at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys
(EODatabaseContext.java:6692)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys
(EOObjectStoreCoordinator.java:341)
at com.webobjects.eoaccess.EOQualifierSQLGeneration
$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity
(EOQualifierSQLGeneration.java:418)
at er.extensions.ERXPrimaryKeyListQualifier
$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntit
y(ERXPrimaryKeyListQualifier.java:61)
at com.webobjects.eoaccess.EOQualifierSQLGeneration
$Support._schemaBasedQualifierWithRootEntity
(EOQualifierSQLGeneration.java:165)
at
com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecific
ation(EODatabaseChannel.java:210)
at
com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecification
EditingContext(EODatabaseContext.java:3196)
at
com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(
EODatabaseContext.java:3337)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecif
ication(EOObjectStoreCoordinator.java:539)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(
EOEditingContext.java:4053)
at er.extensions.ERXEC.objectsWithFetchSpecification(ERXEC.java:
557)
at
com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID
(EODatabaseContext.java:4251)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobal
ID(EOObjectStoreCoordinator.java:682)
at
com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID
(EOEditingContext.java:3904)
at er.extensions.ERXEC.objectsForSourceGlobalID(ERXEC.java:527)
at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault
(EODatabaseContext.java:4418)
at
com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitialization
OfObject(EOAccessArrayFaultHandler.java:70)
at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead
(_EOCheapCopyMutableArray.java:38)
at com.webobjects.eocontrol._EOCheapCopyMutableArray.count
(_EOCheapCopyMutableArray.java:92)
at
com.webobjects.eocontrol.EOSortOrdering._sortUsingKeyOrderArray
(EOSortOrdering.java:173)
at
com.webobjects.eocontrol.EOSortOrdering.sortedArrayUsingKeyOrderArray
(EOSortOrdering.java:238)
at au.com.shoebox.businesslogic.ProductCategory.orderedChildren
(ProductCategory.java:63)
at
au.com.shoebox.businesslogic.ProductCategory.allOrderedCategories
(ProductCategory.java:129)
at
au.com.shoebox.businesslogic.ProductCategory.allOrderedCategoriesWithPro
ducts(ProductCategory.java:135)
at au.com.shoebox.consumer.ConsumerNavigator.<init>
(ConsumerNavigator.java:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.webobjects.foundation._NSUtilities.instantiateObject
(_NSUtilities.java:575)
at
com.webobjects.appserver._private.WOComponentDefinition._componentInstan
ceInContext(WOComponentDefinition.java:488)
at
com.webobjects.appserver._private.WOComponentDefinition.componentInstanc
eInContext(WOComponentDefinition.java:594)
at
com.webobjects.appserver._private.WOComponentReference._pushComponentInC
ontext(WOComponentReference.java:70)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(
WOComponentReference.java:110)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons
e(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse
(WODynamicGroup.java:130)
at
com.webobjects.appserver._private.WOComponentContent.appendToResponse
(WOComponentContent.java:43)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons
e(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse
(WODynamicGroup.java:130)
at com.webobjects.appserver.WOComponent.appendToResponse
(WOComponent.java:992)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(
WOComponentReference.java:111)
at
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons
e(WODynamicGroup.java:121)
at
com.webobjects.appserver._private.WODynamicGroup.appendToResponse
(WODynamicGroup.java:130)
at com.webobjects.appserver.WOComponent.appendToResponse
(WOComponent.java:992)
at au.com.shoebox.woapplication.ShoeBoxComponent.appendToResponse
(ShoeBoxComponent.java:55)
at au.com.shoebox.woapplication.Main.appendToResponse(Main.java:40)
at com.webobjects.appserver.WOSession.appendToResponse
(WOSession.java:1198)
at er.extensions.ERXSession.appendToResponse(ERXSession.java:510)
at com.webobjects.appserver.WOApplication.appendToResponse
(WOApplication.java:1418)
at er.extensions.ERXApplication.appendToResponse
(ERXApplication.java:604)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedPage(WOComponentRequestHandler.java:230)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedSession(WOComponentRequestHandler.java:287)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleReque
st(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleReques
t(WOComponentRequestHandler.java:432)
at com.webobjects.appserver.WOApplication.dispatchRequest
(WOApplication.java:1306)
at er.extensions.ERXApplication.dispatchRequest
(ERXApplication.java:633)
at au.com.shoebox.woapplication.Application.dispatchRequest
(Application.java:296)
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:552)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden