Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 1.3.5 -- Module 'null' not found. Null Pointer Exception

 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Team,
I downloaded the struts 1.3.5 version yesterday and am trying to deploy a simple login page/login action/login form to JBOSS-4.0.3SP1. I am getting the following exception when I try to get to the index page (welcome page) which has login html form. I am using JDK 5.0 for development.




I googled a bit but did not help me much.
In one of the google links they have mentioned abt the missing/misplaced struts-config.xml, in my app it is at right location. Any ideas/thoughts?

[ December 13, 2006: Message edited by: Santosh Ramachandrula ]
[ December 13, 2006: Message edited by: Santosh Ramachandrula ]
 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After some research/careful debugging it turned out to be a dumb mistake, I was missing the configuration (<load-on-startup>1</load-on-startup> in bold below in web.xml.


[ December 13, 2006: Message edited by: Santosh Ramachandrula ]
 
Petr Charvat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your survey. It really saved my time. Good job.
 
Arvind Subramanian
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vey very very very Vey very very very Vey very very very Vey very very very Vey very very very Vey very very very Vey very very very Vey very very very Vey very very very Vey very very very thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks

you saved meeeeeeee very thanks .....

killed by this exception for 4 days/ 3 nites.........


have it santhose
[ December 06, 2008: Message edited by: Arvind Subramanian ]
 
Arvind Subramanian
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i shift to tomcat 6 i found the same problem.. should i have to change any thing specailly for tomcat 6
 
Walter Schmidt
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Muchas gracias !! me salvaste la vida...!
 
udaykumar maddigatla
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was awesome.

Good Solution.
 
Kishore Sahu
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Struts 1.3.10...
I created a new project in eclipse and copied this file from another system.
my simple jsp page is coming.. but with <bean> taglib and might be some other taglib, its showing these errors...
please help me .. how to resolve...?.

 
Kishore Sahu
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to resolve this problem?
Please help me.
 
udaykumar maddigatla
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems the problem with the usage of taglibs. Please check the taglib usage, specially in the web.xml and taglib(jar file .tld file) location and how you used in your jsp page.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
 
Kishore Sahu
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, It seems the problem with taglib.
But For one project, it's working fine.
And I have checked so many times and there is no flaws in putting config files.
please help me regarding that.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kishore, have you checked the link I had given ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic