Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI mode won't open (OpenJDK 8) #162

Open
Dannyx1604 opened this issue Nov 25, 2023 · 0 comments
Open

GUI mode won't open (OpenJDK 8) #162

Dannyx1604 opened this issue Nov 25, 2023 · 0 comments

Comments

@Dannyx1604
Copy link

Bug Report

Expected Behaviour

It should open the gui by using Java 8

Actual Behaviour

I get the following error while trying to run the program in gui mode (Java 8):

	at com.bulenkov.iconloader.IconLoader.<clinit>(IconLoader.java:53)
	at com.bulenkov.darcula.DarculaLaf.getDefaults(DarculaLaf.java:97)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:583)
	at me.superblaubeere27.jobf.JObf.main(JObf.java:260)
Caused by: java.lang.NullPointerException
	at com.bulenkov.iconloader.util.UIUtil.initSystemFontData(UIUtil.java:254)
	at com.bulenkov.iconloader.util.JBUI.calculateScaleFactor(JBUI.java:47)
	at com.bulenkov.iconloader.util.JBUI.<clinit>(JBUI.java:33)
	... 5 more

And if I use Java 17 I also get this error:

	at com.bulenkov.iconloader.util.UIUtil.initSystemFontData(UIUtil.java:254)
	at com.bulenkov.iconloader.util.JBUI.calculateScaleFactor(JBUI.java:47)
	at com.bulenkov.iconloader.util.JBUI.<clinit>(JBUI.java:33)
	... 5 more

How to reproduce the behaviour

Use Java 8
Run it on Ubuntu 22.04
Currently no config

Possible fix

If you have no idea then you can just skip this section ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant