You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Manuel Heß <ma...@62nd.de> on 2004/07/03 14:06:07 UTC
Problems with property file
Hi,
I´ve got a new problem. In a client application using wss4j I set the
parameters for the call dynamicly via setproperty(). Trying to do
"setProperty(WSDoAllConstants.ENC_PROP_FILE, "PathToProperties")"
results in a NullpointerException while trying:
Properties properties = new Properties();
properties.load(new FileInputStream("PathToProperties"));
works. So the path is ok. I also inserted the directory containing
the property file into the classpath as I saw that´s the file is
internally loaded via Loader.getResource().
But that doesn´t work also.
Has anybody an idea what fault I make.
Thanks
Manuel