IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

[{"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:
02 November 2012