• 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
Weird WOComponentDefinition error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird WOComponentDefinition error


  • Subject: Weird WOComponentDefinition error
  • From: "Erlandsson Martin" <email@hidden>
  • Date: Thu, 11 Mar 2004 08:19:41 +0100
  • Thread-topic: Weird WOComponentDefinition error

Hi list!

We have a wo application ("MyApplication.woa" below) with a number of different templates that extend WOComponent. After converting from WO4.5 to WO5, two of these refuse to be instantiated , with the following
exception:

java.lang.IllegalStateException: Unable to find framework named "MyApplication".
	at com.webobjects.appserver._private.WOComponentDefinition.<init>(WOCompone
ntDefinition.java:179)
	at com.webobjects.appserver.WOApplication._componentDefinitionFromClassName
d(WOApplication.java:2350)
	at com.webobjects.appserver.WOApplication._componentDefinition(WOApplicatio
n.java:2445)
	at com.webobjects.appserver.WOApplication.dynamicElementWithName(WOApplicat
ion.java:2042)
	at com.webobjects.appserver._private.WOSwitchComponent._realComponentWithNa
me(WOSwitchComponent.java:111)
	at com.webobjects.appserver._private.WOSwitchComponent.appendToResponse(WOS
witchComponent.java:193)
	at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons
e(WODynamicGroup.java:121)
	at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODyna
micGroup.java:130)
	at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:9
92)


All other components are being loaded and instantiated correctly, and I can't see how the two problem templates differ from the rest.
Reflection is used to find the class names.

How can I solve our further analyze this problem?


Thanks,

/MartinA
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Problems with WOB and Xcode talking (still)
  • Next by Date: Re: Problems with WOB and Xcode talking (still)
  • Previous by thread: Re: Problems with WOB and Xcode talking
  • Next by thread: Re: Weird WOComponentDefinition error
  • Index(es):
    • Date
    • Thread