This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes java.lang.NullPointerException: Module 'null' not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "java.lang.NullPointerException: Module Watch "java.lang.NullPointerException: Module New topic

java.lang.NullPointerException: Module 'null' not found

Meg Jolie

Joined: Jul 03, 2009
Posts: 20
I am getting a java.lang.NullPointerException: Module 'null' not found exception while trying to run my application. I have copied all the jar files in WEB-INF/lib directory. struts-config and web.xml are under WEB-INF directory.

Can anybody help me figure out whats causing the exception? Thanks..


<?xml version="1.0" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "">


<!-- Action Servlet Configuration -->



<!-- Action Servlet mapping -->

<!-- The Welcome File List -->



<?xml version="1.0"?>

<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"


<!--Form Beans configuration-->
<form-bean name="enrollForm" type="EnrollForm" />

<!-- Global Forwards Configuration -->
<forward name="enroll" path="/enroll.jsp" /> <!-- used in index.jsp file -->

<!-- Action Mappings configuration -->
<action path="/enroll" type="EnrollAction" name="enrollForm"
scope="request" validate="true" input="/enroll.jsp" />

<!-- Message Resources Configuration -->
<message-resources parameter="MessageResources"/>

I agree. Here's the link:
subject: java.lang.NullPointerException: Module 'null' not found
It's not a secret anymore!