• 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
[SOLVED] Switching from XCode to WOLips: ressources headaches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Switching from XCode to WOLips: ressources headaches


  • Subject: [SOLVED] Switching from XCode to WOLips: ressources headaches
  • From: François Reboursier <email@hidden>
  • Date: Thu, 17 Aug 2006 17:19:44 +0200

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: whywebobjects.org - WWDC followup [and URLs]
  • Next by Date: Re: WebObjects Foundation
  • Previous by thread: Complicated configurable HTML tables
  • Next by thread: JavaScript image cropper UI possible in Webobjects ?
  • Index(es):
    • Date
    • Thread