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 253027 - IllegalArgumentException: unmatched braces in the pattern at position 34
Summary: IllegalArgumentException: unmatched braces in the pattern at position 34
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 15:31 UTC by mguanir
Modified: 2017-04-24 19:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180628


Attachments
stacktrace (2.38 KB, text/plain)
2015-06-16 15:31 UTC, mguanir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mguanir 2015-06-16 15:31:43 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 8.1

User Comments:
GUEST: reinstalei o netbeans e n
Comment 1 mguanir 2015-06-16 15:31:46 UTC
Created attachment 154253 [details]
stacktrace
Comment 2 ilia 2017-02-07 15:37:49 UTC
Two of three Exception reports are outdated (7.0.1, stacktraces are not valid).

The last one (8.0.1) seems to be valid, but I can't reproduce the issue. It *may* have been caused by illegal characters in a file name which were recognized as a macro variable that needs an expansion.

Fixed in:
  http://hg.netbeans.org/cnd-main/rev/84323981ee7e
Comment 3 ilia 2017-02-07 15:39:20 UTC
Also adding braces and parentheses to a restricted symbols (see fix) helps to avoid mess in a Makefile which makes project non-compilable
Comment 4 Quality Engineering 2017-02-09 02:53:04 UTC
Integrated into 'main-silver', will be available in build *201702090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/84323981ee7e
User: Ilia Gromov <ilia@netbeans.org>
Log: Fixed #253027 - IllegalArgumentException: unmatched braces in the pattern at position 34
Comment 5 Alexander Simon 2017-03-23 11:08:04 UTC
(In reply to ilia from comment #3)
> Also adding braces and parentheses to a restricted symbols (see fix) helps
> to avoid mess in a Makefile which makes project non-compilable
It is right note.
But the fix do not fixes building if project will be created in the folder with special chars.
For example:
- create application in the folder ~/NetBeansProjects/HW0$
IDE created a project "~/NetBeansProjects/HW0$/CppApplication_1" thich cannot be built by Studio tool collection (GNU builds fine).
Comment 6 ilia 2017-04-12 12:57:40 UTC
Alexander, that should be filed as a new bug.
Comment 7 ilia 2017-04-12 12:57:54 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=253027 Changesets:
    http://hg.netbeans.org/releases/rev/434a16dcc9c3 # Fixed #253027 - IllegalArgumentException: unmatched braces in the pattern at position 34
Comment 8 Alexander Pepin 2017-04-24 19:19:04 UTC
Do not see such exception in netbeans-8.2-20170421.