Re: die terrible error message
Re: die terrible error message
- Subject: Re: die terrible error message
- From: Clark Mueller <email@hidden>
- Date: Fri, 28 Sep 2007 01:23:27 -0600
Point of curiosity - is "new NextPage(context())" functionally the
same as pageWithName("NextPage")? I had always assumed that
pageWithName() did extra initializations, but I would love to know if
that's not the case.
Clark
On 27 Sep 07, at 6:44 PM, Mike Schrag wrote:
I'm preserving this here for all time so Future Me doesn't get as
annoyed as Present Me.
If you ever get:
java.lang.IllegalStateException: Unable to find framework named
"<TheNameOfYourApp>".
at
com
.webobjects
.appserver
._private.WOComponentDefinition.<init>(WOComponentDefinition.java:179)
at
com
.webobjects
.appserver
.WOApplication._componentDefinitionFromClassNamed(WOApplication.java:
2353)
at
com
.webobjects
.appserver.WOApplication._componentDefinition(WOApplication.java:2448)
at
com
.webobjects
.appserver.WOComponent._componentDefinition(WOComponent.java:475)
at com.webobjects.appserver.WOComponent.<init>(WOComponent.java:233)
You have done one of the following:
1) return new NextPage(context) instead of pageWithName("NextPage")
(or pageWithName(NextPage.class.getName()) )
or 2) you have put your .wo folder in a naughty place -- the case we
ran into was accidentally creating a component INSIDE another
component (note to self -- make wolips consider this an error). I
think this can also happen if you put a component in a java source
package by accident.
This goes on my list of top useless exceptions in WO :)
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