hi, 

I'm trying to get a servlet running which processes my fileUpload with
commons-fileUpload following the example on the website. But I always
get the following NullPointerException although the request is not null:

java.lang.NullPointerException
        at 
org.apache.commons.fileupload.FileUploadBase.createItem(FileUploadBase.java:507)
        at 
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:390)
        at de.sourcepark.fileUpload.uploadServlet.doPost(uploadServlet.java:107)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        ...

The problem seems to be in the parseRequest method within the doPost of my servlet (= 
uploadServlet.java:107):

List items = upload.parseRequest(request);


I cannot find the problem and either the solution. I guess it should be something 
trivial but I cannot find it. 
Do you have a suggestions?

Thanks.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to