JDK-8028056 : java.lang.Error: could not find editor for class java.awt.Font
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.beans
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: sparc_64
  • Submitted: 2013-11-08
  • Updated: 2014-05-30
  • Resolved: 2014-05-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_majorResolved
Related Reports
Duplicate :  
Description
Several tests fail with this message on jdk1.8.0b113, jdk1.8.0b112 and jdk1.7.0_45b18

----------System.out:(1/36)----------
Property class: class java.awt.Font
----------System.err:(14/802)----------
java.lang.Error: could not find editor for class java.awt.Font
        at TestEditor.<init>(TestEditor.java:35)
        at TestFontClass.main(TestFontClass.java:36)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
        at java.lang.Thread.run(Thread.java:744)

JavaTest Message: Test threw exception: java.lang.Error: could not find editor for class java.awt.Font
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Error: could not find editor for class java.awt.Font
Comments
It is not a test bug, because tests are good enough. We should fix some classes in com.sun.beans.editors
11-11-2013

These tests have never worked in the Headless mode, because corresponding property editors create AWT panels. We could rewrite them to create AWT panels on demand.
11-11-2013

is critical or defer case?
08-11-2013