RE: Null pointer exception using Oreilly multipart classes on Sparc
To be more exact, I get "null pointer exception" with MultiPartRequest, and "java.IOException: unexpected end of part" with MultiPartParser. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 11:43 AM To: [EMAIL PROTECTED] Subject: Null pointer exception using Oreilly multipart classes on Sparc We are using Jason's MultiPart classes to upload files. They tested out fine on our NT development platform using Sun JDK 1.3. Our production environment is Sun Solaris on Sparc, using Sun JDK 1.3. On Sun, upload of text files work fine, but trying to upload a Microsoft Word document results in a null pointer exception. I haven't debugged this yet, but I notice a file of zero size with the correct name in the upload directory, so the file part is obviously being found. We have a different app on a different Sparc box using JDK 1.2.2, and it appears to work okay. Are there any known issues with the Multipart classes on JDK 1.3 on Sparc? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Null pointer exception using Oreilly multipart classes on Sparc
I have just recently seen this too. In my case, I had two upload fields. Whichever one was first, would not work, the second one would. I then upgraded to the Jan 2001 version of the oreilly stuff, and started getting your message. I suspect a client issue - I am using IE 5.5 SP1. I have not yet been able to track down the problem though. Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 6:06 PM To: [EMAIL PROTECTED] Subject: RE: Null pointer exception using Oreilly multipart classes on Sparc To be more exact, I get "null pointer exception" with MultiPartRequest, and "java.IOException: unexpected end of part" with MultiPartParser. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 11:43 AM To: [EMAIL PROTECTED] Subject: Null pointer exception using Oreilly multipart classes on Sparc We are using Jason's MultiPart classes to upload files. They tested out fine on our NT development platform using Sun JDK 1.3. Our production environment is Sun Solaris on Sparc, using Sun JDK 1.3. On Sun, upload of text files work fine, but trying to upload a Microsoft Word document results in a null pointer exception. I haven't debugged this yet, but I notice a file of zero size with the correct name in the upload directory, so the file part is obviously being found. We have a different app on a different Sparc box using JDK 1.2.2, and it appears to work okay. Are there any known issues with the Multipart classes on JDK 1.3 on Sparc? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Null pointer exception using Oreilly multipart classes on Sparc
Unfortunately, I'm getting it with Netscape 4.7 and IE 5.0, so I don't think it is client related. The failing line is 88 in PartInputStream: read = ((ServletInputStream)in).readLine(buf, count, buf.length - count); // check for eof and boundary if (read == -1) { throw new IOException("unexpected end of part"); I'm trying to debug this now. An earlier message said this appears to be an ajp13 problem, which I'm using. Are you using ajp13 also? -Original Message- From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 6:12 PM To: [EMAIL PROTECTED] Subject: RE: Null pointer exception using Oreilly multipart classes on Sparc I have just recently seen this too. In my case, I had two upload fields. Whichever one was first, would not work, the second one would. I then upgraded to the Jan 2001 version of the oreilly stuff, and started getting your message. I suspect a client issue - I am using IE 5.5 SP1. I have not yet been able to track down the problem though. Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 6:06 PM To: [EMAIL PROTECTED] Subject: RE: Null pointer exception using Oreilly multipart classes on Sparc To be more exact, I get "null pointer exception" with MultiPartRequest, and "java.IOException: unexpected end of part" with MultiPartParser. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 11:43 AM To: [EMAIL PROTECTED] Subject: Null pointer exception using Oreilly multipart classes on Sparc We are using Jason's MultiPart classes to upload files. They tested out fine on our NT development platform using Sun JDK 1.3. Our production environment is Sun Solaris on Sparc, using Sun JDK 1.3. On Sun, upload of text files work fine, but trying to upload a Microsoft Word document results in a null pointer exception. I haven't debugged this yet, but I notice a file of zero size with the correct name in the upload directory, so the file part is obviously being found. We have a different app on a different Sparc box using JDK 1.2.2, and it appears to work okay. Are there any known issues with the Multipart classes on JDK 1.3 on Sparc? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]