• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with instantiatePage in tomcat dist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Problem with instantiatePage in tomcat dist
      • From: John Larson <email@hidden>
  • Prev by Date: Re: ClassCastException during appendToResponse
  • Next by Date: Re: Problem with instantiatePage in tomcat dist
  • Previous by thread: Re: ClassCastException during appendToResponse
  • Next by thread: Re: Problem with instantiatePage in tomcat dist
  • Index(es):
    • Date
    • Thread