• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Not a wocomponent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Not a wocomponent?
      • From: James Cicenia <email@hidden>
    • Re: Not a wocomponent?
      • From: James Cicenia <email@hidden>
References: 
 >Not a wocomponent? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: What is the best way to handle invalid values from a WOTextField?
  • Next by Date: Re: Question about reusing model entities
  • Previous by thread: Re: Not a wocomponent?
  • Next by thread: Re: Not a wocomponent?
  • Index(es):
    • Date
    • Thread