Re: class loading issue
Re: class loading issue
- Subject: Re: class loading issue
- From: Tim Worman <email@hidden>
- Date: Wed, 04 Jan 2012 10:05:57 -0800
The full package/class name is definitely specified in the model. Two entries called TimeEntry in the classpath - I'll have to check that possibility but I think not. The class represents an EO from my model and is only in the model once. Unless some process has gone rogue in the management of my classpath when I'm in dev mode?
Tim Worman
UCLA GSE&IS
On Jan 3, 2012, at 6:37 PM, Ramsey Gurley wrote:
> I'll take a stab…
>
> Maybe you have two classes named TimeEntry in the classpath? Did you specify the full class name with package in your model?
>
> Ramsey
>
> On Jan 3, 2012, at 7:29 PM, Tim Worman wrote:
>
>> Maybe I've asked a question here that I should be able to figure out the answer to. But, for me, the stack trace does not appear to refer to anything I have much control over. The class the error is referring to, TimeEntry is available and nothing has changed with regard to it.
>>
>> Has anyone seen similar types of errors that might be able to give me a hint that I can work with?
>>
>> Tim Worman
>> UCLA GSE&IS
>>
>> On Jan 2, 2012, at 1:20 PM, Tim Worman wrote:
>>
>>> A little more information -
>>>
>>> The app launches fine. The issue occurs when executing a login to the app - and would be the only time that the app uses a model for our Open Directory ldap server. However, the app has always used this model. However, I can continue executation of the app and everything works fine.
>>>
>>> On Jan 2, 2012, at 12:17 PM, Tim Worman wrote:
>>>
>>>> WO'ers:
>>>>
>>>> I am recently having a problem running my app in development. It runs fine in deployment. I don't remember exactly when it started because I've been on holiday. The app runs but then has the following runtime problem which opens the debug view in Eclipse. This is the stack trace and I don't really understand why this is occurring. If I allow the execution of the app to continue, it works without problems but I'd really like to stop this hiccup if I can. I just updated to the latest Wonder today.
>>>>
>>>> Thread [WorkerThread12] (Class load: TimeEntry)
>>>> Class<T>.forName0(String, boolean, ClassLoader) line: not available [native method]
>>>> Class<T>.forName(String) line: 169
>>>> _NSUtilities._classWithPartialName(String, boolean) line: 348
>>>> _NSUtilities.classWithName(String) line: 335
>>>> ERXModel(EOModel)._setEntityForEntityNameClassName(Object, String, String) line: 1302
>>>> ERXModel(EOModel)._addFakeEntityWithPropertyList(NSDictionary) line: 1340
>>>> ERXModel(EOModel)._initWithTableOfContentsPropertyListPathURL(NSDictionary, URL) line: 1144
>>>> ERXModel(EOModel).<init>(URL) line: 841
>>>> ERXModel.<init>(URL) line: 251
>>>> ERXModelGroup.addModelWithPathURL(URL) line: 535
>>>> ERXModelGroup.loadModelsFromLoadedBundles() line: 271
>>>> ERXExtensions.defaultModelGroup() line: 147
>>>> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
>>>> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
>>>> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
>>>> Method.invoke(Object, Object...) line: 597
>>>> NSSelector<T>._safeInvokeMethod(Method, Object, Object[]) line: 122
>>>> _NSDelegate._perform(String, Object[]) line: 223
>>>> _NSDelegate.perform(String) line: 155
>>>> EOModelGroup.defaultGroup() line: 328
>>>> EOModelGroup.modelGroupForObjectStoreCoordinator(EOObjectStoreCoordinator) line: 797
>>>> EODatabaseContext._cooperatingObjectStoreNeeded(NSNotification) line: 1155
>>>> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
>>>> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
>>>> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
>>>> Method.invoke(Object, Object...) line: 597
>>>> NSSelector<T>._safeInvokeMethod(Method, Object, Object[]) line: 122
>>>> NSNotificationCenter$_Entry.invokeMethod(NSNotification) line: 588
>>>> NSNotificationCenter.postNotification(NSNotification) line: 532
>>>> NSNotificationCenter.postNotification(String, Object, NSDictionary) line: 562
>>>> EOObjectStoreCoordinator.requestStore(EOGlobalID, EOFetchSpecification, EOEnterpriseObject) line: 223
>>>> EOObjectStoreCoordinator.objectStoreForFetchSpecification(EOFetchSpecification) line: 287
>>>> EOObjectStoreCoordinator.objectsWithFetchSpecification(EOFetchSpecification, EOEditingContext) line: 476
>>>> ERXEC(EOEditingContext).objectsWithFetchSpecification(EOFetchSpecification, EOEditingContext) line: 4069
>>>> ERXEC.objectsWithFetchSpecification(EOFetchSpecification, EOEditingContext) line: 1215
>>>> ERXEC(EOEditingContext).objectsWithFetchSpecification(EOFetchSpecification) line: 4444
>>>> _InetOrgPerson.fetchInetOrgPersons(EOEditingContext, EOQualifier, NSArray) line: 328
>>>> _InetOrgPerson.fetchInetOrgPerson(EOEditingContext, EOQualifier) line: 337
>>>> _InetOrgPerson.fetchRequiredInetOrgPerson(EOEditingContext, EOQualifier) line: 357
>>>> InetOrgPerson.ldapPersonForUsername(String) line: 39
>>>> InetOrgPerson.employeeIdForInetOrgPersonWithUsername(String) line: 57
>>>> DirectAction.loginAction() line: 297
>>>> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
>>>> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
>>>> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
>>>> Method.invoke(Object, Object...) line: 597
>>>> DirectAction(WODirectAction).performActionNamed(String) line: 144
>>>> DirectAction(ERXDirectAction).performActionNamed(String) line: 401
>>>> ERXDirectActionRequestHandler(WOActionRequestHandler)._handleRequest(WORequest) line: 259
>>>> ERXDirectActionRequestHandler(WOActionRequestHandler).handleRequest(WORequest) line: 161
>>>> ERXDirectActionRequestHandler.handleRequest(WORequest) line: 126
>>>> Application(WOApplication).dispatchRequest(WORequest) line: 1687
>>>> Application(ERXApplication).dispatchRequestImmediately(WORequest) line: 2029
>>>> Application(ERXApplication).dispatchRequest(WORequest) line: 1994
>>>> WOWorkerThread.runOnce() line: 144
>>>> WOWorkerThread.run() line: 226
>>>> Thread.run() line: 680
>>>>
>>>>
>>>>
>>>> Tim Worman
>>>> UCLA GSE&IS
>> _______________________________________________
>> 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
>
_______________________________________________
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