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 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14 OS: Linux User Comments: GUEST: ? GUEST: Creating an all platforms native packager on Debian/Ubuntu without RPM tools. tmysik: no idea, sorry. just editing java files (NB modules) jag: Just typing GUEST: Unsure. Stacktrace: java.lang.StackOverflowError at com.sun.source.util.TreePath.<init>(TreePath.java:97) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:66) at com.sun.source.util.TreePath$1PathFinder.scan(TreePath.java:70) at com.sun.source.util.TreePath$1PathFinder.scan(TreePath.java:65) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:346) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1909)
Created attachment 159945 [details] stacktrace
Fixed in jet-main#c75904b316be
The error happens if a variable decl initializer references the very same variable. Certainly an error and the source is not compilable, but may happen during development.
Integrated into 'main-silver', will be available in build *201608110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c75904b316be User: Svata Dedic <sdedic@netbeans.org> Log: #262309: prevent stack overflow if the initializer references its own variable