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 240729 - [80cat]IllegalArgumentException at com.sun.tools.javac.api.JavacTaskImpl.doParse
Summary: [80cat]IllegalArgumentException at com.sun.tools.javac.api.JavacTaskImpl.doParse
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 04:37 UTC by manikantannaren
Modified: 2015-04-28 02:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205863


Attachments
stacktrace (3.35 KB, text/plain)
2014-01-21 04:37 UTC, manikantannaren
Details
stacktrace (3.35 KB, text/plain)
2014-07-24 10:04 UTC, Jiri Prox
Details
stacktrace (3.84 KB, text/plain)
2015-04-25 04:26 UTC, misterm
Details
stacktrace (3.86 KB, text/plain)
2015-04-25 04:35 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manikantannaren 2014-01-21 04:37:05 UTC
Build: NetBeans IDE Dev (Build 201401200001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b61, Java(TM) SE Runtime Environment, 1.8.0-ea-b119
OS: Mac OS X

User Comments:
manikantannaren: Editing a custom inspect hint in the editor

GUEST: strg+enter -> menu pops up shortly and causes an exception (java project)




Stacktrace: 
java.lang.IllegalArgumentException
   at com.sun.tools.javac.api.JavacTaskImpl.doParse(JavacTaskImpl.java:680)
   at com.sun.tools.javac.api.JavacTaskImpl.parseExpression(JavacTaskImpl.java:715)
   at com.sun.tools.javac.api.JavacTaskImpl.parseExpression(JavacTaskImpl.java:735)
   at org.netbeans.api.java.source.TreeUtilities.parseExpression(TreeUtilities.java:546)
   at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$1.run(DeclarativeHintsParser.java:427)
   at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$1.run(DeclarativeHintsParser.java:423)
Comment 1 manikantannaren 2014-01-21 04:37:07 UTC
Created attachment 144169 [details]
stacktrace
Comment 2 Jiri Prox 2014-07-24 10:04:42 UTC
Created attachment 148267 [details]
stacktrace

Typing custion hint:
@$1
$2 $3 $4 :: $
Comment 3 misterm 2015-04-25 04:26:20 UTC
Created attachment 153388 [details]
stacktrace

Typing
Comment 4 misterm 2015-04-25 04:35:19 UTC
Created attachment 153389 [details]
stacktrace

Typing
Comment 5 Exceptions Reporter 2015-04-25 04:35:24 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=205863
Comment 6 Dusan Balek 2015-04-27 09:20:57 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/cf0793142228
Comment 7 Quality Engineering 2015-04-28 02:58:34 UTC
Integrated into 'main-silver', will be available in build *201504280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cf0793142228
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #240729: IllegalArgumentException at com.sun.tools.javac.api.JavacTaskImpl.doParse - fixed.