No form data left for WOFileUpload!
No form data left for WOFileUpload!
- Subject: No form data left for WOFileUpload!
- From: Brendan Duddridge <email@hidden>
- Date: Wed, 12 Nov 2003 15:55:33 -0700
Hi,
I9m running my app on Solaris with WO 5.2.2 and Java 1.4.1.
We have a dynamically generated page that can contain none, one, or multiple
WOFileUpload components within a WOForm. If the user submits the form but
only provides a single file to upload, we get an exception. If they choose
both files to upload, then it works fine. Has anyone seen this problem
before? It only seems to occur in deployment mode. It works fine running on
my PowerBook from Xcode.
java.lang.IllegalStateException:
<com.webobjects.appserver._private.WOFileUpload> No form data left for
WOFileUpload!java.lang.IllegalStateException:
<com.webobjects.appserver._private.WOFileUpload> No form data left for
WOFileUpload!
at
com.webobjects.appserver._private.WOFileUpload.takeValuesFromRequest(WOFileU
pload.java:180)
at
com.webobjects.appserver._private.WOComponentContent.takeValuesFromRequest(W
OComponentContent.java:20)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WOConditional.takeValuesFromRequest(WOCond
itional.java:41)
at
com.webobjects.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:
914)
at
com.webobjects.appserver._private.WOComponentReference.takeValuesFromRequest
(WOComponentReference.java:97)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WOConditional.takeValuesFromRequest(WOCond
itional.java:41)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WOComponentContent.takeValuesFromRequest(W
OComponentContent.java:20)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WOConditional.takeValuesFromRequest(WOCond
itional.java:41)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WOGenericContainer.takeValuesFromRequest(W
OGenericContainer.java:17)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WORepetition.takeValuesFromRequest(WORepet
ition.java:124)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WOGenericContainer.takeValuesFromRequest(W
OGenericContainer.java:17)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WORepetition.takeValuesFromRequest(WORepet
ition.java:124)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WOGenericContainer.takeValuesFromRequest(W
OGenericContainer.java:17)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:
914)
at
com.clickspace.csutilities.wo.WOTable.takeValuesFromRequest(WOTable.java:173
)
at
com.webobjects.appserver._private.WOComponentReference.takeValuesFromRequest
(WOComponentReference.java:97)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:
914)
at
com.webobjects.appserver._private.WOComponentReference.takeValuesFromRequest
(WOComponentReference.java:97)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WOForm.takeValuesFromRequest(WOForm.java:7
0)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WOComponentContent.takeValuesFromRequest(W
OComponentContent.java:20)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:
914)
at
com.webobjects.appserver._private.WOComponentReference.takeValuesFromRequest
(WOComponentReference.java:97)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver._private.WOConditional.takeValuesFromRequest(WOCond
itional.java:41)
at
com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromReque
st(WODynamicGroup.java:81)
at
com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODyn
amicGroup.java:89)
at
com.webobjects.appserver.WOComponent.takeValuesFromRequest(WOComponent.java:
914)
at
com.webobjects.appserver.WOSession.takeValuesFromRequest(WOSession.java:1137
)
at
com.webobjects.appserver.WOApplication.takeValuesFromRequest(WOApplication.j
ava:1352)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPre
paredPage(WOComponentRequestHandler.java:189)
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:13
08)
at
com.clickspace.driveit.dicommon.DIApplication.dispatchRequest(DIApplication.
java:278)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java
:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254
)
at java.lang.Thread.run(Thread.java:536)
Here are the bindings I9m using in my wod file:
Upload1: WOFileUpload {
streamToFilePath = uploadToPath;
finalFilePath = actualFilePath;
overwrite = true;
bufferSize = 2000;
filePath = fileName;
size = "20";
mimeType = mimeType;
name = questionNumber;
}
Thanks,
___________________________
Brendan Duddridge
ClickSpace Interactive Inc.
Calgary & Vancouver, Canada
(403) 277-5591
http://www.clickspace.com
_______________________________________________
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.