You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Karr, David" <da...@attws.com> on 2002/08/13 23:16:22 UTC

Working Struts app (in Tomcat) dies in Oracle JDev in build with NPE

I don't think this is a Struts problem, but I'm not getting very far with
Oracle support on this, so I'll ask here.

I have a "Hello World" Struts application that runs fine in Tomcat.  When I
try to take the same WAR file and deploy it in Oracle JDeveloper9i, and try
to "build" it, I see something odd happen.  After compiling the Java source
files, it appears that it tries to compile the JSP files.  On each one, I
get the following exception:

Error: java.lang.ExceptionInInitializerError: java.lang.NullPointerException

The stderr of jdev shows the following stack trace, without line numbers:

[ERROR] MessageResourcesFactory - -MessageResourcesFactory.createFactory
<java.lang.ExceptionInInitializerError: java.lang.NullPointerException>
java.lang.ExceptionInInitializerError: java.lang.NullPointerException
        org.apache.struts.util.MessageResources
org.apache.struts.util.MessageResources.getMessageResources(java.lang.String
)
        void org.apache.struts.taglib.logic.ForwardTag.<clinit>()
        java.lang.reflect.Method[] java.lang.Class.getMethods0(int)
        java.lang.reflect.Method[] java.lang.Class.getMethods()
        boolean
oracle.jsp.parse.JspBeanInfo.determineSetPropertyOverloading(java.lang.Strin
g)

I also tried going through their "wizard" for building a project from an
existing WAR, and used the "struts-example" application.  This gives the
exact same symptom.  I've tried this last test with both Struts 1.1-b2 and
1.0.2.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>