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 270415 - IllegalArgumentException: Illegal group reference
Summary: IllegalArgumentException: Illegal group reference
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: junichi11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-16 17:16 UTC by rice80
Modified: 2017-04-18 02:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226189


Attachments
stacktrace (3.58 KB, text/plain)
2017-04-16 17:16 UTC, rice80
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rice80 2017-04-16 17:16:27 UTC
Build: NetBeans IDE Dev (Build 201703260002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Mac OS X

User Comments:
GUEST: don't know why

rice80: Auto completing a "find" from a cakephp project

GUEST: <record>
  <date>2017-03-23T14:22:33</date>
  <millis>1490259153293</millis>
  <sequence>8294</sequence>
  <level>500</level>
  <thread>21</thread>
  <message>UI_ACTION_EDITOR</message>
  <param>java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=LEFT,when=1490259153293,modifiers=] on org.openide.text.QuietEditorPane[,0,0,1317x2832,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@33a275d0,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=java.awt.Color[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=109,g=109,b=109],editable=true,margin=java.awt.Insets[top=0,left=0,bottom=0,right=0],selectedTextColor=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255],selectionColor=javax.swing.plaf.ColorUIResource[r=51,g=153,b=255],kit=org.netbeans.modules.csl.core.CslEditorKit@2b162c2b,typeHandlers=]</param>
  <param>java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=LEFT,when=149025915

GUEST: Takes too much time to initialiaze

GUEST: pop up hint

GUEST: <record>
  <date>2017-03-23T11:37:37</date>
  <millis>1490249257117</millis>
  <sequence>2347</sequence>
  <level>800</level>
  <thread>184</thread>
  <message>INDEXING_STARTED</message>
  <key>INDEXING_STARTED</key>
  <catalog>org.netbeans.modules.parsing.impl.indexing.Bundle</catalog>
  <param>8739</param>
</record>
<record>
  <date>2017-03-23T11:37:37</date>
  <millis>1490249257289</millis>
  <sequence>2348</sequence>
  <level>800</level>
  <thread>184</thread>
  <message>INDEXING_FINISHED</message>
  <key>INDEXING_FINISHED</key>
  <catalog>org.netbeans.modules.parsing.impl.indexing.Bundle</catalog>
  <param>172</param>
  <param>TaskListIndexer</param>
  <param>1</param>
  <param>0</param>
  <param>org-netbeans-modules-jumpto-file-FileIndexer</param>
  <param>1</param>
  <param>0</param>
</record>
<record>
  <date>2017-03-23T11:37:37</date>
  <millis>1490249257289</millis>
  <sequence>2349</sequence>
  <level>800</level>
  <thread>184</thread>
  <message>INDEXING_STARTED</message>

GUEST: i think that it occure while autocomplete is opening

GUEST: ?? ??????? ? cakePhp3 ??????




Stacktrace: 
java.lang.IllegalArgumentException: Illegal group reference
   at java.util.regex.Matcher.appendReplacement(Matcher.java:857)
   at java.util.regex.Matcher.replaceAll(Matcher.java:955)
   at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.replaceInlineInheritdoc(DocRenderer.java:796)
   at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.replaceInheritdocForDescription(DocRenderer.java:603)
   at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.composeDescription(DocRenderer.java:587)
   at org.netbeans.modules.php.editor.completion.DocRenderer$PHPDocExtractor.extractPHPDocBlock(DocRenderer.java:414)
Comment 1 rice80 2017-04-16 17:16:32 UTC
Created attachment 164119 [details]
stacktrace
Comment 2 junichi11 2017-04-17 01:46:42 UTC
Thanks for reporting!
Comment 3 junichi11 2017-04-17 10:55:36 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/b16f44729cfd

Thanks.
Comment 4 Quality Engineering 2017-04-18 02:32:37 UTC
Integrated into 'main-silver', will be available in build *201704180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b16f44729cfd
User: Junichi Yamamoto <junichi11@netbeans.org>
Log: #270415 - IllegalArgumentException: Illegal group reference