Kathy Hale

Greenhorn
+ Follow
since Jan 24, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kathy Hale

Hello from our SCWCD study group!

Any idea what is going on here?

This works:


This works:


But if I mix and match, it fails. For example, what I tried to do when I started:


In case it's relevant, I'm using a public URI:


Thanks!

Kurt & Kathy
15 years ago
JSP
Just wanted to post the solution to this confusing error message. It seems other conditions can cause the same error (missing load-on-startup in web.xml, missing struts-config.xml or having it in the wrong place). But for me, I had all of these things and still got the error. It turned out to be some jars that were missing from WEB-INF/lib.

I'm using Struts 1.3.9 & Tiles. At first I only included these in my war:
* struts-core-1.3.9.jar
* struts-taglib-1.3.9.jar
* struts-tiles-1.3.9.jar
* commons-io-1.1.jar

The error went away when I added some of the other dependencies that came with Struts 1.3.9:
* commons-beanutils-1.7.0jar
* commons-chain-1.1.jar
* commons-digester-1.8.jar

I wonder if something in the code is eating a ClassDefNotFound exception... But at any rate, the message is quite cryptic, although easy to fix.

Here was my full stack trace from my tomcat localhost log:

Jul 21, 2008 2:46:12 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException: Module 'null' not found.
at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755)
at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:735)
at org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:84)
at org.apache.jsp.index_jsp._jspx_meth_logic_005fforward_005f0(index_jsp.java:80)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:56)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)

I went round and round trying to figure out what was wrong with that JSP. All it had was this:

<%@ page language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<logic:forward name="welcome"/>
15 years ago
I've had something similiar also when posting a file to a servlet. This time, the code works on one implementation of ColdFusion/JRun and not on another. I get a different error number, but the problem sounds very familiar.



Here's the code that was calling it. I was using Commons FileUpload 1.2 and Commons IO 1.3.1. Servlet.jar came from Apache because JRun does not provide one strangely enough. Note, this servlet has a get and a post - the get works fine.

16 years ago
Again, I know it's an old post, but for the Googler's out there... here was my solution.

Eclipse 3.2.2 and I had only JRE 5.0 (how Eclipse was running without javac or JAVA_HOME no one really knows...)

Download the JDK (development kit, not runtime environment) and point Eclipse to that. This, by proxy, will get "javadoc" added, and it will magically work!

JDK5 Download
After you have downloaded, install - such as C:/Program Files/Java/JDK5...

Java builder: Windows -> Preferences -> Java -> Installed JREs -> Add the JDK installation.

This solution worked for me without restart, although Eclipse did rebuild all of my open projects.
16 years ago
For anyone else reading this, when I contacted Sun about my "N/A" voucher, it turned out the transaction was not completed. Which, is kind of strange, since I entered a credit card number online as well.

I guess their system just is not very robust. My guess is, either I entered the wrong number, or perhaps also, they just have no system at all for notifying you if a transaction failed. It seems rather unfortunate because they send you this entirely legitimate email, except for the important part, the voucher. It even says you've paid the money.

K