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.

Bug 252741 - NoSuchMethodError: java.awt.Component.getPeer()Ljava/awt/peer/ComponentPeer;
Summary: NoSuchMethodError: java.awt.Component.getPeer()Ljava/awt/peer/ComponentPeer;
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2015-06-02 09:44 UTC by Jiri Kovalsky
Modified: 2015-06-02 17:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217682


Attachments
stacktrace (5.58 KB, text/plain)
2015-06-02 09:44 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-06-02 09:44:20 UTC
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)
Comment 1 Jiri Kovalsky 2015-06-02 09:44:21 UTC
Created attachment 154007 [details]
stacktrace
Comment 2 Jiri Kovalsky 2015-06-02 10:31:29 UTC
Just for the record, when the same build is launched using JDK 1.8.0_45, this exception is not thrown.
Comment 3 Jan Stola 2015-06-02 11:41:30 UTC
Fixed already by https://hg.netbeans.org/web-main/rev/54be89c42ead
Comment 4 Tomas Zezula 2015-06-02 17:01:43 UTC
Merged into JDK9 branch.