The moose likes Struts and the fly likes startup error - NullPointer - parseModuleConfigFile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "startup error - NullPointer - parseModuleConfigFile" Watch "startup error - NullPointer - parseModuleConfigFile" New topic

startup error - NullPointer - parseModuleConfigFile

Brian R. Wainwright
Ranch Hand

Joined: Aug 12, 2003
Posts: 92
Has anyone seen this error before? I get it when my Struts app attempts to initialize... I take it means there's something wrong with either web.xml or struts-config.xml. I'm not using multiple modules in my app - just the application instance itself... I've checked and rechekced everything from server.xml to struts-config.xml etc... and can't seem to find anythign glaring.. Any help is, as always, appreciated...
Brian R. Wainwright
Ranch Hand

Joined: Aug 12, 2003
Posts: 92
ummmm..... disregard that last message.... I need to pay closer attention to how I name my config files... not just what's in them...
sigh..... that only burned about 3 freaking hours.....
Balasubramani Amirthalingam

Joined: Nov 02, 2004
Posts: 2

I m also facing the same prob.
Anyone pls inform the soln.

Thanks in advance

Aviv Levin

Joined: Dec 27, 2005
Posts: 1
Check in you web.xml that the action controller is defined well,
this problem may occur when the config parameter points to an struts-config.xml that is not there.
I agree. Here's the link:
subject: startup error - NullPointer - parseModuleConfigFile
It's not a secret anymore!