> Change #1:
> File: org.apache.xindice.server.standard.StdFileManager
> Location: inside StdFileManager.setConfig(Configuration cfg)
> Problem: sending large HTTP messages to Xindice results in
> NullPointerException
> Fix: need to check the existence of the "tempDir", create directory if
> needed
>
>    public void setConfig(Configuration config) {
>       this.config = config;
>       minBytes = config.getIntAttribute(MINBYTES);
>       maxBytes = config.getIntAttribute(MAXBYTES);
>       chunkSize = config.getIntAttribute(CHUNKSIZE);
>       tempDir = new File(config.getAttribute(TMPDIR));
>
> // ADD BEGIN
>       tempDir.mkdirs();
> // ADD END
>      }
>

Kimbro/Tom:

This is a in an area where I haven't looked at much of the source.  If this
is the correct
place to make this change, let me know and I will commit it:

if(!tempDir.exists() == true) {
   tempDir.mkdirs();
}

Kurt


Reply via email to