This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244844

Summary: java.util.regex.PatternSyntaxException: Unclosed character class near index 51 java\.util\.concurrent\.ConcurrentHashMap\$Segment[] ^
Product: profiler Reporter: Exceptions Reporter <exceptions_reporter>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal CC: thurka
Priority: P3 Keywords: VISUALVM
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208564
Attachments: stacktrace

Description Exceptions Reporter 2014-06-02 18:14:07 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
GUEST: Opened a dumped heap in profiler from a previous process and clicked on "Show only subclasses" in the context menu of a class




Stacktrace: 
java.util.regex.PatternSyntaxException: Unclosed character class near index 51
java\.util\.concurrent\.ConcurrentHashMap\$Segment[]
                                                   ^
   at java.util.regex.Pattern.error(Pattern.java:1924)
   at java.util.regex.Pattern.clazz(Pattern.java:2493)
   at java.util.regex.Pattern.sequence(Pattern.java:2030)
   at java.util.regex.Pattern.expr(Pattern.java:1964)
   at java.util.regex.Pattern.compile(Pattern.java:1665)
   at java.util.regex.Pattern.<init>(Pattern.java:1337)
Comment 1 Exceptions Reporter 2014-06-02 18:14:10 UTC
Created attachment 147539 [details]
stacktrace
Comment 2 Tomas Hurka 2014-06-03 08:39:00 UTC
Fixed in profiler-main

changeset:   274059:eb1892728391
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Jun 03 10:38:00 2014 +0200
summary:     bugfix #244844, quote whole class name, not just . and $ characters
Comment 3 Quality Engineering 2014-06-05 02:15:47 UTC
Integrated into 'main-silver', will be available in build *201406050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/eb1892728391
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #244844, quote whole class name, not just . and $ characters