Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.1
-
Fix Version/s: 4.1.1
-
Component/s: ACE-Components, Sample Apps
-
Labels:None
-
Environment:ICEfaces4 trunk r46273/ MyFaces JSF
Browsers: all
Server: Tomcat7
-
Assignee Priority:P1
Description
showcase > fileEntry > Listener (All browsers)
Navigating away from this demo after uploading a file causes an ArrayIndexOutOfBoundsException popup and server error - Myfaces specific.
Screen shot fileEntry.png attached.
To reproduce, upload a file on the Listener demo, then click on fileEntry - Validation navigation link.
Navigating away from this demo after uploading a file causes an ArrayIndexOutOfBoundsException popup and server error - Myfaces specific.
Screen shot fileEntry.png attached.
To reproduce, upload a file on the Listener demo, then click on fileEntry - Validation navigation link.
Activity
Carmen Cristurean
created issue -
Carmen Cristurean
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | fileEntry.png [ 22004 ] |
Carmen Cristurean
made changes -
Affects Version/s | 4.1 [ 11375 ] |
Carmen Cristurean
made changes -
Fix Version/s | 4.1 [ 11375 ] |
Carmen Cristurean
made changes -
Description |
showcase > fileEntry > Listener (All)
Navigating away from this demo after uploading a file causes an ArrayIndexOutOfBoundsException popup and server error - Myfaces specific. Screen shot fileEntry.png attached. |
showcase > fileEntry > Listener (All)
Navigating away from this demo after uploading a file causes an ArrayIndexOutOfBoundsException popup and server error - Myfaces specific. Screen shot fileEntry.png attached. To reproduce, upload a file on the Listener demo, then click on fileEntry - Validation navigation link. |
Carmen Cristurean
made changes -
Description |
showcase > fileEntry > Listener (All)
Navigating away from this demo after uploading a file causes an ArrayIndexOutOfBoundsException popup and server error - Myfaces specific. Screen shot fileEntry.png attached. To reproduce, upload a file on the Listener demo, then click on fileEntry - Validation navigation link. |
showcase > fileEntry > Listener (All browsers)
Navigating away from this demo after uploading a file causes an ArrayIndexOutOfBoundsException popup and server error - Myfaces specific. Screen shot fileEntry.png attached. To reproduce, upload a file on the Listener demo, then click on fileEntry - Validation navigation link. |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Assignee Priority | P1 [ 10010 ] |
Ken Fyten
made changes -
Fix Version/s | 4.1.1 [ 12972 ] | |
Fix Version/s | 4.1 [ 11375 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46968 | Tue Jan 12 11:46:13 MST 2016 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java
|
Arturo Zambrano
made changes -
Attachment | ice10866.zip [ 22038 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #47087 | Thu Feb 04 11:07:06 MST 2016 | ken.fyten | |
Files Changed | ||||
MODIFY
/icefaces4/branches/icefaces-4.1.1/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java
|
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The error can be reproduced by simply loading (or reloading) two or more file entry demos before navigating to the validation demo. I modified IDs so that they are different across all file entry demos and corrected the namespaces in the validation page, which were different, but the exception is still thrown. The mere presence of the ace:fileEntry components in those demos causes the problem, even when removing all their attributes so that they aren't bound to any bean property.
After configuring the showcase app as being in the development stage, the following exception can be seen. The stack trace doesn't show any ICEfaces classes.
Nov 26, 2015 1:39:00 PM org.icefaces.impl.application.ExtendedExceptionHandler handle
WARNING: queued exception
java.lang.ArrayIndexOutOfBoundsException: 3
at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:368)
at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:377)
at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2579)
at org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:129)
at org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2784)
at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:610)
at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:625)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:84)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)