aspose file tools*
The moose likes Struts and the fly likes Struts 1.3.5 -- Module 'null' not found. Null Pointer Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.3.5 -- Module Watch "Struts 1.3.5 -- Module New topic
Author

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

Santosh Ramachandrula
Ranch Hand

Joined: Apr 04, 2004
Posts: 252
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 ]

Thanks,
Santosh
Santosh Ramachandrula
Ranch Hand

Joined: Apr 04, 2004
Posts: 252
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

Joined: Jun 06, 2007
Posts: 1
Thank you for your survey. It really saved my time. Good job.


SCJP, SCBCD, JCJD - working on B&S
Arvind Subramanian
Ranch Hand

Joined: Jul 25, 2008
Posts: 84
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 ]

"Many of lifes failure are people who did not realize how close they were to success when they gave up."
-Thomas Edison
~ar~stutzen~
Arvind Subramanian
Ranch Hand

Joined: Jul 25, 2008
Posts: 84
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

Joined: May 18, 2009
Posts: 1
Muchas gracias !! me salvaste la vida...!
udaykumar maddigatla
Ranch Hand

Joined: Feb 03, 2009
Posts: 69
It was awesome.

Good Solution.


SCJP 5.0(84%), SCWCD 5.0(97%), SCDJWS 5.0(98%)
Kishore Sahu
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
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
Kishore Sahu
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
How to resolve this problem?
Please help me.
udaykumar maddigatla
Ranch Hand

Joined: Feb 03, 2009
Posts: 69
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

ModuleNull


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Kishore Sahu
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

Kishore, have you checked the link I had given ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.3.5 -- Module 'null' not found. Null Pointer Exception