Results 1 to 3 of 3
  1. #1
    Webobject problem: [java.lang.NullPointerException] null:<WOApplication>: Cannot be i

    Member Since
    Jun 29, 2009
    Posts
    3
    Question Webobject problem: [java.lang.NullPointerException] null:<WOApplication>: Cannot be i
    Hello!
    I'm new in developing WebObjects and at the beginning, I was using a Mac on which everything was already installed (eclipse, wolips, webobjects...). Now I want to develope the new features for the software on my Mac Book Pro. So I installed the required tools, but I can't get the source code (of the software I'm developing) to run.
    The weird thing is, that on the old computer, the same source code runs without any problem, but on my mac book pro, I got a weird Error:

    [2009-6-29 9:10:15 CEST] <main> <WOApplication>: Cannot be initialized.null
    [2009-6-29 9:10:15 CEST] <main> A fatal exception occurred: <WOApplication>: Cannot be initialized.
    [2009-6-29 9:10:15 CEST] <main> com.webobjects.foundation.NSForwardException [java.lang.NullPointerException] null:<WOApplication>: Cannot be initialized.
    at com.webobjects.appserver.WOApplication.<init>(WOAp plication.java:918)
    at feedback.Application.<init>(Application.java:38)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Construc tor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at com.webobjects.appserver.WOApplication.main(WOAppl ication.java:547)
    at feedback.Application.main(Application.java:105)
    Caused by: java.lang.NullPointerException
    at com.webobjects.appserver.WOApplication._initialize RapidTurnaroundMode(WOApplication.java:923)
    at com.webobjects.appserver.WOApplication.<init>(WOAp plication.java:846)
    ... 9 more

    Can it be, that the newest version of WO is not the "same" anymore...? I mean this error happens in a standard class of WebObject....?!
    When I'm creating a new Webobject project (for example the Hello World), the code runs without any errors, so webobject must be installed correctly....

    I hope anyone can help me to fix this problem, because I tried to fix this for already many days :-(!
    Thx
    Greets

  2. #2
    Webobject problem: [java.lang.NullPointerException] null:&lt;WOApplication&gt;: Cannot be i

    Member Since
    Jun 29, 2009
    Posts
    3
    Is it possible, that if you are using the newest WO instead of a very older WO, then you have to "convert" your project?

  3. #3
    Webobject problem: [java.lang.NullPointerException] null:&lt;WOApplication&gt;: Cannot be i

    Member Since
    Jun 29, 2009
    Posts
    3
    Hmm... no idea?
    I found out, that it could be that some systempaths has changed in Leopard (compared with Tiger) OR Xcode v.3 and Xcode v.2 are different...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. java.lang.ExceptionInInitializerError
    By bercayu in forum OS X - Operating System
    Replies: 0
    Last Post: 06-30-2012, 02:44 AM
  2. java.lang.Runtime.exec fails on Mac
    By kamalsofteng in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 03-28-2009, 08:47 AM
  3. java.lang.outofmemoryerror:
    By the707 in forum OS X - Apps and Games
    Replies: 5
    Last Post: 11-09-2007, 06:00 PM
  4. java.lang.UnsatisfiedLinkError:
    By makemeli in forum OS X - Operating System
    Replies: 0
    Last Post: 09-21-2007, 07:23 PM
  5. java.lang.ClassNotFoundException:WMPNS.WMP error in browser????
    By maverick2k in forum OS X - Apps and Games
    Replies: 1
    Last Post: 01-24-2006, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •