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 177426 - [68cat] java.util.regex.PatternSyntaxException: Unclosed group near index 12 .*edit.*nav( ^
Summary: [68cat] java.util.regex.PatternSyntaxException: Unclosed group near index 12 ...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
: 189280 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-23 06:36 UTC by neilg
Modified: 2012-12-17 14:13 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 162725


Attachments
stacktrace (8.39 KB, text/plain)
2009-11-23 06:36 UTC, neilg
Details
stacktrace (7.83 KB, text/plain)
2010-01-29 10:44 UTC, Vladimir Kvashin
Details
stacktrace (2.78 KB, text/plain)
2010-03-11 12:22 UTC, Cormo
Details
stacktrace (2.79 KB, text/plain)
2010-03-28 10:38 UTC, Exceptions Reporter
Details
A patch for the bug 177426. (701 bytes, patch)
2010-09-21 22:59 UTC, Victor Vasilyev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description neilg 2009-11-23 06:36:05 UTC
This bug was originally marked as duplicate of bug 162936, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 200911191401)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.31-14-generic, amd64

User Comments:
neilg: Accidentally typed a '(' into the Go to Type dialog



Stacktrace: 
java.util.regex.PatternSyntaxException: Unclosed group near index 12
.*edit.*nav(
            ^
        at java.util.regex.Pattern.error(Pattern.java:1713)
        at java.util.regex.Pattern.accept(Pattern.java:1571)
        at java.util.regex.Pattern.group0(Pattern.java:2533)
        at java.util.regex.Pattern.sequence(Pattern.java:1806)
        at java.util.regex.Pattern.expr(Pattern.java:1752)
        at java.util.regex.Pattern.compile(Pattern.java:1460)
Comment 1 neilg 2009-11-23 06:36:09 UTC
Created attachment 91532 [details]
stacktrace
Comment 2 Victor Vasilyev 2009-12-11 03:02:36 UTC
I can't reproduce this bug on the Windows platform:

Product Version: NetBeans IDE Dev (Build 091209-3d9a6e628082)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Windows Vista version 6.0 running on x86; Cp1251; ru_RU (nb)
Comment 3 Vladimir Kvashin 2010-01-29 10:44:44 UTC
Created attachment 93661 [details]
stacktrace
Comment 4 Exceptions Reporter 2010-03-04 02:19:59 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=162725
Comment 5 Cormo 2010-03-11 12:22:15 UTC
Created attachment 95060 [details]
stacktrace

Trying to escape characters
Comment 6 Exceptions Reporter 2010-03-28 10:38:01 UTC
Created attachment 96095 [details]
stacktrace
Comment 7 Victor Vasilyev 2010-09-20 22:35:17 UTC
*** Bug 189280 has been marked as a duplicate of this bug. ***
Comment 8 Victor Vasilyev 2010-09-21 22:59:11 UTC
Created attachment 102109 [details]
A patch for the bug 177426.

We have a problem with very strong logging level in the method org.netbeans.modules.javascript.editing.JsIndex.query(...).
The bug177426.patch solves this problem by changing the logging level to the Level.FINE.

Please, review proposed patch, and apply it if all is OK.
Comment 9 Petr Pisl 2012-12-17 14:13:51 UTC
The original code was replaced with different one.