StrutsCXStandardDocumentBuilder NullPointerException

[email protected]
Newsgroups gmane.comp.java.strutscx.user
Message-ID <BF3A474AC04895428944668619196C8A08B56127@exc-msp-w1s>
Hallo strutscx-user,

i try to prog my own examples. Unfortunatly i get trouble with the
internationalization. 
- I setup a tomcat webapp, copied all jars and config files
- followed the installation instructions on
http://it.cappuccinonet.com/strutscx/install.php?target=install
- switched the resources-properties <on>OFF</on>,

but get a:

java.lang.NullPointerException
	at
com.cappuccinonet.strutscx.xslt.StrutsCXStandardDocumentBuilder.getRessource
PropertiesElement(StrutsCXStandardDocumentBuilder.java:369)
	at
com.cappuccinonet.strutscx.xslt.StrutsCXStandardDocumentBuilder.createDocume
nt
(StrutsCXStandardDocumentBuilder.java:170)

in the sourcecode this happens at:
###############################################################
Locale locale =
	(Locale) session.getAttribute("org.apache.struts.action.LOCALE");

String variablesFileName =
	StrutsCXConstants.RESSOURCEPROPERTIES_FILES
	+ "."
	+ locale.getLanguage();
###############################################################


The installation of the strutscx-demo runs without any problems.

Hope you can help me out.


Mit freundlichen Grüßen

Oliver Walter

Zentrale Informationsverarbeitung
Bosch Rexroth AG
The Drive & Control Company
Sandweg 45
D-97737 Gemünden-Langenprozelten
telefone: +49(0)9352-18-1862
mailto:[email protected]
http://www.boschrexroth.com


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.