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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 5.0.1
    • Fix Version/s: EAP_EWP 5.2.0
    • Component/s: EJB
    • Labels:
      None
    • Affects:
      Release Notes
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      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. "

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  wolfc Carlo de Wolf
                  Reporter:
                  dlofthouse Darran Lofthouse
                  Writer:
                  Scott Thomas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: