Hello all;
I am a newbie to webobjects but subscribed to this fine list and have been following the discussion trails (don't know what to think of the future of webobjects yet given the discussion but I really want to try). You all seem like very smart and knowledgeable folks and well-grounded in webobjects so I did not want to step in a cow pile with my first foot forward. I want to thank Chuck Hill, Mike Schrag and others for the valuable advice being provided on this mailing list. I also want to thank Janine Sisk for the nice beginner's tutorial and sample files. These have helped me a great deal in getting started. However, I have already encountered a problem which I cannot solve. Kindly give a newbie some advice, please.
I successfully downloaded and installed Eclipse 3.3 and installed the standard WOLips for 3.3 as well as other modules for Java, web development, and C,C++ plugins. My goal is to deploy webobjects on Apple MacOSX 10.4.10 using a Tomcat-6.0.13 container behind the standard standard Apache-1.3.33 server with mod_jk and have this system up, running nicely. I have also been able to plugin Tomcat-6 on the development system within Eclipse. I also have downloaded and installed FrontBase-4.2.7 (which I really like, so far better than all others I have looked at - Postgresql, MySQL, OpenBase, Sqlite3, etc.).
I followed Janine's tutorial faithfully and first I noticed that the build.xml is created but does not show up in the Package Explorer as described in the tutorial. Everything else does. Additionally, I get a java.lang.NullPointerException message in the webbrowser while trying to Run the completed nhlpm webobject tutorial example. Therefore, I have failed somewhere but cannot discover it error yet. Any pointers would be appreciated. Console output as follows:
[2007-07-14 15:14:54 EDT] <main> null [2007-07-14 15:14:54 EDT] <main> Waiting for requests... [2007-07-14 15:14:55 EDT] <WorkerThread0> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: java.lang.NullPointerException [2007-07-14 15:14:55 EDT] <WorkerThread0> java.lang.NullPointerException at com.webobjects.appserver._private.WOComponentDefinition.<init>(WOComponentDefinition.java:84) at com.webobjects.appserver.WOApplication._componentDefinitionFromClassNamed(WOApplication.java:2353) at com.webobjects.appserver.WOApplication._componentDefinition(WOApplication.java:2448) at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:1943) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:273) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322) at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358) at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:432) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306) at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254) at java.lang.Thread.run(Thread.java:613)
Thanks, Anthony |