Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13266

mediaOutput not working anymore on Glassfish3 and EAP6.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.3.5
    • Component/s: component-output
    • Labels:
    • 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

    • Sprint:
      4.3.5 Sprint 1
    • Steps to Reproduce:
      Hide

      Execute any mediaOutput from GF3

      Specific:

      1. Start EAP server (or glassfish server)
      2. Download and build GitRepo: git@github.com:fabmars/RF13266.git
      3. Access one of these links first, second
      4. See console for exception
      Show
      Execute any mediaOutput from GF3 Specific: Start EAP server (or glassfish server) Download and build GitRepo: git@github.com:fabmars/RF13266.git Access one of these links first , second See console for exception

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                fabmars Fab Mars
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified