Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem running XALAN samples

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I downloaded xalan.jar, xercesImpl.jar and xml-apis.jar file and have added them to the classpath along with xalansamples.jar.

When i tried to run SimpleTransform, I get the following error message:

java.lang.NullPointerException
at java.util.Hashtable.get(Compiled Code)
at java.util.Properties.getProperty(Properties.java:271)
at java.lang.System.getProperty(System.java:420)
at javax.xml.transform.SecuritySupport.getSystemProperty(Unknown Source)

at javax.xml.transform.FactoryFinder.find(Unknown Source)
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at SimpleTransform.main(SimpleTransform.java:45)

Wht is the reason for this message? Anybody any ideas??

 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post "SimpleTransform.java:45" for us to see? Maybe that'll give some hints.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic