Hi,

I am getting an error about not being able to initialize a WOComponent from
the *archive*. The problem is that I have a class, Services that has been
changed. It no longer has some methods. I did make clean and rebuilt the
project but the WOComponent still thinks that the Service class is the *old*
Service class and thinks that Service has methods that it no longer has so
it can't initialize. Where is this archive file? Why isn't it cleaned when
the project is? Is there any way to fix this? I've run into this before and
ended up having to build a new WOComponent.

Here's the error (in case you need it). Thanks a lot

--Marc R

Feb 26 13:48:18 HO_1[282] <WOApplication 'HO_1'>: NSGenericException
exception occurred while handling request:
NSGenericException: Exception occured while evaluating 'eventDetails', on
target:<EventList 0xaf14b0>:
<WOComponent>: Cannot initialize because:
Errors initializing component 'EventDetails' from archive file:
[<Service 0xaf5440> takeValue:forKey:]: attempt to assign value to unknown
key: 'eventservicess'.
This class does not have an instance variable of the name eventservicess or
_eventservicess, nor a method of the name setEventservicess, or
_setEventservicess
Stack Trace:
NSGenericException: <WOComponent>: Cannot initialize because:
Errors initializing component 'EventDetails' from archive file:
[<Service 0xaf5440> takeValue:forKey:]: attempt to assign value to unknown
key: 'eventservicess'.
This class does not have an instance variable of the name eventservicess or
_eventservicess, nor a method of the name setEventservicess, or
_setEventservicess
 at com.apple.yellow.foundation.NSObject.<init>(NSObject.java:65)
 at com.apple.yellow.webobjects.WOElement.<init>(WOElement.java:83)
 at com.apple.yellow.webobjects.WOComponent.<init>(WOComponent.java:573)
 at EventDetails.<init>(EventDetails.java:7)
 at
com.apple.yellow.webobjects.WOComponent.pageWithName(WOComponent.java:226)
 at EventList.eventDetails(EventList.java:45)

Stack Trace:
Not available.

Reply via email to