On Aug 16, 2006, at 17:31, François Reboursier wrote:

Now on to my other problem (and the last one I hope ! ): when I run the app (in Eclipse or from the command-line) I get the following:

<WorkerThread0> <DirectAction>: Exception in performActionNamed() on the action "default" with the message: java.lang.NullPointerException
 <WorkerThread0> java.lang.NullPointerException
at com.webobjects.appserver._private.WOComponentDefinition.<init> (WOComponentDefinition.java:84) at com.webobjects.appserver.WOApplication._componentDefinitionFromClassNa med(WOApplication.java:2353) at com.webobjects.appserver.WOApplication._componentDefinition (WOApplication.java:2448) at com.webobjects.appserver.WOApplication.pageWithName (WOApplication.java:1943)
        at com.webobjects.appserver.WOAction.pageWithName(WOAction.java:98)
        at DirectAction.defaultAction(DirectAction.java:29)
[snip]

        The faulty line is DirectAction.java is:
return pageWithName(Main.class.getName());

        Ha! This was a tricky one!
My mistake: I was linking the PostgresqlPlugIn.jar as an External jar directly from within /Library/Frameworks/PostgresqlPlugIn.framework . This made every call to 'WOApplication.application().resourceManager ().pathURLForResourceNamed()' failed, thus components loading would fail...

Copying PostgresqlPlugIn.jar my project and link it from there, and voilà, everything was working!

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to