Open GoogleCodeExporter opened 9 years ago
The Form is actually specified in ModalPageWrapper via FileUploadPanel. Can you
attach the full stack trace?
Original comment by kingsley...@gmail.com
on 15 Jul 2009 at 4:27
Yes, you right but setting 'hasForm' true for ModalPageWrapper in
FileUploadPanel
didn't do the trick.
Full stack trace:
ariba.ui.aribaweb.util.AWGenericException:
input(/C:/Java/aribaweb-5.0RC3/src/widgets/ariba/ui/table/AWTMultiSelectColumnRe
nderer.awl:52)
a:IncludeComponent(/C:/Java/aribaweb-5.0RC3/src/widgets/ariba/ui/table/AWTDataTa
ble.awl:833)
AWIncludeBlock(/C:/Java/aribaweb-5.0RC3/src/widgets/ariba/ui/table/AWTDataTable.
awl:721)
AWTDataTable(/C:/Java/aribaweb-5.0RC3/examples/Demo/gallery/html/FileUploadDownl
oad.awl:4)
file:/C:/Java/aribaweb-5.0RC3/examples/Demo/gallery/html/FileUploadExamples.awl:4
input(/C:/Java/aribaweb-5.0RC3/src/widgets/ariba/ui/table/AWTMultiSelectColumnRe
nderer.awl:52)
a:IncludeComponent(/C:/Java/aribaweb-5.0RC3/src/widgets/ariba/ui/table/AWTDataTa
ble.awl:833)
AWIncludeBlock(/C:/Java/aribaweb-5.0RC3/src/widgets/ariba/ui/table/AWTDataTable.
awl:721)
AWTDataTable(/C:/Java/aribaweb-5.0RC3/examples/Demo/gallery/html/FileUploadDownl
oad.awl:4)
file:/C:/Java/aribaweb-5.0RC3/examples/Demo/gallery/html/FileUploadExamples.awl:4
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWComponent(ariba.ui.table.AWTMultiSelectColumnRenderer).
renderResponse(AWComponent.java:936)<AWTDataTable.awl:833>
at ariba.ui.aribaweb.core.AWIncludeComponent.renderResponse(AWIncludeComponent.java:264)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWFor.renderResponse(AWFor.java:309)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AWTDataTable.awl:828>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.aribaweb.core.AWRefreshRegion.renderResponse(AWRefreshRegion.java:132)<
AWTDataTable.awl:828>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWWhile.renderResponse(AWWhile.java:160)
at
ariba.ui.aribaweb.core.AWAppendEnvironment.renderResponse(AWAppendEnvironment.ja
va:70)
at
ariba.ui.aribaweb.core.AWComponent(AWIncludeBlock).renderResponse(AWComponent.ja
va:936)<AWTDataTable.awl:721>
at ariba.ui.aribaweb.core.AWFor.renderResponse(AWFor.java:309)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWContent._renderResponse(AWContent.java:135)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:244
)<AWTDataTable.awl:680>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AWTScrollTableWrapper.awl:240>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.aribaweb.core.AWRefreshRegion.renderResponse(AWRefreshRegion.java:132)<
AWTScrollTableWrapper.awl:240>
at ariba.ui.aribaweb.core.AWTaggedContainer.appendBody(AWTaggedContainer.java:88)
at ariba.ui.aribaweb.core.AWTaggedContainer.renderResponse(AWTaggedContainer.java:74)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AWTScrollTableWrapper.awl:238>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.aribaweb.core.AWRefreshRegion.renderResponse(AWRefreshRegion.java:132)<
AWTScrollTableWrapper.awl:238>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AWTScrollTableWrapper.awl:154>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.aribaweb.core.AWRefreshRegion.renderResponse(AWRefreshRegion.java:132)<
AWTScrollTableWrapper.awl:154>
at
ariba.ui.aribaweb.core.AWComponent(AWTScrollTableWrapper).renderResponse(AWCompo
nent.java:936)<AWTDataTable.awl:610>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AWTDataTable.awl:593>
at
ariba.ui.aribaweb.core.AWComponent(AWTNullWrapper).renderResponse(AWComponent.ja
va:936)<AWTDataTable.awl:593>
at ariba.ui.aribaweb.core.AWIncludeComponent.renderResponse(AWIncludeComponent.java:264)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AWTDataTable.awl:591>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWComponent(AWTExcelWrapper).renderResponse(AWComponent.j
ava:936)<AWTDataTable.awl:591>
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.table.AWTDataTable.renderResponse(AWTDataTable.java:527)<FileUploadDown
load.awl:4>
at
ariba.ui.aribaweb.core.AWComponent(FileUploadDownload).renderResponse(AWComponen
t.java:936)<FileUploadExamples.awl:4>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<FileUploadExamples.awl:3>
at
ariba.ui.aribaweb.core.AWComponent(Tab).renderResponse(AWComponent.java:936)<Fil
eUploadExamples.awl:3>
at ariba.ui.aribaweb.core.AWIncludeComponent.renderResponse(AWIncludeComponent.java:264)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<TabSet.awl:82>
at ariba.ui.aribaweb.core.AWTaggedContainer.appendBody(AWTaggedContainer.java:88)
at ariba.ui.aribaweb.core.AWTaggedContainer.renderResponse(AWTaggedContainer.java:74)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<BaseTabSet.awl:89>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.aribaweb.core.AWRefreshRegion.renderResponse(AWRefreshRegion.java:132)<
BaseTabSet.awl:89>
at
ariba.ui.aribaweb.core.AWComponent(BaseTabSet).renderResponse(AWComponent.java:9
36)<TabSet.awl:82>
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at ariba.ui.widgets.TabSet.renderResponse(TabSet.java:146)<FileUploadExamples.awl:2>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<FileUploadExamples.awl:1>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<BasicPageWrapper.awl:251>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AribaPageContent.awl:23>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<DialogContentWrapper.awl:19>
at
ariba.ui.aribaweb.core.AWComponent(AWIncludeBlock).renderResponse(AWComponent.ja
va:936)<DialogContentWrapper.awl:18>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWComponent(DialogContentWrapper).renderResponse(AWCompon
ent.java:936)<AribaPageContent.awl:23>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<AribaPageContent.awl:19>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.aribaweb.core.AWRefreshRegion.renderResponse(AWRefreshRegion.java:132)<
AribaPageContent.awl:19>
at
ariba.ui.aribaweb.core.AWAppendEnvironment.renderResponse(AWAppendEnvironment.ja
va:70)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.widgets.AribaPageContent.renderResponse(AribaPageContent.java:39)<Ariba
BasicPageWrapper.awl:179>
at ariba.ui.aribaweb.core.AWTaggedContainer.appendBody(AWTaggedContainer.java:88)
at ariba.ui.aribaweb.core.AWTaggedContainer.renderResponse(AWTaggedContainer.java:74)
at ariba.ui.aribaweb.core.AWTaggedContainer.appendBody(AWTaggedContainer.java:88)
at ariba.ui.aribaweb.core.AWTaggedContainer.renderResponse(AWTaggedContainer.java:74)
at
ariba.ui.aribaweb.core.AWComponent(AribaBasicPageWrapper).renderResponse(AWCompo
nent.java:936)<BasicPageWrapper.awl:227>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<BasicPageWrapper.awl:220>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<PageWrapperForm.awl:61>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at ariba.ui.aribaweb.html.AWForm.renderResponse(AWForm.java:192)<PageWrapperForm.awl:61>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at
ariba.ui.aribaweb.core.AWComponent(PageWrapperForm).renderResponse(AWComponent.j
ava:936)<BasicPageWrapper.awl:219>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<BasicPageWrapper.awl:215>
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.aribaweb.core.AWRefreshRegion.renderResponse(AWRefreshRegion.java:132)<
BasicPageWrapper.awl:215>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<BasicPageWrapper.awl:213>
at
ariba.ui.aribaweb.core.AWComponent(AWBody).renderResponse(AWComponent.java:936)<
BasicPageWrapper.awl:213>
at
ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259
)<BasicPageWrapper.awl:204>
at
ariba.ui.aribaweb.core.AWComponent(DocumentContainer).renderResponse(AWComponent
.java:936)<BasicPageWrapper.awl:204>
at
ariba.ui.aribaweb.core.AWAppendEnvironment.renderResponse(AWAppendEnvironment.ja
va:70)
at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at
ariba.ui.widgets.PageWrapper.renderResponse(PageWrapper.java:170)<FileUploadExam
ples.awl:1>
at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
at ariba.ui.aribaweb.core.AWComponent._topLevelRenderResponse(AWComponent.java:952)
at ariba.ui.aribaweb.core.AWPage.renderResponse(AWPage.java:746)
at ariba.ui.aribaweb.core.AWRequestContext.generateResponse(AWRequestContext.java:1060)
at ariba.ui.aribaweb.core.AWRequestContext.generateResponse(AWRequestContext.java:1122)
at
ariba.ui.aribaweb.core.AWComponentActionRequestHandler.handleRequest(AWComponent
ActionRequestHandler.java:583)
at ariba.ui.aribaweb.core.AWRequestContext.handleRequest(AWRequestContext.java:1129)
at
ariba.ui.aribaweb.core.AWComponentActionRequestHandler.handleRequest(AWComponent
ActionRequestHandler.java:762)
at
ariba.ui.aribaweb.core.AWConcreteServerApplication._dispatchRequest(AWConcreteSe
rverApplication.java:509)
at
ariba.ui.aribaweb.core.AWConcreteServerApplication.dispatchRequest(AWConcreteSer
verApplication.java:553)
at
ariba.ui.aribaweb.core.AWConcreteApplication.dispatchRequest(AWConcreteApplicati
on.java:864)
at
ariba.ui.servletadaptor.AWDispatcherServlet.aribawebDispatcher(AWDispatcherServl
et.java:191)
at ariba.ui.servletadaptor.AWDispatcherServlet.doPost(AWDispatcherServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at ariba.ui.servletadaptor.AWDispatcherServlet.service(AWDispatcherServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pr
otocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: ariba.util.core.FatalAssertionException: Attempt to record form
input id
outside AWForm.
at ariba.util.core.Assert.assertFatal(Assert.java:464)
at ariba.util.core.Assert.assertFatal(Assert.java:458)
at ariba.util.core.Assert.that(Assert.java:97)
at ariba.ui.aribaweb.core.AWRequestContext.recordFormInputId(AWRequestContext.java:781)
at ariba.ui.aribaweb.core.AWGenericElement.renderResponse(AWGenericElement.java:530)
at ariba.ui.aribaweb.core.AWGenericElement.renderResponse(AWGenericElement.java:559)
at ariba.ui.aribaweb.core.AWContainerElement.renderResponse(AWContainerElement.java:121)
... 307 more
Original comment by one.mail...@gmail.com
on 15 Jul 2009 at 6:49
Actually fix is to wrap t:DataTable in FileUploadDownload.awl with <a:Form
enctype="multipart/form-data"> as in MultiFileUpload.awl.
Original comment by one.mail...@gmail.com
on 15 Jul 2009 at 8:44
Original issue reported on code.google.com by
one.mail...@gmail.com
on 15 Jul 2009 at 3:33