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.
|Summary:||AssertionError: Value of x -1|
|Component:||Compiler||Assignee:||Dusan Balek <dbalek>|
|Severity:||normal||CC:||adithyank, alexx7676, amoeba, andr3medeiros, bartvdc, bokc, cidrasm, CMoH, cp7781, crosati, cyhelsky, dathyrius, davideconsonni, defender777, dimaki, doctorlux, emiddio, everheul, exceptions_reporter, FiruzzZ, gokumar, gpebrownbridge, gtzabari, hildo, IrianR, jbosboom, jessholle, jiai, jtallan, kaenganxt, kaganguvenc, Leperous, lolo_101, lucian, nhoffmann, Pesso, stefan79, sworisbreathing, thilinajayamini, yardus, zlogic, zmirc|
|Issue Type:||DEFECT||Exception Reporter:||208359|
Description IrianR 2014-03-13 14:13:30 UTC
This bug was originally marked as duplicate of bug 238037, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201403120001) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 7 User Comments: IrianR: Using Go to Type, the error popped up before selecting a class from the popup list with no other file opened in the editor. davideconsonni: scanning classpath 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:1822) at com.sun.tools.javac.jvm.Gen$LVTAssignAnalyzer.initParam(Gen.java:2863) at com.sun.tools.javac.comp.Flow$AbstractAssignAnalyzer.visitMethodDef(Flow.java:1776)
Comment 2 IrianR 2014-03-31 10:34:04 UTC
Created attachment 146426 [details] stacktrace moving a source root up in the sources view during debugging.
Comment 3 IrianR 2014-03-31 10:37:04 UTC
Created attachment 146428 [details] stacktrace this error popped up while i was filling up the previouse report id #719325, most propably it's a duplicate of this error, but it's strange that it popped up while i was not done filling the other report.
Comment 4 davideconsonni 2014-03-31 13:34:04 UTC
Created attachment 146435 [details] stacktrace editing a servlet filter
Comment 5 Exceptions Reporter 2014-04-03 07:04:17 UTC
Created attachment 146520 [details] stacktrace I opened the current netty project.
Comment 6 J Bachorik 2014-07-31 10:01:53 UTC
Created attachment 148437 [details] stacktrace IDE was rescanning sources
Comment 7 adithyank 2014-09-11 13:20:07 UTC
Created attachment 149141 [details] stacktrace closed a svn diff tab
Comment 8 Dusan Balek 2015-01-05 11:05:25 UTC
*** Bug 249393 has been marked as a duplicate of this bug. ***
Comment 10 zmirc 2015-08-28 13:40:53 UTC
Hey, guys! It just happened to me. I have 3 Java Maven projects: api (web), shared (library) and analyzer (web). The shared project contains code which is shared between api and analyzer. Now I was renaming the name of a method from a class inside the shared project. That's when the error appeared. Note: All Java files of those 3 projects were saved and compilable (so with no compilation error marks inside any of them). Stacktrace and messages.log: http://statistics.netbeans.org/analytics/exception.do?id=791303
Comment 11 zmirc 2015-08-28 13:46:14 UTC
(In reply to zmirc from comment #10) > Hey, guys! It just happened to me. > > I have 3 Java Maven projects: api (web), shared (library) and analyzer (web). > The shared project contains code which is shared between api and analyzer. > Now I was renaming the name of a method from a class inside the shared > project. > That's when the error appeared. > > Note: All Java files of those 3 projects were saved and compilable (so with > no compilation error marks inside any of them). > > Stacktrace and messages.log: > http://statistics.netbeans.org/analytics/exception.do?id=791303 Important: I have just restarted NetBeans (DEV 201508230002) and tried again. It worked. I could rename now that method name.
Comment 12 stefan79 2015-09-03 14:24:31 UTC
Created attachment 155864 [details] stacktrace Exception occured while background-Scanning.