Flattened many-to-many relationship generates java.lang.NullPointerException while Saving a records into Database(Oracle) in WO5.1.3
Flattened many-to-many relationship generates java.lang.NullPointerException while Saving a records into Database(Oracle) in WO5.1.3
- Subject: Flattened many-to-many relationship generates java.lang.NullPointerException while Saving a records into Database(Oracle) in WO5.1.3
- From: "Ganesh Kumar D" <email@hidden>
- Date: Mon, 22 Aug 2005 19:48:27 +0530
- Importance: Normal
Hi All,
I have a flattened many -to-many relationship between two tables. when I
tried to save the records it is generating the following exception. Every
thing is looking right regarding this flatten relationship and it is in
accordance wit 5.1.3 manual. I placed the stack trace below for reference. I
will be very thankful if any one gives me the solution.
Thanks,
Ganesh
[2005-07-20 11:36:38 IST] <WorkerThread2> <WOApplication 'Commission'>:
Exception occurred while handling request:
java.lang.NullPointerException
[2005-07-20 11:36:38 IST] <WorkerThread2> java.lang.NullPointerException
at
com.webobjects.eoaccess.EODatabaseContext.primaryKeyForIntermediateRowFromSo
urceObject(EODatabaseContext.java:4845)
at
com.webobjects.eoaccess.EODatabaseContext.databaseOperationForIntermediateRo
wFromSourceObject(EODatabaseContext.java:4858)
at
com.webobjects.eoaccess.EODatabaseContext.recordInsertForIntermediateRowFrom
SourceObject(EODatabaseContext.java:4875)
at
com.webobjects.eoaccess.EODatabaseContext.relayAttributesInRelationshipSourc
eObjectDestinationObject(EODatabaseContext.java:4899)
at
com.webobjects.eoaccess.EODatabaseContext.relayAttributesInRelationshipSourc
eObjectDestinationObjects(EODatabaseContext.java:4952)
at
com.webobjects.eoaccess.EODatabaseContext.recordChangesInEditingContext(EODa
tabaseContext.java:6001)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContex
t(EOObjectStoreCoordinator.java:393)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:
2498)
at CommissionPlanPage.confirmAction(CommissionPlanPage.java:359)
at java.lang.reflect.Method.invoke(Native Method)
at
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.
java:24)
at
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKe
yValueCoding.java:1122)
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey
(NSKeyValueCoding.java:1223)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1465)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCod
ing.java:448)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.va
lueForKeyPath(NSKeyValueCodingAdditions.java:170)
at
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1531)
at
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOK
eyValueAssociation.java:46)
at
com.webobjects.appserver._private.WOActiveImage.invokeAction(WOActiveImage.j
ava:233)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.j
ava:55)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponen
tContent.java:31)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.j
ava:55)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WOGenericContainer.invokeAction(WOGenericC
ontainer.java:23)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WOGenericContainer.invokeAction(WOGenericC
ontainer.java:23)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:877)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
entReference.java:113)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.j
ava:55)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:82)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponen
tContent.java:31)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:877)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
entReference.java:113)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponen
tContent.java:31)
at
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponen
tContent.java:31)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:877)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
entReference.java:113)
at
com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSwitchCom
ponent.java:171)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:877)
at
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
entReference.java:113)
at
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
micGroup.java:101)
at
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
.java:110)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:877)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1020)
at
com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1198)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
paredPage(WOComponentRequestHandler.java:198)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
paredSession(WOComponentRequestHandler.java:279)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
paredApplication(WOComponentRequestHandler.java:314)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(W
OComponentRequestHandler.java:346)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WO
ComponentRequestHandler.java:414)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:11
33)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java
:158)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:231
)
at java.lang.Thread.run(Unknown Source)
_______________________________________________
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