On Aug 18, 2009, at 8:27 PM, Michael Hast wrote:
> The exception went away. I am not sure why. My code creates 100
> Person objects in memory, saving it to the session's editing context
> like AjaxExample. I added a fetch for all Person records to make
> sure that I am not creating more than 100 Person records. Maybe that
> loads the ERXEntityClassDescription :-/
Maybe it figured calling you a dummy several times was enough. :-P
Seriously though, I've seen some other places where Dummy exceptions
are thrown, but don't seem to affect the running application.
What are they?
Dave
>
> Michael.
>
> Michael Hast wrote:
>> Hi:
>> Wonder 5.0.0.9315
>> I am using the JavaMemoryAdaptor similar to AjaxExample, but I am
>> not using the ERPrototypes nor my own prototypes (as I was
>> struggling to get that to work). I am getting the following
>> exception which appears to not effect the application.
>> 13566 [WorkerThread1] ERROR
>> er.extensions.eof.ERXEntityClassDescription - Unable to register
>> descriptions for class: com.desertsky.DSSAjaxExample.domain.Person
>> java.lang.RuntimeException: Dummy
>> at er.extensions.eof.ERXEntityClassDescription
>> $Factory.registerDescriptionForClass(ERXEntityClassDescription.java:
>> 607) at er.extensions.eof.ERXEntityClassDescription
>> $
>> Factory
>> .classDescriptionNeededForClass(ERXEntityClassDescription.java:
>> 382) 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._safeInvokeMethod(NSSelector.java:
>> 122)
>> at com.webobjects.foundation.NSNotificationCenter
>> $_Entry.invokeMethod(NSNotificationCenter.java:588) at
>> com
>> .webobjects
>> .foundation
>> .NSNotificationCenter.postNotification(NSNotificationCenter.java:
>> 532) at
>> com
>> .webobjects
>> .foundation
>> .NSNotificationCenter.postNotification(NSNotificationCenter.java:
>> 546) at
>> com
>> .webobjects
>> .eocontrol
>> .EOClassDescription
>> .classDescriptionForClass(EOClassDescription.java:248) at
>> com
>> .webobjects
>> .eocontrol
>> .EOGenericRecord.__setClassDescription(EOGenericRecord.java:96)
>> at
>> com
>> .webobjects.eocontrol.EOGenericRecord.<init>(EOGenericRecord.java:73)
>> at
>> com
>> .desertsky
>> .DSSDatabaseObject.DSSDatabaseObject.<init>(DSSDatabaseObject.java:
>> 73) at
>> com
>> .desertsky.DSSAjaxExample.domain.auto._Person.<init>(_Person.java:31)
>> at com.desertsky.DSSAjaxExample.domain.Person.<init>(Person.java:
>> 37)
>> at
>> com
>> .desertsky
>> .DSSAjaxExample
>> .ui
>> .DSSAjaxWOToOneRelationshipExample
>> .create100PersonObjects(DSSAjaxWOToOneRelationshipExample.java:71)
>> How can I get rid of this exception ERROR? I never had to mess with
>> the EOClassDescription before?!?
>> Michael.
>
> --
> Tel: (520) 572-9410
> Desert Sky Software: www.desertsky.com
> Specializing in the Development and Hosting of
> e-Business Applications.
>
>
This archive was generated by hypermail 2.0.0 : Wed Aug 19 2009 - 07:30:18 EDT