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.
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)
Created attachment 145993 [details] stacktrace
Created attachment 146426 [details] stacktrace moving a source root up in the sources view during debugging.
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.
Created attachment 146435 [details] stacktrace editing a servlet filter
Created attachment 146520 [details] stacktrace I opened the current netty project.
Created attachment 148437 [details] stacktrace IDE was rescanning sources
Created attachment 149141 [details] stacktrace closed a svn diff tab
*** Bug 249393 has been marked as a duplicate of this bug. ***
Created attachment 155422 [details] stacktrace ???
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
(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.
Created attachment 155864 [details] stacktrace Exception occured while background-Scanning.
Created attachment 155938 [details] stacktrace Exception occured while editing in XML-File.