Re: Unable to Launch WOApplication

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

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

    I tried running using project builder and received the following

    C:/Apple/Developer/Executables/javatool.exe -javac C:\Program
    Files\Java\jre1.5.0_11/bin/javac.exe -classpath
    ";C:\Apple\Library\Frameworks\JavaWebObjects.framework\Resources\Java\javawebobjects.jar"
    +classpath
    "C:/testProject/NewTicketTracker/NewTicketTracker.build/ejb_server_classes"
    -extdirs
    "C:/Apple/Local/Library/WebObjects/Extensions;C:\PROGRA~1\Java\JRE15~1.0_1\lib\ext;C:\Program
    Files\Java\jre1.5.0_11/jre/lib/ext" -newer -copy -file_map
    C:/testProject/NewTicketTracker/NewTicketTracker.build/derived_src_java/FileMappings.plist
    -java_src
    C:/testProject/NewTicketTracker/NewTicketTracker.build/derived_src_java
    -java_obj
    C:/testProject/NewTicketTracker/NewTicketTracker.build/java_classes
    src/Application.java src/DirectAction.java src/Main.java src/Session.java
    src/Attachment.java src/Department.java src/Log.java src/Priority.java
    src/Projectrelease.java src/Role.java src/Rolefunction.java
    src/Sourcefile.java src/Status.java src/Ticket.java src/Type.java
    src/User.java src/Userinfo.java src/Watcher.java Comment.java
    Department.java src/Comment.java
    javatool: can't open Java file FilesJavajre1.5.0_11\bin\javac.exe: No such
    file or directory
    Building...
    Creating info file ...
    C:/Apple/Developer/Executables/mergeInfo
    PB.projectC:/testProject/NewTicketTracker/NewTicketTracker.build/derived_src/Java.plist
    CustomInfo.plist -o
    C:/testProject/NewTicketTracker/NewTicketTracker.woa/Contents/Info.plist
    C:/Apple/Developer/Executables/plistToXML.exe
    C:/testProject/NewTicketTracker/NewTicketTracker.woa/Contents/Info.plist
    Creating PkgInfo file ...

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