Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4428

Injecting WebServiceContext into EJB3 Interceptor results in - java.lang.ArrayStoreException: org.jboss.injection.WebServiceContextPropertyInjector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.2.0
    • EAP 5.0.1
    • EJB
    • None
    • Release Notes
    • Hide
      When the WebServiceContext was injected into an EJB3 interceptor the following error was reported:

      <screen>Caused by: java.lang.ArrayStoreException: org.jboss.injection.WebServiceContextPropertyInjector
      at java.util.AbstractCollection.toArray(AbstractCollection.java:171)
      at org.jboss.ejb3.interceptor.InterceptorInjector.<init>(InterceptorInjector.java:42)
      at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:620)
      at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:434)
      at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:543)
      ...</screen>

      The cause of this issue was that the WebServiceContextPropertyInjector did not extend the PojoInjector. This has been corrected and this error no longer occurs.
      Show
      When the WebServiceContext was injected into an EJB3 interceptor the following error was reported: <screen>Caused by: java.lang.ArrayStoreException: org.jboss.injection.WebServiceContextPropertyInjector at java.util.AbstractCollection.toArray(AbstractCollection.java:171) at org.jboss.ejb3.interceptor.InterceptorInjector.<init>(InterceptorInjector.java:42) at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:620) at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:434) at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:543) ...</screen> The cause of this issue was that the WebServiceContextPropertyInjector did not extend the PojoInjector. This has been corrected and this error no longer occurs.
    • Documented as Resolved Issue
    • NEW

    Description

      When attempting to inject the WebServiceContext into an EJB3 Interceptor the following error is reported.

      Caused by: java.lang.ArrayStoreException: org.jboss.injection.WebServiceContextPropertyInjector
      at java.util.AbstractCollection.toArray(AbstractCollection.java:171)
      at org.jboss.ejb3.interceptor.InterceptorInjector.<init>(InterceptorInjector.java:42)
      at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:620)
      at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:434)
      at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:543)
      ... 36 more

      Comment from R+D: -

      "Bug, WebServiceContextPropertyInjector does not extend PojoInjector. "

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              darran.lofthouse@redhat.com Darran Lofthouse
              Scott Thomas Scott Thomas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: