Re: Unable to Launch WOApplication

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Feb 15 2007 - 13:17:29 EST

  • Next message: Sean: "Re: Unable to Launch WOApplication"

    On Feb 15, 2007, at 8:13 AM, Sean wrote:

    > Thanks for your response. I am using jdk 1.5. I have included my
    > wobuild.properties file and my environment variables
    > wo.dir.system=C:/Apple
    > wo.dir.reference.api=C:/Apple/Developer/ADC%20Reference%
    > eclipse.home=C:/eclipse
    > 20Library/documentation/WebObjects/Reference/API/

    Unless that was caused by cut and paste, that looks really wrong.
    Should be
    wo.dir.system=C:/Apple
    wo.dir.reference.api=C:/Apple/Developer/ADC%20Reference%20Library/
    documentation/WebObjects/Reference/API/
    eclipse.home=C:/eclipse

    Chuck
    >
    >
    > On 2/15/07, Jake Fisher <fisherj..mail.com> wrote: Sean,
    >
    > Start here and check your enviroment variables etc.
    > http://wiki.objectstyle.org/confluence/display/WOL/Troubleshooting
    > +Problems+Running+on+Windows
    >
    > Also what version of the jsdk do you have installed?
    >
    > ~jake
    >
    > On 2/15/07, Sean <sean71..mail.com> wrote:
    > > Hi,
    > >
    > > I'm using WinXP, Eclipse 3.2. I am unable to run any
    > WOApplications from
    > > Eclipse. When attempting to run i receive the following stack trace
    > >
    > > [2007-02-15 10:11:33 EST] <main> A fatal exception occurred: key
    > can't be
    > > null: <WOApplication>: Cannot be initialized.
    > > [2007-02-15 10:11:33 EST] <main> com.webobjects.foundation
    > > .NSForwardException for java.lang.NullPointerException: key can't
    > be null
    > > at java.lang.System.checkKey(Unknown Source)
    > > at java.lang.System.getProperty (Unknown Source)
    > > at
    > > com.webobjects.foundation.NSProperties.getProperty
    > (NSProperties.java:165)
    > > at
    > > com.webobjects.foundation.NSProperties.getProperty
    > (NSProperties.java:156)
    > > at
    > >
    > com.webobjects.appserver._private.WOProperties.provideDefaultValueForU
    > nsetSystemProperty
    > > (Unknown Source)
    > > at
    > >
    > com.webobjects.appserver._private.WOProperties.initProgrammaticWODefau
    > lts(Unknown
    > > Source)
    > > at
    > > com.webobjects.appserver.WOApplication._initWOApp(Unknown
    > > Source)
    > > at com.webobjects.appserver.WOApplication
    > > .<init>(Unknown Source)
    > > at
    > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    > > Method)
    > > at
    > > sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown
    > > Source)
    > > at
    > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance
    > > (Unknown Source)
    > > at java.lang.reflect.Constructor.newInstance(Source)
    > > at java.lang.Class.newInstance0 (Unknown Source)
    > > at java.lang.Class.newInstance(Unknown Source)
    > > at com.webobjects.appserver.WOApplication.main (Unknown
    > > Source)
    > > at com.webobjects.appserver.WOApplication.main(Unknown
    > > Source)
    > >
    > > Thanks in Advance
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Thu Feb 15 2007 - 13:18:17 EST