My Oracle Support Banner

Issues With Drag And Drop Area Of <af:inputFile> Component When "required" Property Is Set To "true" And "maximumFiles" Property Is Set To A Value Different Than "1" (Multiple Files Mode) (Doc ID 2778360.1)

Last updated on JUNE 10, 2021

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

An ADF 12.2.1.4.0 application has a page using <af:inputFile> component.

When setting "required" property to "true" the drag and drop area of the component is not visible.

When setting "maximumFiles" property to a value different than "1" the following exception is thrown server side

java.lang.IllegalStateException
at org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter.writeAttribute(HtmlResponseWriter.java:304)
<_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6>
java.lang.IllegalStateException
at org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter.writeAttribute(HtmlResponseWriter.java:304)

...


]] Root cause of ServletException.
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException
Caused By: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:611)
Caused By: java.lang.IllegalStateException


Setting the "required" property to "false" the drag and drop area will be visible and the exception will disappear.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.