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.
Build: NetBeans IDE Dev (Build 20131029-bad6e88b3089) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b49, Java(TM) SE Runtime Environment, 1.8.0-ea-b107 OS: Windows 7 User Comments: jiriprox: AE when trying to display parameters (ctrl-p) of constructor call. public static Set<Graph> construct(int n) { BlockingQueue<State> fifo = new ArrayBlockingQueue<State>(); fifo.add(new State(Graph.EMPTY_GRAPH, input.clone)); return null; } Stacktrace: java.lang.AssertionError: Value of x -1 at com.sun.tools.javac.util.Assert.error(Assert.java:133) at com.sun.tools.javac.util.Assert.check(Assert.java:94) at com.sun.tools.javac.util.Bits.incl(Bits.java:186) at com.sun.tools.javac.comp.Flow$AbstractAssignAnalyzer.initParam(Flow.java:1824) at com.sun.tools.javac.jvm.Gen$LVTAssignAnalyzer.initParam(Gen.java:2854) at com.sun.tools.javac.comp.Flow$AbstractAssignAnalyzer.visitMethodDef(Flow.java:1778)
Created attachment 141891 [details] stacktrace
Created attachment 143145 [details] stacktrace just having java files opened
Created attachment 143908 [details] stacktrace Opening a OpenJDK 9 JMX project
Created attachment 144032 [details] stacktrace Refactor classe name
Created attachment 144065 [details] stacktrace typing
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=205068
Created attachment 144256 [details] stacktrace Opened a project, edited a file, did not save it; switched project group to a group which contains the project of that file; tried to save the file while the newly opened projects in the project group were being scanned.
Created attachment 144395 [details] stacktrace Trying to create a project with existing sources for OpenJDK9 java classes
26 reports => P2
Hard to fix without a reproducible test case. If you are able to reproduce it, create a simple test case and attach it to the issue. Thanks.
Created attachment 145545 [details] Source file that caused an exception when double-clicked FWIW, this is the source file I double-clicked for the most recent exception report. I'd suspect some kind of race-condition between parsing the file and trying to generate hints, etc.
Created attachment 145546 [details] stacktrace Double clicked to open a Java source
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/cd67dc87ca96
Integrated into 'main-silver', will be available in build *201403010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cd67dc87ca96 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #238037: AssertionError: Value of x -1 - fixed.
*** Bug 242560 has been marked as a duplicate of this bug. ***
*** Bug 242963 has been marked as a duplicate of this bug. ***
verified in trunk
Integrated into release80. http://hg.netbeans.org/releases/rev/b275b04622ec
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/b275b04622ec User: Dusan Balek <dbalek@netbeans.org> Log: Issue #238037: AssertionError: Value of x -1 - fixed.