Re: [jetty-users] NPE in MultiPartFilter

2012-01-05 Thread Steven Arcangeli
I couldn't find much documentation on Configuration classes, but from what I found it seems like they're for use with a WebAppContext. Unfortunately, I'm using a ServletContextHandler and couldn't figure out how to switch over and keep all the same functionality. I'm sure it's possible, but I

Re: [jetty-users] NPE in MultiPartFilter

2012-01-02 Thread Jan Bartel
Hi Steve, Happy Holidays to you too. jetty-7.0.2 is pretty old. Looking at the code for the MultiPartFilter, it seems that perhaps the temp dir for the context has not been set as a context attribute. That should be done by the WebInfConfiguration class that is applied during deployment of the

Re: [jetty-users] NPE in MultiPartFilter

2012-01-02 Thread Steven Arcangeli
It appears to be this line: MultipartConfigElement config = new MultipartConfigElement(tempdir.getCanonicalPath(), _maxFileSize, _maxRequestSize, _fileOutputBuffer); Which means that tempdir is probably null for some reason. The line appears in the jetty-8 branch; it was merged in from