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 201506020405) VM: Java HotSpot(TM) 64-Bit Server VM, 1.9.0-ea-b66, Java(TM) SE Runtime Environment, 1.9.0-ea-b66 OS: Linux User Comments: jkovalsky: Removed unused import from About.java file in Maven based AnagramGame application, scrolled down which caused unexpected removal of grey background of guarded code in initComponents() method, then closed the file and reopen again by double clicking it which tried to open form editor but only I see is grey panel with "Loading ..." message. Stacktrace: java.lang.NoSuchMethodError: java.awt.Component.getPeer()Ljava/awt/peer/ComponentPeer; at org.netbeans.modules.form.fakepeer.FakePeerContainer.paintFakePeersRecursively(FakePeerContainer.java:104) at org.netbeans.modules.form.fakepeer.FakePeerContainer.paint(FakePeerContainer.java:90) at javax.swing.JComponent.paintChildren(JComponent.java:900) at javax.swing.JComponent.paint(JComponent.java:1062) at org.netbeans.modules.form.ComponentLayer$DesignerPanel.paint(ComponentLayer.java:190) at javax.swing.JComponent.paintChildren(JComponent.java:886)
Created attachment 154007 [details] stacktrace
Just for the record, when the same build is launched using JDK 1.8.0_45, this exception is not thrown.
Fixed already by https://hg.netbeans.org/web-main/rev/54be89c42ead
Merged into JDK9 branch.