• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your survey. It really saved my time. Good job.
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Muchas gracias !! me salvaste la vida...!
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It was awesome.

Good Solution.
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ModuleNull
 
Kishore Sahu
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kishore, have you checked the link I had given ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic