Hi Dirk,
the application and session classes are not in the frameworks, but they
extend classes from a framework.
The defaultAction is called properly, i think that WO dont find the
WOComponents in the framework, but
the NSProjectSearchPath is generated correctly.
any ideas?
thx for your answer,
-thomas-
> Hi Thomas,
>
> Are the Application/Session classes in a framework? That is
> unsupported by WOLips (as far as I know).
>
> The stack trace only says there is a NullPointerException in your
> DirectAction class. Can you add a log statement to the defaultAction
> to see if the DirectAction is called?
>
> Hope that helps,
> Dirk
>
> Am 09.09.2004 um 10:13 schrieb Thomas Fritsche:
>
>> Hi,
>>
>> if i call our applications from command line all works fine,
>> now i defined a WOApplication in the Run dialog in eclipse and a
>> NullPointerException is thrown.
>>
>> It seems that WO cant find the main class (Application).
>> Also WOLips did not create a WOUserDirectory, so
>> i guess it is a problem with the PB.project file - but all looks fine.
>> I've cleaned all projects and rebuilt, but without success.
>>
>> Configuration: Eclipse 2.1.3, WOLips 1.0.7.50, WO 5.2.3, Win2000
>>
>> Thanks,
>> -thomas-
>>
>> [2004-09-09 09:39:41 CEST] <main> WOMaxIOBufferSize=8196
>> [2004-09-09 09:39:41 CEST] <main> WOWorkerThreadCountMin=16
>> [2004-09-09 09:39:41 CEST] <main> WOSocketMonitorSleepTime=50
>> [2004-09-09 09:39:41 CEST] <main> WODirectConnectEnabled=true
>> [2004-09-09 09:39:41 CEST] <main> WOIncludeCommentsInResponse=false
>> [2004-09-09 09:39:41 CEST] <main> WOWorkerThreadCount=8
>> [2004-09-09 09:39:41 CEST] <main>
>> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
>> [2004-09-09 09:39:41 CEST] <main> WOIDE=WOLips
>> [2004-09-09 09:39:41 CEST] <main> WODebuggingEnabled=true
>> [2004-09-09 09:39:41 CEST] <main> WOListenQueueSize=128
>> [2004-09-09 09:39:41 CEST] <main> WOMissingResourceSearchEnabled=true
>> [2004-09-09 09:39:41 CEST] <main> WOApplicationClassName=Application
>> [2004-09-09 09:39:41 CEST] <main>
>> WOSessionStoreClassName=WOServerSessionStore
>> [2004-09-09 09:39:41 CEST] <main> WOContextClassName=WOContext
>> [2004-09-09 09:39:41 CEST] <main> WOCachingEnabled=false
>> [2004-09-09 09:39:41 CEST] <main> WOAcceptMalformedCookies=false
>> [2004-09-09 09:39:41 CEST] <main>
>> NSProjectSearchPath=(..,../..,D:/project/work/secuSuite/src/
>> Frameworks/IASComponents,D:/project/work/secuSuite/src/Frameworks/
>> IASUserManagement,D:/project/work/secuSuite/src/Frameworks/
>> SRTEnterpriseObjects,D:/project/work/secuSuite/src/Frameworks/
>> SRTExportFramework)
>> [2004-09-09 09:39:41 CEST] <main> WOMonitorEnabled=false
>> [2004-09-09 09:39:41 CEST] <main> WOAllowRapidTurnaround=true
>> [2004-09-09 09:39:41 CEST] <main> WORootDirectory=C:/apple
>> [2004-09-09 09:39:41 CEST] <main> WOGenerateWSDL=true
>> [2004-09-09 09:39:41 CEST] <main> WOWorkerThreadCountMax=256
>> [2004-09-09 09:39:41 CEST] <main>
>> WOAllowsConcurrentRequestHandling=false
>> [2004-09-09 09:39:41 CEST] <main> WOAdaptor=WODefaultAdaptor
>> [2004-09-09 09:39:41 CEST] <main> WOSessionTimeOut=3600
>> [2004-09-09 09:39:41 CEST] <main> WORoot=C:/apple
>> [2004-09-09 09:39:41 CEST] <main> WOMaxSocketIdleTime=180000
>> [2004-09-09 09:39:41 CEST] <main> WODefaultUndoStackLimit=10
>> [2004-09-09 09:39:41 CEST] <main> WOAutoOpenClientApplication=true
>> [2004-09-09 09:39:41 CEST] <main> WOAutoOpenInBrowser=true
>> [2004-09-09 09:39:41 CEST] <main> WOApplicationBaseURL=/WebObjects
>> [2004-09-09 09:39:41 CEST] <main> WOMaxHeaders=200
>> [2004-09-09 09:39:41 CEST] <main> WOLifebeatEnabled=true
>> [2004-09-09 09:39:41 CEST] <main> WOAllowsCacheControlHeader=true
>> [2004-09-09 09:39:41 CEST] <main> WOSMTPHost=smtp
>> [2004-09-09 09:39:41 CEST] <main>
>> WOFrameworksBaseURL=/WebObjects/Frameworks
>> [2004-09-09 09:39:41 CEST] <main> WOAdditionalAdaptors=()
>> [2004-09-09 09:39:41 CEST] <main> WOLifebeatDestinationPort=1085
>> [2004-09-09 09:39:41 CEST] <main> WOPort=-1
>> [2004-09-09 09:39:41 CEST] <main> WOLifebeatInterval=30
>> [2004-09-09 09:39:41 CEST] <main> WOSocketCacheSize=100
>> [2004-09-09 09:39:41 CEST] <main> WOUserDirectory=
>> [2004-09-09 09:39:41 CEST] <main> WODisplayExceptionPages=true
>> [2004-09-09 09:39:41 CEST] <main> ------------------------
>> ..
>> ..
>> [2004-09-09 09:39:50 CEST] <WorkerThread0>
>> <com.webobjects.appserver._private.WODirectActionRequestHandler>:
>> Exception while handling action named "default" on action class
>> "null" :java.lang.NullPointerException
>> [2004-09-09 09:39:50 CEST] <WorkerThread0>
>> java.lang.NullPointerException
>> at
>> com.webobjects.appserver._private.WOComponentDefinition.<init>(WOCompon
>> entDefinition.java:84)
>> at
>> com.webobjects.appserver.WOApplication._componentDefinitionFromClassNam
>> ed(WOApplication.java:2353)
>> at
>> com.webobjects.appserver.WOApplication._componentDefinition(WOApplicati
>> on.java:2448)
>> at
>> com.webobjects.appserver._private.WOHTMLWebObjectTag._componentReferenc
>> eWithClassNameDeclarationAndTemplate(WOHTMLWebObjectTag.java:129)
>> at
>> com.webobjects.appserver._private.WOHTMLWebObjectTag._elementWithDeclar
>> ation(WOHTMLWebObjectTag.java:196)
>> at
>> com.webobjects.appserver._private.WOHTMLWebObjectTag.dynamicElement(WOH
>> TMLWebObjectTag.java:122)
>> at
>> com.webobjects.appserver._private.WOHTMLTemplateParser.didParseClosingW
>> ebObjectTag(WOHTMLTemplateParser.java:52)
>> at
>> com.webobjects.appserver._private.WOHTMLParser.didParseClosingWebObject
>> Tag(WOHTMLParser.java:183)
>> at
>> com.webobjects.appserver._private.WOHTMLParser.endOfWebObjectTag(WOHTML
>> Parser.java:150)
>> at
>> com.webobjects.appserver._private.WOHTMLParser.parseHTML(WOHTMLParser.j
>> ava:67)
>> at
>> com.webobjects.appserver._private.WOHTMLTemplateParser.parseHTML(WOHTML
>> TemplateParser.java:81)
>> at
>> com.webobjects.appserver._private.WOHTMLTemplateParser.parse(WOHTMLTemp
>> lateParser.java:95)
>> at
>> com.webobjects.appserver._private.WOParser.templateWithHTMLAndDeclarati
>> on(WOParser.java:71)
>> at
>> com.webobjects.appserver._private.WOComponentDefinition.template(WOComp
>> onentDefinition.java:288)
>> at
>> com.webobjects.appserver.WOComponent.templateWithName(WOComponent.java:
>> 597)
>> at
>> com.webobjects.appserver.WOComponent.template(WOComponent.java:507)
>> at
>> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
>> 982)
>> at
>> com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.
>> java:1388)
>> at
>> com.webobjects.appserver.WOComponent._generateResponseInContext(WOCompo
>> nent.java:1356)
>> at
>> com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:
>> 1351)
>> at
>> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest
>> (WOActionRequestHandler.java:259)
>> at
>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(
>> WOActionRequestHandler.java:142)
>> at
>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.ja
>> va:1306)
>> at
>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread
>> .java:173)
>> at
>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.jav
>> a:254)
>> at java.lang.Thread.run(Thread.java:534)
>>
>> --
>> Thomas Fritsche
>>
>>
-- Thomas Fritsche
This archive was generated by hypermail 2.0.0 : Thu Sep 09 2004 - 06:13:32 EDT