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.
Created attachment 158237 [details] Dump file Product Version: NetBeans IDE Dev (Build 201601210002) Java: 1.8.0_71; Java HotSpot(TM) 64-Bit Server VM 25.71-b15 Runtime: Java(TM) SE Runtime Environment 1.8.0_71-b15 System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev Opening a Java file triggers a StackoverflowError 100% of the time. The exception message is: Annotation: An error occurred during parsing of 'C:\Users\Gili\Documents\TaxSimulator\src\main\java\org\bitbucket\cowwoc\revolution\operators\differentialevolution\PopulationOperator.java'. Please report a bug against java/source and attach dump file 'C:\Users\Gili\AppData\Roaming\NetBeans\dev\var\log\PopulationOperator_8.dump'. An error occurred during parsing of 'C:\Users\Gili\Documents\TaxSimulator\src\main\java\org\bitbucket\cowwoc\revolution\operators\differentialevolution\PopulationOperator.java'. Please report a bug against java/source and attach dump file 'C:\Users\Gili\AppData\Roaming\NetBeans\dev\var\log\PopulationOperator_8.dump'. [snip] An error occurred during parsing of 'C:\Users\Gili\Documents\TaxSimulator\src\main\java\org\bitbucket\cowwoc\revolution\operators\differentialevolution\PopulationOperator.java'. Please report a bug against java/source and attach dump file 'C:\Users\Gili\AppData\Roaming\NetBeans\dev\var\log\PopulationOperator_8.dump'. NOTE: Exception Reporter does not work for this bug. It fails due to some sort of internal error.
Increasing priority, as the entire IDE hangs (and has to be killed) if the file is modified and saved. Please fix two separate bugs here: 1. The IDE should not hang if this exception is thrown. 2. The exception should not get thrown.
This is caused by the fact that the class inherits (implements) from itself. I believe it is actually caused by a bug in the underlying JDK compiler but I am having a hard time producing a minimal testcase.
compiler issue.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/b9c7dcbcefd8 http://hg.netbeans.org/main/nb-javac/rev/6efcd0d72341
Integrated into 'main-silver', will be available in build *201603220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b9c7dcbcefd8 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #257704 - StackoverflowError when opening Java file - fixed.