>
> here is the config method
>
> public void configure(Configuration config) throws
> ConfigurationException {
> Configuration child;
> child = config.getChild("solid_exe");
> this.pathToExe = child.getValue();
> child = config.getChild("temp_dir");
> this.tempDir = child.getValue();
> }
>
>
> inside the generate() method, I am calling another method
> that is supposed
> to use this.tempDir
>
> File tmpFile = File.createTempFile("temp",".pdf", new
> File(this.tempDir));
This is very error prone: what if this.tempDir not yet exists? You might want
to check it and create the dir if it does not exist.
Ard
>
> it is failing at this point.
> ---------
> the error log says:
>
> http-8000-Processor24/ErrorHandlerHelper: Failed to process reader
>
> followed by a nullpointerexception at that line.
> --------
>
>
>
>
>
>
>
>
>
>
>
> ========
> S S
>
> _________________________________________________________________
> Share your special moments by uploading 500 photos per month
> to Windows Live
> Spaces
> http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?h
ref=http://www.get.live.com/spaces/features
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]