Bug #56391 Crash in java.util.regex.Matcher.getTextLength - implement java bug workaround
Submitted: 31 Aug 2010 2:06 Modified: 21 Sep 2010 20:38
Reporter: Roel Van de Paar Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S2 (Serious)
Version:2.2.2.1730 OS:Any
Assigned to: Mark Matthews CPU Architecture:Any

[31 Aug 2010 2:06] Roel Van de Paar
Description:
java.util.regex.Matcher.getTextLength(Unknown Source)
java.util.regex.Matcher.reset(Unknown Source)
java.util.regex.Matcher.<init>(Unknown Source)
java.util.regex.Pattern.matcher(Unknown Source)
com.mysql.merlin.ui.forms.VersionRangeParser.parseOne(VersionRangeParser.java:175)
[... full stack trace attached ...]

How to repeat:
Modify "MySQL Version" field in "Manage Groups & Servers"

Suggested fix:
This is a known bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6178785

Exception in thread "main" java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
        at java.util.regex.Matcher.reset(Matcher.java:284)
        at java.util.regex.Matcher.<init>(Matcher.java:205)
        at java.util.regex.Pattern.matcher(Pattern.java:879)

Please prevent issue in the code as far as possible.
[21 Sep 2010 20:38] Enterprise Tools JIRA Robot
Bill Weber writes: 
closing - however unable to reproduce test case - hoping customer with problem can try the fix version
[13 Oct 2010 6:54] Simon Mudd
I no longer can reproduce the problem on 2.2.3.1745.