java.lang.ExceptionInInitializerError

java.lang.RuntimeException: Unable to create a suitable default GraphicsConfiguration. Try changing your Di splay Settings.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web82

  • via Oracle Community by 807577, 11 months ago
    java.lang.RuntimeException: Unable to create a suitable default GraphicsConfiguration. Try changing your Di splay Settings.
  • via Oracle Community by 843797, 11 months ago
    java.lang.Runt imeException: Unable to create a suitable default GraphicsConfiguration. Try changing your Di splay Settings.
  • via Oracle Community by 807551, 1 year ago
    java.lang.RuntimeException: Unable to create a suitable default GraphicsConfiguration. Try changing your Display Settings.
  • Stack trace

    • java.lang.ExceptionInInitializerError: java.lang.RuntimeException: Unable to create a suitable default GraphicsConfiguration. Try changing your Di splay Settings. at sun.awt.Win32GraphicsDevice.getDefaultPixID(Native Method) at sun.awt.Win32GraphicsDevice.getDefaultConfiguration(Win32GraphicsDevice.java:131) at sun.awt.windows.WToolkit.resetGC(WToolkit.java:87) at sun.awt.windows.WToolkit.<clinit>(WToolkit.java:77) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at java.awt.Toolkit$2.run(Toolkit.java:498) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:489) at sun.awt.GlobalCursorManager$CursorEvent.<init>(GlobalCursorManager.java:28) at sun.awt.GlobalCursorManager.<clinit>(GlobalCursorManager.java:65) at java.awt.Cursor.initIDs(Native Method) at java.awt.Cursor.<clinit>(Cursor.java:171) at java.awt.Window.<init>(Window.java:182) at java.awt.Frame.<init>(Frame.java:315) at java.awt.Frame.<init>(Frame.java:294) at javax.swing.JFrame.<init>(JFrame.java:174)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.