IBM Support

PM59365: BeanManager.resolve throws java.util.NoSuchElementException with an empty set parameter

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On WebSphere Application Server v8, running into this issue
    https://issues.apache.org/jira/browse/OWB-625
    
    OpenWebBeans
    OWB-625
    
    BeanManager.resolve throws java.util.NoSuchElementException with
    an empty set parameter
    
    blocker for Seam 3 usage
    

Local fix

  • None - Need fix.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  that leverage Contexts and Dependency       *
    *                  Injection (CDI) and Seam 3 CDI extension    *
    ****************************************************************
    * PROBLEM DESCRIPTION: NoSuchElementException thrown by        *
    *                      javax.enterprise.inject.spi.BeanManager *
    *                      .r                                      *
    *                      esolve(Set<Bean<? extends X>>)          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    BeanManager.resolve(Set<Bean<? extends X>>) throws
    java.util.NoSuchElementException when passed an empty set
    parameter which breaks compatibilty with Seam 3 CDI extensions
    which often make manager.resolve(manager.getBeans(type)) calls.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM59365

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-29

  • Closed date

    2012-04-12

  • Last modified date

    2012-04-12

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

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

Document Information

Modified date:
28 October 2021