Error Message:
Error Message:
- Subject: Error Message:
- From: Jeffrey Pearson <email@hidden>
- Date: Tue, 11 Apr 2006 11:36:07 -0700
Can someone tell me what this error means? I'd like to know what it
actually means so I can learn to troubleshoot on my own and not have
to coming running to you guys every time. Id appreciate it.
Jeff
Re-enter
metropolisadmin
Exception Description
Application:
metropolisadmin
Error:
java.lang.RuntimeException: Found null delegate. You can disable this
check by setting
er.extensions.ERXRaiseOnMissingEditingContextDelegate=false in your
WebObjects.properties
Reason:
Found null delegate. You can disable this check by setting
er.extensions.ERXRaiseOnMissingEditingContextDelegate=false in your
WebObjects.properties
Stack trace:
File
Line#
Method
Package
ERXGenericRecord.java
355
_checkEditingContextDelegate
er.extensions
ERXGenericRecord.java
406
awakeFromFetch
er.extensions
EODatabaseChannel.java
494
initializeObjects
com.webobjects.eoaccess
EODatabaseContext.java
3240
_objectsWithFetchSpecificationEditingContext
com.webobjects.eoaccess
EODatabaseContext.java
3346
objectsWithFetchSpecification
com.webobjects.eoaccess
EOObjectStoreCoordinator.java
539
objectsWithFetchSpecification
com.webobjects.eocontrol
EOEditingContext.java
4114
objectsWithFetchSpecification
com.webobjects.eocontrol
EOEditingContext.java
4500
objectsWithFetchSpecification
com.webobjects.eocontrol
EOUtilities.java
193
objectsMatchingValues
com.webobjects.eoaccess
Main.java
33
validateLogin
Main
NativeMethodAccessorImpl.java
NA
invoke0
sun.reflect
NativeMethodAccessorImpl.java
39
invoke
sun.reflect
DelegatingMethodAccessorImpl.java
25
invoke
sun.reflect
Method.java
324
invoke
java.lang.reflect
KeyValueCodingProtectedAccessor.java
54
methodValue
KeyValueCodingProtectedAccessor
NSKeyValueCoding.java
1160
valueInObject
com.webobjects.foundation
NSKeyValueCoding.java
1268
valueForKey
com.webobjects.foundation
WOComponent.java
1539
valueForKey
com.webobjects.appserver
NSKeyValueCoding.java
498
valueForKey
com.webobjects.foundation
NSKeyValueCodingAdditions.java
212
valueForKeyPath
com.webobjects.foundation
WOComponent.java
1600
valueForKeyPath
com.webobjects.appserver
WOKeyValueAssociation.java
46
valueInComponent
com.webobjects.appserver._private
WOSubmitButton.java
70
invokeAction
com.webobjects.appserver._private
WODynamicGroup.java
101
invokeChildrenAction
com.webobjects.appserver._private
WODynamicGroup.java
110
invokeAction
com.webobjects.appserver._private
WOForm.java
82
invokeAction
com.webobjects.appserver._private
WODynamicGroup.java
101
invokeChildrenAction
com.webobjects.appserver._private
WODynamicGroup.java
110
invokeAction
com.webobjects.appserver._private
WOComponent.java
945
invokeAction
com.webobjects.appserver
WOSession.java
1168
invokeAction
com.webobjects.appserver
WOApplication.java
1375
invokeAction
com.webobjects.appserver
WOComponentRequestHandler.java
196
_dispatchWithPreparedPage
com.webobjects.appserver._private
WOComponentRequestHandler.java
287
_dispatchWithPreparedSession
com.webobjects.appserver._private
WOComponentRequestHandler.java
322
_dispatchWithPreparedApplication
com.webobjects.appserver._private
WOComponentRequestHandler.java
358
_handleRequest
com.webobjects.appserver._private
WOComponentRequestHandler.java
432
handleRequest
com.webobjects.appserver._private
WOApplication.java
1306
dispatchRequest
com.webobjects.appserver
WOWorkerThread.java
173
runOnce
com.webobjects.appserver._private
WOWorkerThread.java
254
run
com.webobjects.appserver._private
Thread.java
552
run
java.lang
NA : Non applicable, JIT activated
The code that generates the error is:
public WOComponent validateLogin()
{
if(username==null || password==null){
return null;
}
NSMutableDictionary lookup = new NSMutableDictionary();
lookup.setObjectForKey(username,"username");
lookup.setObjectForKey(password,"password");
EOEditingContext ec = sess.defaultEditingContext();
NSArray result = EOUtilities.objectsMatchingValues(ec,"Users",lookup);
if(result.count()>0){
sess.currentUser = (Users)result.objectAtIndex(0);
return pageWithName("Home");
}
return null;
}
_______________________________________________
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