This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: npe for wiki attachmentsjvitor Mar 27, 2008 7:33 AM (in response to peterj)I'm having the exact same problem. Could you give me more info how you fixed this? 
- 
        2. Re: npe for wiki attachmentspeterj Mar 31, 2008 2:47 PM (in response to peterj)In the MultipartStream class, both methods readBytes() and makeAvailable() contain the statement: 
 notifier.noteBytesRead(bytesRead);
 I simply added a check for null:if (notifier != null) { notifier.noteBytesRead(bytesRead); }
 To apply this patch:
 1) download the fileupload 1.2 source
 2) Edit the MultipartStream.java source file
 3) Compile only that Java source file, placing the commons fileupload jar in the classpath (you will get 5 class files - there are 4 embedded classes)
 4) Replace the existing MultipartStream class files in the jar file with the newly compiled ones.
 5) Place the updated jar file into the portal's lib directory.
 
    