Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Vinod suryawanshi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
We created one web application in struts 1.3, in web logic 10.3.4 server and we are trying to deploy that application on web logic 10.3 server. We used jdk1.6 which is same on client environment.
Our application successfully deployed there, jsp pages which fetching data from package classes in my application is working properly.
But, pages which having html:form are not loaded. i am getting following error.


here is my web.xml file.


here is my struts-config.xml file.


my jsp pages html:form bean declaration and code is as followed.



bellow is list of jar file i used,
antlr-2.7.2.jar
commons-beanutils-1.7.0.jar
commons-chain-1.2.jar
commons-digester-2.0.jar
commons-logging-1.0.4.jar
commons-validator-1.3.1.jar
oro-2.0.8.jar
struts-core-1.3.10.jar
struts-taglib-1.3.10.jar
struts-tiles-1.3.10.jar

I am stuck into this issue from very long time, and I tried almost everything I know, but getting same error. Any help or suggestion is appreciated.
Thanks
 
Joe Ess
Bartender
Posts: 9279
10
Linux Mac OS X Windows
 
Vinod suryawanshi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe, thanks for your reply,
I visited that link, but still I am quite confuse for solution.
As per my research on this issue, I am thinking this issue may occur because of 2 reasons.
1. My struts-config.xml file DTD wrong version. below is log which I got when web logic10.3 server start up.



2. Weblogic SAXParserFactory issue,
I visited two below links,
link1
and
link2

and as per the link, this issue is related to web logic 10.3 bug, so i have to fixed it by setting appropriate SAXParserFactory.

Please suggest me, am I on right track to solve to this issue or not.
 
Joe Ess
Bartender
Posts: 9279
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. My struts-config.xml file DTD wrong version. below is log which I got when web logic10.3 server start up.


I don't see it. It is being successfully resolved to an alternate location. What DTD do you reference in your struts.xml file?

2. Weblogic SAXParserFactory issue,


Why would you say that? You aren't getting an error from the SAX parser.

I'm curious about this:


What does the full stack trace of that error look like?
 
Vinod suryawanshi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Joe Ess for your reply,
I solved this issue,

Solution for this issue is,
This issue is related to web logic 10.3 SAXParserFactory only.
when I replace my commons-digester-2.0.jar file with commons-digester-1.8.jar, my issue solved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic