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 182595 - [69cat] java.util.regex.PatternSyntaxException: Unexpected internal error near index 3 as\ ^
Summary: [69cat] java.util.regex.PatternSyntaxException: Unexpected internal error nea...
Status: RESOLVED DUPLICATE of bug 183115
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-23 16:18 UTC by alcmontejo
Modified: 2011-11-09 17:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144687


Attachments
stacktrace (2.42 KB, text/plain)
2010-03-23 16:19 UTC, alcmontejo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alcmontejo 2010-03-23 16:18:58 UTC
Build: NetBeans IDE Dev (Build 201003230200)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
alcmontejo: on sqlcommand editor , try to put the value of Matching Rows = as\

GUEST: In SQL command output panel, there's a "Matching Rows:" input box, I accidently entered a "\" (backslash), in the input field.  Needs to be escaped probably.  thank you.




Stacktrace: 
java.util.regex.PatternSyntaxException: Unexpected internal error near index 3
as\
   ^
   at java.util.regex.Pattern.error(Pattern.java:1713)
   at java.util.regex.Pattern.compile(Pattern.java:1466)
   at java.util.regex.Pattern.<init>(Pattern.java:1133)
   at java.util.regex.Pattern.compile(Pattern.java:847)
   at org.netbeans.modules.db.dataview.table.SuperPatternFilter.setFilterStr(SuperPatternFilter.java:91)
   at org.netbeans.modules.db.dataview.output.DataViewUI.processKeyEvents(DataViewUI.java:504)
Comment 1 alcmontejo 2010-03-23 16:19:03 UTC
Created attachment 95618 [details]
stacktrace
Comment 2 Jiri Rechtacek 2010-03-24 14:56:07 UTC
fixed core-main/rev/a45fa947a776, please verify
Comment 3 Quality Engineering 2010-03-25 05:55:14 UTC
Integrated into 'main-golden', will be available in build *201003250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a45fa947a776
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #182595: [69cat] java.util.regex.PatternSyntaxException
Comment 4 sunbiz 2010-03-30 03:32:54 UTC
Not fixed with the core-main/rev/a45fa947a776. Patch attached in #183115 resolves this issue as well.
Comment 5 Jiri Rechtacek 2010-03-30 15:12:19 UTC

*** This bug has been marked as a duplicate of bug 183115 ***
Comment 6 Jiri Rechtacek 2011-11-09 17:55:56 UTC
A better fix applied in core-main/rev/294c1c857218