Re: Unable to Launch WOApplication

From: Sean (sean71..mail.com)
Date: Thu Feb 15 2007 - 18:37:16 EST

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

    It's a web application.

    Here is my WOPropertyKeys.plist file

    {
        "WOLOADFRAMEWORKS" = "WOLoadFrameworks";
        "WOFRAMEWORKSBASEURL" = "WOFrameworksBaseURL";
        "WODEBUGGINGENABLED" = "WODebuggingEnabled";
        "WORECORDINGPATH" = "WORecordingPath";
        "WOBROWSER" = "WOAutoOpenInBrowser";
        "WOCLIENTAPPLICATION" = "WOAutoOpenClientApplication";
        "WODIRECTCONNECT" = "WODirectConnectEnabled";
        "WOCGIADAPTORURL" = "WOAdaptorURL";
        "WOCACHINGENABLED" = "WOCachingEnabled";
        "WOAPPLICATIONBASEURL" = "WOApplicationBaseURL";
        "NSPROJECTSEARCHPATH" = "NSProjectSearchPath";
        "WOSESSIONSTORECLASSNAME" = "WOSessionStoreClassName";
        "WOCONTEXTCLASSNAME" = "WOContextClassName";
        "WOSTATISTICSTOREPASSWORD" = "WOStatisticsPassword";
        "WOSMTPHOST" = "WOSMTPHost";
        "WOPORT" = "WOPort";
        "WOHOST" = "WOHost";
        "WOLISTENQUEUESIZE" = "WOListenQueueSize";
        "WOSOCKETCACHESIZE" = "WOSocketCacheSize";
        "WOSOCKETMONITORSLEEPTIME" = "WOSocketMonitorSleepTime";
        "WOMAXSOCKETIDLETIME" = "WOMaxSocketIdleTime";
        "WOWORKERTHREADCOUNT" = "WOWorkerThreadCount";
        "WOWORKERTHREADCOUNTMIN" = "WOWorkerThreadCountMin";
        "WOWORKERTHREADCOUNTMAX" = "WOWorkerThreadCountMax";
        "WOADAPTORARGUMENTFORMAT" = "WOAdaptorArgumentFormat";
        "WOADAPTOR" = "WOAdaptor";
        "WOADDITIONALADAPTORS" = "WOAdditionalAdaptors";
        "WOSESSIONTIMEOUT" = "WOSessionTimeOut";
        "WOTOLERATEMALFORMEDCOOKIES" = "WOAcceptMalformedCookies";
        "WOGENERATEWSDL" = "WOGenerateWSDL";

        "WOLIFEBEATDESTINATIONPORT" = "WOLifebeatDestinationPort";
        "WOLIFEBEATENABLED" = "WOLifebeatEnabled";
        "WOLIFEBEATINTERVAL" = "WOLifebeatInterval";
        "WOMONITORENABLED" = "WOMonitorEnabled";
        "WOAPPLICATIONNAME" = "WOApplicationName";
        "WOOUTPUTPATH" = "WOOutputPath";
        "WODEFAULTUNDOSTACKLIMIT" = "WODefaultUndoStackLimit";

        "WOALLOWSCACHECONTROLHEADER" = "WOAllowsCacheControlHeader";

        "WOCOMPONENTREQUESTHANDLERKEY" = "_ComponentRequestHandlerKey";
        "WODIRECTACTIONREQUESTHANDLERKEY" = "_DirectActionRequestHandlerKey";
        "WORESOURCEREQUESTHANDLERKEY" = "_ResourceRequestHandlerKey";
        "WOWEBSERVICEREQUESTHANDLERKEY" = "_WebServiceRequestHandlerKey";

        "WOINCLUDECOMMENTSINRESPONSE" = "WOIncludeCommentsInResponse";
        "WOALLOWSCONCURRENTREQUESTHANDLING" =
    "WOAllowsConcurrentRequestHandling";
        "WOGARBAGECOLLECTIONREPEATCOUNT" = "WOGarbageCollectionRepeatCount";
        "WOLOCKDEFAULTEDITINGCONTEXT" ="_LockDefaultEditingContextKey";

        "WOHTMLPARSERCLASSNAME" = "_WOHTMLParserClassName";
    }

    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
    >
    >
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Feb 15 2007 - 18:37:26 EST