Re: Not a wocomponent?
Re: Not a wocomponent?
- Subject: Re: Not a wocomponent?
- From: Chuck Hill <email@hidden>
- Date: Wed, 16 Jul 2008 20:32:08 -0700
NSLog.out.appendln("Measure is of class " +
_NSUtilities.classWithName("Measure").getCannonicalName());
That will get you the fully qualified class name.
Chuck
On Jul 16, 2008, at 5:58 PM, James Cicenia wrote:
What fix do you have?
I can't seem to locate the offending class/jar.
Thanks
James
On Jul 16, 2008, at 3:32 PM, Mike Schrag wrote:
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
_______________________________________________
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
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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