Uploaded image for project: 'Solder'
  1. Solder
  2. SOLDER-113

Generic beans producer annotated with @DefaultBean doesn't work

    Details

      Description

      If a generic beans producer is annotated with @DefaultBean then the following exception is thrown at deployment.

      java.lang.UnsupportedOperationException
      at java.util.Collections$UnmodifiableCollection$1.remove(Collections.java:1012)
      at org.jboss.seam.solder.bean.generic.GenericBeanExtension.processBean(GenericBeanExtension.java:498)

      The full stack trace is available here http://pastebin.com/B5ahLru4

        Gliffy Diagrams

          Activity

          Hide
          jharting Jozef Hartinger added a comment -

          The exception can be fixed easily however changes to both generic and default bean extension are needed to make this stuff work together.

          Show
          jharting Jozef Hartinger added a comment - The exception can be fixed easily however changes to both generic and default bean extension are needed to make this stuff work together.
          Hide
          jharting Jozef Hartinger added a comment -

          I do have a fix for this at https://github.com/jharting/seam-solder/tree/SOLDER-113 . My tests are passing, the testsuite is not really extensive, though. Kevin, could you verify that the fix works for you before I push this upstream?

          Show
          jharting Jozef Hartinger added a comment - I do have a fix for this at https://github.com/jharting/seam-solder/tree/SOLDER-113 . My tests are passing, the testsuite is not really extensive, though. Kevin, could you verify that the fix works for you before I push this upstream?
          Hide
          kevinpollet Kevin Pollet added a comment -

          Sorry for the delay
          It works for me, thanks!

          Show
          kevinpollet Kevin Pollet added a comment - Sorry for the delay It works for me, thanks!
          Hide
          shane.bryzak Shane Bryzak added a comment -

          Pull request applied, thanks Jozef

          Show
          shane.bryzak Shane Bryzak added a comment - Pull request applied, thanks Jozef

            People

            • Assignee:
              jharting Jozef Hartinger
              Reporter:
              kevinpollet Kevin Pollet
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development