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

InterceptionFactory used on interface causes NPE

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.CR1
    • Fix Version/s: 3.0.0.CR2
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                antoinesabot-durand Antoine Sabot-Durand
                Reporter:
                manovotn Matej Novotny
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: