It's not a secret anymore!
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
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!