cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumedh Shirodkar" <sumedh.shirod...@hotmail.com>
Subject Re: difference betn configuration and parameters
Date Thu, 12 Oct 2006 20:52:34 GMT
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));

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/?href=http://www.get.live.com/spaces/features


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message