Re: DirectToWeb java.lang.NullPointerException
Re: DirectToWeb java.lang.NullPointerException
- Subject: Re: DirectToWeb java.lang.NullPointerException
- From: Omar <email@hidden>
- Date: Mon, 12 Apr 2004 21:17:32 -0400
Hi,
Thanks for your answer. I checked the classes for the model and I saw I
didn't have one defined, so I put the following data into EOModeler:
Name Table Class Name Client-Side Class
Dbparam2 public.dbparam2 dbparam2 dbparam2
And when I run the application I get:
[2004-04-12 19:05:05 PDT] <main> Created adaptor of class
WODefaultAdaptor on port 1110 and address power20/192.168.0.20 with
WOWorkerThread minimum of 16 and maximum of 256
[2004-04-12 19:05:05 PDT] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2004-04-12 19:05:06 PDT] <main> *** The application has found the
following opened, development-mode ProjectBuilderWO projects:
(<com.webobjects.appserver._private.WOProjectBundle:
projectName='test7'; bundlePath='C:\projects\test7\test7.woa';
projectPath='C:\projects\test7'>)
[2004-04-12 19:05:06 PDT] <main> Application project found: Will locate
resources in 'C:\projects\test7' rather than
'C:\projects\test7\test7.woa' .
[2004-04-12 19:05:06 PDT] <main> Creating LifebeatThread now with: test7
1110 power20/192.168.0.20 1085 30000
Welcome to test7 !
-
ERXProperties has found the following Properties files:
Framework: woframe (not opened, installed) C:
\Apple\Local\Library\Frameworks\PostgresqlPlugIn.framework\Resources\Pro
perties
Framework: JavaJDBCAdaptor (not opened, installed) C:
\Apple\Library\Frameworks\JavaJDBCAdaptor.framework\Resources\Properties
Framework: JavaWebObjects (not opened, installed) C:
\Apple\Library\Frameworks\JavaWebObjects.framework\Resources\Properties
Framework: ERExtensions (not opened, installed) C:
\Apple\Local\Library\Frameworks\ERExtensions.framework\Resources\Propert
ies
Framework: JavaDirectToWeb (not opened, installed) C:
\Apple\Library\Frameworks\JavaDirectToWeb.framework\Resources\Properties
Application: test7 (opened, development-mode) C:\projects\test7\Properties
6765 [main] INFO er.extensions.ERXProperties -
ERXProperties has found the following Properties files:
Framework: woframe (not opened, installed) C:
\Apple\Local\Library\Frameworks\PostgresqlPlugIn.framework\Resources\Pro
perties
Framework: JavaJDBCAdaptor (not opened, installed) C:
\Apple\Library\Frameworks\JavaJDBCAdaptor.framework\Resources\Properties
Framework: JavaWebObjects (not opened, installed) C:
\Apple\Library\Frameworks\JavaWebObjects.framework\Resources\Properties
Framework: ERExtensions (not opened, installed) C:
\Apple\Local\Library\Frameworks\ERExtensions.framework\Resources\Propert
ies
Framework: JavaDirectToWeb (not opened, installed) C:
\Apple\Library\Frameworks\JavaDirectToWeb.framework\Resources\Properties
Application: test7 (opened, development-mode) C:\projects\test7\Properties
- initialize start
6765 [main] INFO er.extensions.ERXCompilerProxy - initialize start
- Rapid-turnaround mode is disabled, set
'er.extensions.ERXCompilerProxyEnabled=true' in your
WebObjects.properties to enable it.
6765 [main] INFO er.extensions.ERXCompilerProxy - Rapid-turnaround mode
is disabled, set 'er.extensions.ERXCompilerProxyEnabled=true' in your
WebObjects.properties to enable it.
[2004-04-12 19:05:11 PDT] <main> Opening application's URL in browser:
http://power20:1110/scripts/WebObjects.exe/test7.woa
[2004-04-12 19:05:11 PDT] <main> DirectToWeb WebAssistant launch line:
appletviewer
http://localhost:1110/cgi-bin/WebObjects/test7.woa/wa/D2WActions/
openWebAssistant
[2004-04-12 19:05:11 PDT] <main> Waiting for requests...
Initializing PostgresqlPlugin
[2004-04-12 19:05:33 PDT] <WorkerThread3> DirectToWeb WebAssistant
launch line: appletviewer
http://localhost:1110/cgi-bin/WebObjects/test7.woa/wa/D2WActions/
openWebAssistant
[2004-04-12 19:05:36 PDT] <WorkerThread2>
<com.webobjects.appserver._private.WOComponentRequestHandler>: Exception
occurred while handling request:
java.lang.NullPointerException
[2004-04-12 19:05:36 PDT] <WorkerThread2> java.lang.NullPointerException
at com.webobjects._eoproject._WBEOModel.classNames(_WBEOModel.java:108)
I put ERExtensions into the project to see more logging output, don't
know if this is the right way to that since I am new to WebObjects. Do
you have any other ideas?
Thanks again,
Omar
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.