• 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
Re: Mysteries of WOResourceManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mysteries of WOResourceManager


  • Subject: Re: Mysteries of WOResourceManager
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 30 Dec 2003 14:19:48 -0800
  • Organization: Global Village Consulting, Inc.

Is the current directory the .woa directory when you launch? NSBundle and WOResourceManager use some assumptions about path names in order to locate resources. That is your most likely problem.

If that does not help, what is the stack trace on the exception?

Chuck


Anthony Paras wrote:
Hi all,

I have written a few woapps that are designed to boot up, process some
stuff, and then exit.  I have been writing my own shell commands to launch
them by copying and modifying the java command that gets generated in
ProjectBuilder.

One problem I just noticed is that the application().resourceManager() can't
find anything.  When I call bytesForResourceNamed(), I get a null pointer
exception from deep in the bowels of apple's code.

Is there something I need to do prior to launching the app?  Is there a
better way to do what I'm trying to do?

Thanks.
_______________________________________________
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.

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net

Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
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.

  • Follow-Ups:
    • Re: Mysteries of WOResourceManager
      • From: Anthony Paras <email@hidden>
    • Re: Mysteries of WOResourceManager
      • From: Hsu <email@hidden>
References: 
 >Mysteries of WOResourceManager (From: Anthony Paras <email@hidden>)

  • Prev by Date: Mysteries of WOResourceManager
  • Next by Date: Re: Mysteries of WOResourceManager
  • Previous by thread: Mysteries of WOResourceManager
  • Next by thread: Re: Mysteries of WOResourceManager
  • Index(es):
    • Date
    • Thread