Re: Not a wocomponent?
Re: Not a wocomponent?
- Subject: Re: Not a wocomponent?
- From: Mike Schrag <email@hidden>
- Date: Wed, 16 Jul 2008 16:32:43 -0400
java.lang.IllegalArgumentException:
<com.webobjects.appserver._private.WOComponentDefinition> Class
'Measure' exists but is not a subclass of WOComponent.
[2008-07-16 13:40:08 CDT] <WorkerThread0>
java.lang.IllegalArgumentException:
<com.webobjects.appserver._private.WOComponentDefinition> Class
'Measure' exists but is not a subclass of WOComponent.
I love this error ... Why the heck doesn't it tell you wtf the full
class name is? OK, it's not WOComponent. What is it? It should also
tell you the name of the jar that the class came from. It would
nearly immediately diagnose this problem for people. This is likely a
result of a bug in NSBundle when you embed frameworks that causes your
application jar files to mingle with the framework jar files rather
than supersede them in the classpath. I do have a fix for this (and
maybe it's in 5.4.2 also, I'm not sure if it made it in, though), but
it requires a modified NSBundle.
ms
_______________________________________________
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