Re: Unable to Launch WOApplication

From: Sean (sean71..mail.com)
Date: Thu Feb 15 2007 - 13:23:15 EST

  • Next message: Chuck Hill: "Re: Unable to Launch WOApplication"

    What key might this be referring to?
    <main> A fatal exception occurred: key can't be null: <WOApplication>:
    Cannot be initialized.
    <main> com.webobjects.foundation.NSForwardException for
    java.lang.NullPointerException: key can't be null

    that is exactly how it looked.I modified it to look like this, but am still
    receiving the same error.

    #This file stores the wo specific properties
    #Thu Feb 01 17:19:34 EST 2007
    wo.dir.root=c:/Apple
    wo.woroot=C:/Apple
    wo.dir.user.home.library.frameworks=C:/Documents and
    Settings/NBK6OWK/Library/Frameworks
    wo.dir.local=C:/Apple/Local
    wo.wosystemroot=C:/Apple
    wo.dir.library=C:/Apple/Library
    wo.dir.user.home.library=C:/Documents and Settings/NBK6OWK/Library
    wo.dir.local.library=C:/Apple/Local/Library
    wo.dir.library.frameworks=C:/Apple/Library/Frameworks
    wo.dir.local.library.frameworks=C:/Apple/Local/Library/Frameworks
    wo.wolocalroot=C:/Apple/Local
    wo.dir.system=C:/Apple
    wo.dir.reference.api=C:/Apple/Developer/ADC%20Referenc%20Library/documentation/WebObjects/Reference/API/
    eclipse.home=C:/eclipse

    On 2/15/07, Chuck Hill <chil..lobal-village.net> wrote:
    >
    >
    > 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:23:35 EST