Strange behavior with FileUploadChooser

26 views
Skip to first unread message

Kazz

unread,
Apr 16, 2013, 2:57:27 AM4/16/13
to arib...@googlegroups.com
Hi folks,

I encountered strange exception. (field path evaluation error on "$displayName")
I use FileUploadChooser inside a modal page. The error does not occur on our development server (MacOS X/Glassfish 3.1/Java 1.6) but on our deployment server (Ubuntu 10/Glassfish 3.1/Java 1.6).

Does anyone have same experience?

Here is the stacktrace.

ariba.ui.aribaweb.core.AWBinding$AWBindingException: The following exception occurred while evaluating fieldpath: : <AWKeyPathBinding> ifTrue="$displayName", Component: ariba.ui.aribaweb.core.AWComponent@76fd2eca
-- Meta Context: Context:  (1 entries)
module : FundTools
  PropertyActivation...
    scopeKey : module !
      component : MetaDashboardLayout

Props:
    rank:60;
    module:FundTools;
                component:MetaDashboardLayout;
        pageBindings:${(properties.homePage == "MetaHomePage") ? ["module" : values.module] : null};
    homePage:MetaHomePage;

        jar:file:/opt/glassfish3/glassfish/domains/domain1/applications/IFAOrder/WEB-INF/lib/ariba.widgets.jar!/ariba/ui/widgets/FileUploadChooser.awl
        app.fund.FileUploadPanel@680b0ccd
        ariba.ui.aribaweb.core.AWInstanceInclude@2d759c18
        ariba.ui.widgets.BasicPageWrapper@45b02f9
        ariba.ui.meta.layouts.MetaHomePage@73202baa


        at ariba.ui.aribaweb.core.AWBinding.getBindingException(AWBinding.java:1637)
        at ariba.ui.aribaweb.core.AWKeyPathBinding.value(AWBinding.java:163)
        at ariba.ui.aribaweb.core.AWIf.evaluateConditionInComponent(AWIf.java:68)
        at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:237)
        at ariba.ui.aribaweb.core.AWComponent(FileUploadChooser).renderResponse(AWComponent.java:936)<FileUploadPanel.awl:3>
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<FileUploadPanel.awl:1>
        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)<ModalPageWrapper.awl:289>
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<Confirmation.awl:271>
        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)<Confirmation.awl:271>
        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)<Confirmation.awl:254>
        at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
        at ariba.ui.aribaweb.core.AWComponent(AWLazyDiv).renderResponse(AWComponent.java:936)<Confirmation.awl:254>
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<Confirmation.awl:252>
        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.AWComponent(DialogBox).renderResponse(AWComponent.java:936)<Confirmation.awl:252>
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<Confirmation.awl:252>
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<AWRelocatableDiv.awl:47>
        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)<AWRelocatableDiv.awl:41>
        at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
        at ariba.ui.aribaweb.core.AWComponent(AWRelocatableDiv).renderResponse(AWComponent.java:936)<Confirmation.awl:251>
        at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<Confirmation.awl:241>
        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)<Confirmation.awl:241>
        at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
        at ariba.ui.widgets.Confirmation.renderResponse(Confirmation.java:177)<ModalPageWrapper.awl:283>
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<ModalPageWrapper.awl:281>
        at ariba.ui.aribaweb.core.AWIncludeContent.renderResponse(AWIncludeContent.java:259)<PageWrapperForm.awl:61>
        at ariba.ui.aribaweb.core.AWMetaTemplateConditional.renderResponse(AWMetaTemplateConditional.java:80)
        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:182)<PageWrapperForm.awl:61>
        at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
        at ariba.ui.aribaweb.core.AWComponent(PageWrapperForm).renderResponse(AWComponent.java:936)<ModalPageWrapper.awl:281>
        at ariba.ui.aribaweb.core.AWIf.renderResponse(AWIf.java:240)
        at ariba.ui.aribaweb.core.AWAppendEnvironment.renderResponse(AWAppendEnvironment.java:70)
        at ariba.ui.aribaweb.core.AWComponent.renderResponse(AWComponent.java:936)
        at ariba.ui.widgets.ModalPageWrapper.renderResponse(ModalPageWrapper.java:106)<FileUploadPanel.awl:1>

František Kolář

unread,
Apr 16, 2013, 3:17:45 AM4/16/13
to arib...@googlegroups.com
This part worked for us both on Mac (dev machines) + solaris, and Debian. We did not have any issues with this. Probably need more details to be able to help you. 

But to give some pointers where I would start looking AWBaseRequest.parseMultipartEncodedRequest () where everything starts for you (regarding FILE Upload). Here you can see the file name (how AWFileData are populated) and you can slowly go down to *File*Internals to check the bindings.. 

We have to leave this current component due the fact that user either must use Modal panel to submit the form or must click any other button. 
Of course you can have only the browse button and then use event onChange="????" javascript to submit the form Request.senderclicked. but it was not enougth so we had to hide the browse button completly and integrate some drag and drop support.  or simply click on custom BLUE button e in the middle of the page. 







Regards

František Kolář 
Phone: +420 604 55 55 77  




On Apr 16, 2013, at 8:57 AM, Kazz <kazz...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "AribaWeb (aribaweb.org)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aribaweb+u...@googlegroups.com.
To post to this group, send email to arib...@googlegroups.com.
Visit this group at http://groups.google.com/group/aribaweb?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages