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

Array-valued member of an interceptor binding not annotated @Nonbinding results in ClassCastException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0.0.Final
    • None
    • None

      The stacktrace shows:

      Caused by: java.lang.ClassCastException: org.jboss.weld.exceptions.DefinitionException cannot be cast to org.jboss.weld.exceptions.WeldException

      instead of some meaningful message.

      The reason is org.jboss.weld.exceptions.DeploymentException and org.jboss.weld.exceptions.DefinitionException are no longer subclasses of WeldException, but the code in MetaAnnotationStore.getInterceptorBindingModel() relies on it.

            rhn-engineering-jharting Jozef Hartinger
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: