Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2335

InterceptionFactory used on interface causes NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.CR2
    • 3.0.0.CR1
    • None
    • None

    Description

      I tried using interception factory on a produced List (using the List interface instead of actual underlying ArrayList).

      This causes an NPE to be thrown - we should be handling this is some more pleasant manner.

      Here is a link to my branch with test/reproducer for this. Runnable with -Dtest=InterceptionFactoryTest#testListAdd.

      Attachments

        Issue Links

          Activity

            People

              asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: