IV20896: JAVA.SQL.DRIVERMANAGER.LOADDRIVERS THROWS PATTERNSYNTAXEXCEPTION AFTER APPLYING APAR IV31153

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: When JVM initialize java.sql.DriverManager, it
    will throw a java.util.regex.PatternSyntaxException
    .
    Stack Trace: aused by: java.util.regex.PatternSyntaxException:
    Unexpected
     internal
    error near index 1
    
    \
    
     <HAT>01
    
     at java.util.regex.Pattern.error(Pattern.java:1724)
    
     at java.util.regex.Pattern.compile(Pattern.java:1477)
    
     at java.util.regex.Pattern.<init>(Pattern.java:1144)
    
     at java.util.regex.Pattern.compile(Pattern.java:834)
    
     at java.lang.String.replaceAll(String.java:1573)
    
     at java.sql.DriverManager.loadDrivers(DriverManager.java:199)
    
     at java.sql.DriverManager.loadDrivers(DriverManager.java:271)
    
     at
    java.sql.DriverManager.loadDriversFromFiles(DriverManager.java:1
    82)
    
     at
    java.sql.DriverManager.loadInitialDrivers(DriverManager.java:98)
    
     at java.sql.DriverManager.<clinit>(DriverManager.java:89)
    
     at java.lang.J9VMInternals.initializeImpl(Native Method)
    
     at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    
     ... 17 more
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • This problem is due to an invalid regular expression in
    String.replaceAll
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR4
    .
    The solution is to replace the invalid regular expression with
    the correct string
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV20896

  • 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

    2012-05-10

  • Closed date

    2012-05-18

  • Last modified date

    2012-11-02

  • 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



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV20896

Modified date:

2012-11-02

Translate my page

Machine Translation

Content navigation