RE: Win IE and Multipart Form Problems
RE: Win IE and Multipart Form Problems
- Subject: RE: Win IE and Multipart Form Problems
- From: "Endre Rognerud" <email@hidden>
- Date: Thu, 19 Dec 2002 08:44:17 +0100
Hi, Brendon!
I think I found a workaround. I made the encoding of the form dynamic, and I
only multipart-code it if the WOFileUpload shows :)
Hope this helps...
--
Endre
email@hidden (Thursday, December 19, 2002 7:46 AM):
>
> Hi all,
>
> Been chasing my tail on this one all day and was wondering if any of
> you guys had seen this or had a workaround (know I saw at least one
> similar problem on the list on Dec 17)
>
> Since upgrading to WO 5.2 I am seeing index out of bounds exceptions
> on our mulitpart-form page we use that incorporates form items and a
> WOFileUpload element.
>
> When trying to display the form after a save I get the stack trace
> below about 85% of the time.
>
> A couple other interesting things of note:
>
> This only happens on IE 5 and 6 (didn't test earlier) on Windows
> Netscape and Mozilla on windows works fine
> All versions on the Mac including IE work fine
>
> I have tried to remove different items (ie active images) in the form
> and I thought that fixed it but ends up it still happens. As I have
> a Mac and have to debug this in Virtual PC this is a pain to keep
> trying things out in.
>
> Any suggestions or insite would be appreciated since I keep wasting my
> effort in the wrong ways thinking I have figurted this out.
>
> Thanks in advance, below is the trace
>
> Brendon
>
> [2002-12-19 17:35:30 EST] <WorkerThread11>
> <com.webobjects.appserver._private.WOComponentRequestHandler>:
> Exception occurred while handling request:
> java.lang.IndexOutOfBoundsException
> [2002-12-19 17:35:30 EST] <WorkerThread11>
> java.lang.IndexOutOfBoundsException
> at java.io.BufferedInputStream.read(BufferedInputStream.java:270)
> at java.io.FilterInputStream.read(FilterInputStream.java:109)
> at
>
com.webobjects.appserver._private.WONoCopyPushbackInputStream.read(WONoCopyP
> ushbackInputStream.java:149)
> at
>
com.webobjects.appserver._private.WOHttpIO.refillInputBuffer(WOHttpIO.java:1
> 33)
> at
> com.webobjects.appserver._private.WOHttpIO.readLine(WOHttpIO.java:189)
> at
>
com.webobjects.appserver.WOMultipartIterator$WOFormData._initHeaders(WOMulti
> partIterator.java:417)
> at
>
com.webobjects.appserver.WOMultipartIterator$WOFormData.<init>(WOMultipartIt
> erator.java:402)
> at
>
com.webobjects.appserver.WOMultipartIterator._nextFormData(WOMultipartIterat
> or.java:308)
> at
>
com.webobjects.appserver.WORequest._getFormValuesFromMultipartFormData(WOReq
> uest.java:1692)
> at
>
> com.webobjects.appserver.WORequest.formValues(WORequest.java:1380) at
>
> com.webobjects.appserver.WORequest.formValuesForKey(WORequest.java:873)
> at
> com.webobjects.appserver.WORequest.formValueForKey(WORequest.java:906)
> at
>
com.webobjects.appserver.WORequest.stringFormValueForKey(WORequest.java:929)
> at
>
>
com.webobjects.appserver._private.WOActiveImage.invokeAction(WOActiveImage.j
> ava:191) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
>
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.j
> ava:55) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
> com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
> at
>
>
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
> entReference.java:113) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
> com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:82)
> at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
> com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
> at
>
>
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
> entReference.java:113) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
>
com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.j
> ava:55) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
> com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
> at
>
>
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
> entReference.java:113) at
>
>
com.webobjects.appserver._private.WOSwitchComponent.invokeAction(WOSwitchCom
> ponent.java:171) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
>
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponen
> tContent.java:31) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
>
com.webobjects.appserver._private.WOHTMLURLValuedElement.invokeAction(WOHTML
> URLValuedElement.java:115) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
>
> com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
> at
>
>
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOCompon
> entReference.java:113) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODyna
> micGroup.java:101) at
>
>
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup
> .java:110) at
> com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:950)
> at
>
> com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1136)
> at
>
>
com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1313)
> at
>
>
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
> paredPage(WOComponentRequestHandler.java:196) at
>
>
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
> paredSession(WOComponentRequestHandler.java:287) at
>
>
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
> paredApplication(WOComponentRequestHandler.java:322) at
>
>
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(W
> OComponentRequestHandler.java:358) at
>
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WO
> ComponentRequestHandler.java:432) at
>
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:12
> 44) at
>
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java
>> 167)
> at
>
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:248
> )
> at java.lang.Thread.run(Thread.java:491)
>
>
> _______________________________________________
> WebObjects-dev mailing list
> email@hidden
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.