IBM Support

IV02794: JAVA.LANG.ILLEGALARGUMENTEXCEPTION THROWED WHEN CREATE AN JAVAX.NAMING.LDAP.RDN INSTANCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Customer's application can not process a name
    which includes '
    .
    Stack Trace: The exception trace may look like following:
    java.lang.IllegalArgumentException: Invalid distinguished name
    string
    at
    org.apache.harmony.security.x509.DNParser.getByte(DNParser.java:
    377)
    at
    org.apache.harmony.security.x509.DNParser.getUTF8(DNParser.java:
    312)
    at
    org.apache.harmony.security.x509.DNParser.getEscaped(DNParser.ja
    va:304)
    at
    org.apache.harmony.security.x509.DNParser.escapedAV(DNParser.jav
    a:248)
    at
    org.apache.harmony.jndi.internal.parser.RelaxedDnParser.parse(Re
    laxedDnParser.java:222)
    at
    org.apache.harmony.jndi.internal.parser.LdapRdnParser.getListFor
    Rdn(LdapRdnParser.java:227)
    at javax.naming.ldap.Rdn.(Rdn.java:111)
    .
    

Local fix

Problem summary

  • Our implementation failed to process single quote in Rdn name.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.1 SR1
    6.0.0 SR10
    .
    The code has been updated to handle single quote
    .
    To obtain the fix:
    Install build 20110712 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV02794

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-06

  • Closed date

    2011-07-28

  • Last modified date

    2011-07-28

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 July 2011