[richfaces-issues] [JBoss JIRA] (RF-13266) mediaOutput not working anymore on Glassfish3 and EAP6.1

Brian Leathem (JIRA) issues at jboss.org
Tue Dec 17 14:01:33 EST 2013


    [ https://issues.jboss.org/browse/RF-13266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932169#comment-12932169 ] 

Brian Leathem commented on RF-13266:
------------------------------------

This is weird, because the interface [{{org.jboss.weld.util.el.ForwardingMethodExpression}}|https://github.com/weld/core/blob/1.1/impl/src/main/java/org/jboss/weld/util/el/ForwardingMethodExpression.java#L27] extends the [{{javax.el.MethodExpression}}|http://docs.oracle.com/javaee/6/api/javax/el/MethodExpression.html] interface which in turn extends the [{{javax.el.Expression}}|http://docs.oracle.com/javaee/6/api/javax/el/Expression.html] interface which is present in the [serialisation whitelist|https://github.com/richfaces4/core/blob/master/impl/src/main/resources/org/richfaces/resource/resource-serialization.properties#L1].
                
> mediaOutput not working anymore on Glassfish3 and EAP6.1
> --------------------------------------------------------
>
>                 Key: RF-13266
>                 URL: https://issues.jboss.org/browse/RF-13266
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>    Affects Versions: 4.3.4
>         Environment: Glassfish 3.1.2.2 patched with Weld 1.1.14 (the problem appears also on earlier Weld builds) and JSF 2.1.26 and JDK 1.7.0_45
>            Reporter: Fab Mars
>            Assignee: Matej Novotny
>              Labels: regression
>             Fix For: 4.3.5
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> This is a followup to https://issues.jboss.org/browse/RF-13098 focusing on Glassfish3.
> I have 2 mediaOutput in my code, none works.
> The first one passes a Long as the value to the createContent method and the expected output is a PDF. I get
> SEVERE: Input error for deserialize data java.io.InvalidClassException: Unauthorized deserialization attempt; org.jboss.weld.util.el.ForwardingMethodExpression
> The second one passes an array of 3 bytes (a color code) and the expected result is an image. I get
> SEVERE: Input error for deserialize data java.io.InvalidClassException: Unauthorized deserialization attempt; [B
> I'm preparing a reproducer on github and will share the url in the next comment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list