Re: Unable to Launch WOApplication

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Feb 15 2007 - 18:45:36 EST

  • Next message: Joshua Archer: "Problems with standalone jars using EOModels and NSBundle"

    On Feb 15, 2007, at 3:37 PM, Sean wrote:

    > It's a web application.

    And they still get launched from the command line. Trying a command
    line launch will differentiate between installation problems on your
    machine and Eclipse/WOLips specific problems.

    Chuck

    > On 2/15/07, Chuck Hill < chil..lobal-village.net> wrote: With a
    > message of NullPointerException: key can't be null, I'd
    > suspect a problem in
    >
    > /System/Library/Frameworks/JavaWebObjects.framework/Resources/
    > WOPropertyKeys.plist
    >
    > Will the apps run from the command line?
    >
    > Chuck
    >
    >
    > On Feb 15, 2007, at 10:23 AM, Sean wrote:
    >
    > > 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
    > >
    >
    > > > 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
    > >
    > >
    > >
    > >
    > >
    > >
    >
    > --
    >
    > 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
    >
    >
    >
    >
    >
    >

    -- 
    

    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 - 18:45:52 EST