Started by
crackybracky
on
Topic category: Troubleshooting, bugs, and solutions
Hello, i'm trying to install MCreator on my ubuntu laptop, (i'm running ubuntu 18)
Everything goes smoothly until i type in terminal
./mcreator.sh
Then i get this error and MCreator won't run:
2021-04-23-21:56:17 [AWT-EventQueue-0/ERROR] [Exception] Uncaught exception in AWT-EventQueue-0
java.lang.NullPointerException: null
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) ~[?:1.8.0_265]
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219) ~[?:1.8.0_265]
at sun.awt.FontConfiguration.init(FontConfiguration.java:107) ~[?:1.8.0_265]
at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774) ~[?:1.8.0_265]
at sun.font.SunFontManager$2.run(SunFontManager.java:431) ~[?:1.8.0_265]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_265]
at sun.font.SunFontManager.<init>(SunFontManager.java:376) ~[?:1.8.0_265]
at sun.awt.FcFontManager.<init>(FcFontManager.java:35) ~[?:1.8.0_265]
at sun.awt.X11FontManager.<init>(X11FontManager.java:57) ~[?:1.8.0_265]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_265]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_265]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_265]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_265]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_265]
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83) ~[?:1.8.0_265]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_265]
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) ~[?:1.8.0_265]
at java.awt.Font.getFont2D(Font.java:491) ~[?:1.8.0_265]
at java.awt.Font.getFamily(Font.java:1220) ~[?:1.8.0_265]
at java.awt.Font.getFamily_NoClientCode(Font.java:1194) ~[?:1.8.0_265]
at java.awt.Font.getFamily(Font.java:1186) ~[?:1.8.0_265]
at sun.swing.SwingUtilities2.displayPropertiesToCSS(SwingUtilities2.java:1490) ~[?:1.8.0_265]
at javax.swing.plaf.basic.BasicHTML$BasicDocument.setFontAndColor(BasicHTML.java:395) ~[?:1.8.0_265]
at javax.swing.plaf.basic.BasicHTML$BasicDocument.<init>(BasicHTML.java:384) ~[?:1.8.0_265]
at javax.swing.plaf.basic.BasicHTML$BasicEditorKit.createDefaultDocument(BasicHTML.java:340) ~[?:1.8.0_265]
at javax.swing.plaf.basic.BasicHTML.createHTMLView(BasicHTML.java:55) ~[?:1.8.0_265]
at javax.swing.plaf.basic.BasicHTML.updateRenderer(BasicHTML.java:208) ~[?:1.8.0_265]
at javax.swing.plaf.basic.BasicLabelUI.installComponents(BasicLabelUI.java:381) ~[?:1.8.0_265]
at javax.swing.plaf.basic.BasicLabelUI.installUI(BasicLabelUI.java:343) ~[?:1.8.0_265]
at javax.swing.JComponent.setUI(JComponent.java:666) ~[?:1.8.0_265]
at javax.swing.JLabel.setUI(JLabel.java:261) ~[?:1.8.0_265]
at javax.swing.JLabel.updateUI(JLabel.java:275) ~[?:1.8.0_265]
at javax.swing.JLabel.<init>(JLabel.java:164) ~[?:1.8.0_265]
at javax.swing.JLabel.<init>(JLabel.java:194) ~[?:1.8.0_265]
at net.mcreator.ui.SplashScreen.<init>(SplashScreen.java:49) ~[mcreator.jar:?]
at net.mcreator.ui.MCreatorApplication.<init>(MCreatorApplication.java:77) ~[mcreator.jar:?]
at net.mcreator.ui.MCreatorApplication.lambda$createApplication$2(MCreatorApplication.java:201) ~[mcreator.jar:?]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) ~[?:1.8.0_265]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) ~[?:1.8.0_265]
at java.awt.EventQueue.access$500(EventQueue.java:97) ~[?:1.8.0_265]
at java.awt.EventQueue$3.run(EventQueue.java:709) ~[?:1.8.0_265]
at java.awt.EventQueue$3.run(EventQueue.java:703) ~[?:1.8.0_265]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_265]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[?:1.8.0_265]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) ~[?:1.8.0_265]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_265]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_265]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_265]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_265]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_265]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_265]
What desktop environment do you use? Make sure it is Java Swing compatible