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 255514 - 8.1 beta does not start
Summary: 8.1 beta does not start
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-23 13:07 UTC by sigfool
Modified: 2016-05-16 07:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sigfool 2015-09-23 13:07:54 UTC
BN 8.1 beta throw an exception while starting an aborts. No .netbeans/8.1beta directory, starting from a "clean session".

This warning appears in the log: Could not install look and feel [GTK look and feel - com.sun.java.swing.plaf.gtk.GTKLookAndFeel]

Later came the exception

java.lang.ClassCastException: javax.swing.plaf.synth.DefaultSynthStyleFactory cannot be cast to com.sun.java.swing.plaf.gtk.GTKStyleFactory
	at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(GTKLookAndFeel.java:1334)
	at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getDefaults(GTKLookAndFeel.java:309)
	at org.netbeans.core.windows.view.ui.MainWindow.logLookAndFeelUsage(MainWindow.java:903)
	at org.netbeans.core.windows.view.ui.MainWindow.init(MainWindow.java:176)
	at org.netbeans.core.windows.WindowSystemImpl.init(WindowSystemImpl.java:71)
	at org.netbeans.core.GuiRunLevel.initializeMainWindow(GuiRunLevel.java:156)
	at org.netbeans.core.GuiRunLevel.run(GuiRunLevel.java:98)
	at org.netbeans.core.startup.Main.start(Main.java:320)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:745)

Using OpenJDK Runtime Environment (build 1.8.0_66-internal-b01) from Debian Testing on a Debian Stretch/Sid OS.

Workaround: specify a different LaF

$ netbeans -- laf Metal
Comment 1 Jiri Kovalsky 2015-09-23 16:03:26 UTC
This is most probably not a NetBeans issue but reassigning to Platform for appropriate evaluation.
Comment 2 Martin Entlicher 2016-05-16 07:12:00 UTC
Looks like some GTK issue in OpenJDK.
Do not have such problems with 8.2 dev builds on JDK 8.