Problem with instantiatePage in tomcat dist
Problem with instantiatePage in tomcat dist
- Subject: Problem with instantiatePage in tomcat dist
- From: John Larson <email@hidden>
- Date: Fri, 9 Feb 2007 10:21:38 -0600
I am trying to use ERXApplication.instantiatePage to generate a page
to use in an e-mail. It works fine from Eclipse, but when I deploy
it to the tomcat server I get this error.
java.lang.NullPointerException
at com.webobjects.jspservlet.WOServletContext.<init>
(WOServletContext.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.webobjects.foundation._NSUtilities.instantiateObject
(_NSUtilities.java:575)
at com.webobjects.appserver.WOApplication.createContextForRequest
(WOApplication.java:1674)
at er.extensions.ERXApplication.createContextForRequest
(ERXApplication.java:758)
at er.extensions.ERXApplication.instantiatePage(ERXApplication.java:
320)
.
.
.
I've been running this app for over a year, so I think the general
setup is right. Any hints would be appreciated.
Thanks,
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden