On tirsdag, aug 5, 2003, at 16:52 Europe/Oslo, Ulrich Köster wrote:
> I take a look at it. Could you try to disable the NSProjectSearchPath
> argument in the launch config.
After I disabled NSProjectSearchPath, the application started OK.
Accessing it lead to the error pasted into the bottom of this email.
The path to my project is "/Users/halset/bildearkiv", so I guess it
does not contain a "-".
I tried to create a new empty project and got the same error.
- Tore.
[2003-08-05 17:34:50 CEST] <main> Opening application's URL in browser:
http://10.0.0.3:50600/cgi-bin/WebObjects/bildearkiv.woa
[2003-08-05 17:34:50 CEST] <main> Waiting for requests...
[2003-08-05 17:34:54 CEST] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentDefinition> WARNING:
Unable to find component class named "Main". If this is not intended
to be a classless component, check your framework settings and the
contents of your classpath file (in the .woa's Contents/<PLATFORM_NAME>
subdirectory).
[2003-08-05 17:34:54 CEST] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
com.webobjects.foundation.NSForwardException
[java.lang.ClassCastException] null
[2003-08-05 17:34:54 CEST] <WorkerThread0>
com.webobjects.foundation.NSForwardException for
java.lang.ClassCastException
at
no.thc.bildearkiv.components.PageLayoutComponent.<init>(PageLayoutCompon
ent.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.ja
va:529)
at
com.webobjects.appserver._private.WOComponentDefinition._componentInstan
ceInContext(WOComponentDefinition.java:462)
at
com.webobjects.appserver._private.WOComponentDefinition.componentInstanc
eInContext(WOComponentDefinition.java:572)
at
com.webobjects.appserver._private.WOComponentReference._pushComponentInC
ontext(WOComponentReference.java:79)
at
com.webobjects.appserver._private.WOComponentReference.appendToResponse(
WOComponentReference.java:119)
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
97)
at
com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1168)
at
com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.ja
va:1359)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedPage(WOComponentRequestHandler.java:230)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedSession(WOComponentRequestHandler.java:287)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleReque
st(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleReques
t(WOComponentRequestHandler.java:432)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav
a:1247)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.
java:167)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java
:248)
at java.lang.Thread.run(Thread.java:554)
This archive was generated by hypermail 2.0.0 : Tue Aug 05 2003 - 11:40:33 EDT