You're right about it seeing the xwork.xml file since I
changed one of the attributes and redeployed and had it complain about it being
an invalid attribute. I've validated my current xwork.xml file against the DTD
with xmlspy and it says the document is valid but the root cause of my problem
seems to be the following exception:
java.lang.NullPointerException at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:291) at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:165) at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:196) at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:453) at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:115) at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130) at com.opensymphony.xwork.config.impl.DefaultConfiguration. The line that's causing the NPE is the config.getClazz() line in XmlConfigurationProvider.java as listed below: ResultTypeConfig config = (ResultTypeConfig) packageContext.getAllResultTypeConfigs().get(resultType); For reference, I've simplified my xwork.xml as much as possible: <!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" I guess it's time to get to know the source if this doesn't ring any bells with anyone... ;-)
|
Title: Message
- [OS-webwork] Struggling with WebWork2/XWork configuratio... Peter White
- Re: [OS-webwork] Struggling with WebWork2/XWork con... Patrick Lightbody
- [OS-webwork] Steps towards a truly *generic* Co... James Cook
- [OS-webwork] Xwork Entry Point James Cook
- RE: [OS-webwork] Struggling with WebWork2/XWork con... Jason Carreira
- RE: [OS-webwork] Struggling with WebWork2/XWork con... Jason Carreira
- RE: [OS-webwork] Struggling with WebWork2/XWork... Peter White
- Re: [OS-webwork] Struggling with WebWork2/X... Pat Lightbody
- RE: [OS-webwork] Struggling with WebWor... Peter White
- RE: [OS-webwork] Struggling with WebWork2/XWork con... Jason Carreira
- RE: [OS-webwork] Struggling with WebWork2/XWork con... Jason Carreira