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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to