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 202863 - java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 4 lib\install\applications\__admingui\WEB-INF\lib\console-core-4.0(?:-[0-9SNAPHOT]+(?:\.[0-9]+(?:_[0-9]+|)|).*|).
Summary: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence n...
Status: VERIFIED DUPLICATE of bug 202907
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 08:00 UTC by Jiri Skrivanek
Modified: 2011-10-03 07:58 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181502


Attachments
stacktrace (10.74 KB, text/plain)
2011-09-30 08:00 UTC, Jiri Skrivanek
Details
stacktrace (13.39 KB, text/plain)
2011-09-30 22:00 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-09-30 08:00:48 UTC
Build: NetBeans IDE Dev (Build 201109290601)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows XP

User Comments:
jskrivanek: GlassFish Server 3+ is not good name for default server instance. To reproduce:
- open new project wizard
- choose Web|Java web application
- click next
- click Add to add server
- choose GlassFish Server 3+ and clik Next
- browse to GlassFish instalation
- click Next and exception is thrown




Stacktrace: 
java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 4
lib\install\applications\__admingui\WEB-INF\lib\console-core-4.0(?:-[0-9SNAPHOT]+(?:\.[0-9]+(?:_[0-9]+|)|).*|).jar
    ^
   at java.util.regex.Pattern.error(Pattern.java:1924)
   at java.util.regex.Pattern.escape(Pattern.java:2416)
   at java.util.regex.Pattern.atom(Pattern.java:2164)
   at java.util.regex.Pattern.sequence(Pattern.java:2097)
   at java.util.regex.Pattern.expr(Pattern.java:1964)
   at java.util.regex.Pattern.compile(Pattern.java:1665)
Comment 1 Jiri Skrivanek 2011-09-30 08:00:52 UTC
Created attachment 111343 [details]
stacktrace
Comment 2 Jiri Skrivanek 2011-09-30 08:06:36 UTC
It is not possible to register GlassFish instance even if you change its name.
Comment 3 Sergey Petrov 2011-09-30 10:59:04 UTC
I wasn't able to register 3.0.1 and 3.1 today, but was able to register 3.1.1, yet 'next' wasn't possible to press to configure registration, only 'finish' was possible.
Comment 4 Sergey Petrov 2011-09-30 11:00:54 UTC
but I can't start registered 3.1.1 (like issue 202857)
Comment 5 muellermi 2011-09-30 22:00:38 UTC
Created attachment 111382 [details]
stacktrace
Comment 6 Vince Kraemer 2011-10-01 00:09:40 UTC
http://hg.netbeans.org/web-main/rev/8fd8c7c62d40
Comment 7 Vince Kraemer 2011-10-01 00:10:38 UTC

*** This bug has been marked as a duplicate of bug 202907 ***