IBM Support

PH00063: INJECTIONPOINT PARAMETER ISSUE. INCOMPATIBLE REFERENCE - @INJECT JAVA.LANG.REFLECT.METHOD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • EJB Container exception:
    
    
    CNTR0019E: EJB threw an unexpected (non-declared) exception
    during invocation of method "listKBZMailTextEntities".
    Exception data:
    javax.ejb.EJBException: CWNEN0074E: The [Ljava.lang.Object;
    type of the
    object instance obtained for the @Inject
    java.lang.reflect.Method.
    setEntityManager(InjectionPoint, BeanManager, Instance)
    reference is
    incompatible with the type of the protected void
    at.jrap.soa.jpa.dao.
    AbstractNonEntityDAO.setEntityManager(javax.enterprise.inject.sp
    i.
    InjectionPoint,javax.enterprise.inject.spi.BeanManager,javax.ent
    erprise.
    inject.Instance) member.; nested exception is: java.lang.
    IllegalArgumentException: wrong number of arguments
        at com.ibm.ejs.container.util.ExceptionUtil.EJBException
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V9.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Injecting an InjectionPoint as a        *
    *                      paramater to a method does not work     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CDI allows a programmer to inject objects directly into a
    method, however if the method paramter had a type of
    InjectionPoint CDI would attept to aquire a reference instead
    of creating an injection point resulting in an exception being
    thrown.
    

Problem conclusion

  • New code was added to create an injection point instead of
    aquire a reference for injecting InjectionPoint into a method.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.0.9 and liberty 18.0.0.3  Please refer to the
    Recommended
    Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH00063

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-07-03

  • Closed date

    2018-09-20

  • Last modified date

    2018-09-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 May 2022