tomcat Exception in performActionNamed()
Dave Elsner <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
When I try to deploy to tomcat 5 I get the following exception:
14:57:18,252 OFF [HttpProcessor[8080][4]] (Log.NSLogErr:1546
appendln) - <DirectAction>: Exception in performActionNamed() on the
action "default" with the message: java.lang.NullPointerException
14:57:18,257 DEBUG [HttpProcessor[8080][4]] (Log.NSLogDebug:1546
appendln) - java.lang.NullPointerException
at com.webobjects.appserver._private.WOComponentDefinition.<init>
(WOComponentDefinition.java:84)
at
com.webobjects.appserver.WOApplication._componentDefinitionFromClassName
d(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.WOAction.pageWithName(WOAction.java:98)
at DirectAction.defaultAction(DirectAction.java:21)
So I overrode Application.dispatchRequest() to catch any exceptions
and pass them to handleException
And i still have the above error plus
14:57:18,260 OFF [HttpProcessor[8080][4]] (Log.NSLogErr:1546
appendln) -
<com.webobjects.appserver._private.WODirectActionRequestHandler>:
Exception while handling action named "default" on action class
"null" :java.lang.reflect.InvocationTargetException
14:57:18,266 DEBUG [HttpProcessor[8080][4]] (Log.NSLogDebug:1546
appendln) - java.lang.reflect.InvocationTargetException
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(
WOActionRequestHandler.java:250)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest
(WOActionRequestHandler.java:142)
at com.webobjects.appserver.WOApplication.dispatchRequest
(WOApplication.java:1306)
at Application.dispatchRequest(Application.java:207)
And all line 21 of DirectAction.java (the line with the NPE) says is
Main nextPage = (Main)pageWithName("Main");
Any Ideas why this would be causing problems?
- Dave
_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev