Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

i am trying to install a new 1.3.2 server jar with forage and i keep getting this error using build

 

minecraftforge-universal-4.0.0.240

 

and the server log is

 

Fontconfig error: Cannot load default config file

Exception in thread "main" java.lang.NullPointerException

at cpw.mods.fml.relauncher.Downloader.makeHeadless(Downloader.java:137)

at cpw.mods.fml.relauncher.FMLRelauncher.showWindow(FMLRelauncher.java:67)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:117)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1258)

 

i tried putting in all the lib files in manual but that don't work and there nothing in config to add just a folder but i have tried that to putting it in manual

 

i cant find anything named fontconfig so ya.

 

this a brand new 1.3.2 server jar install no mods cant till forage works. :P i even tried doing it from the hosts jar which adds bukkit but it don't work ether don't think it will anyway.

 

i have full access to FTP i have a working bukkit 1.2.5 forage working but i trying to install forage for 1.3.2 this time without bukkit just more of a pain but then i can update the mods as soon as they come out and forge instead of waiting on MC Port Central to update which is always behind on everything or just skip updates. :P

  • 4 weeks later...
  • Author

well i got time to try again i still cant get forage to work this is with version 4.1.2.269 of forge

 

openmod => 77.111.197.174:25565:999:world

Fontconfig error: Cannot load default config file

java.lang.NullPointerException

at sun.awt.X11FontManager.getDefaultPlatformFont(X11FontManager.java:779)

at sun.font.SunFontManager$2.run(SunFontManager.java:428)

at java.security.AccessController.doPrivileged(Native Method)

at sun.font.SunFontManager.<init>(SunFontManager.java:371)

at sun.awt.X11FontManager.<init>(X11FontManager.java:32)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

at java.lang.Class.newInstance0(Class.java:372)

at java.lang.Class.newInstance(Class.java:325)

at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:80)

at java.security.AccessController.doPrivileged(Native Method)

at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:71)

at sun.font.SunFontManager.getInstance(SunFontManager.java:245)

at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)

at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1003)

at javax.swing.JComponent.getFontMetrics(JComponent.java:1615)

at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(BasicGraphicsUtils.java:276)

at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(BasicButtonUI.java:376)

at javax.swing.plaf.basic.BasicButtonUI.getMinimumSize(BasicButtonUI.java:366)

at javax.swing.JComponent.getMinimumSize(JComponent.java:1733)

at javax.swing.plaf.basic.BasicOptionPaneUI.addButtonComponents(BasicOptionPaneUI.java:692)

at javax.swing.plaf.basic.BasicOptionPaneUI.createButtonArea(BasicOptionPaneUI.java:630)

at javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(BasicOptionPaneUI.java:178)

at javax.swing.plaf.basic.BasicOptionPaneUI.installUI(BasicOptionPaneUI.java:141)

at javax.swing.JComponent.setUI(JComponent.java:655)

at javax.swing.JOptionPane.setUI(JOptionPane.java:1863)

at javax.swing.JOptionPane.updateUI(JOptionPane.java:1885)

at javax.swing.JOptionPane.<init>(JOptionPane.java:1848)

at javax.swing.JOptionPane.<init>(JOptionPane.java:1811)

at javax.swing.JOptionPane.<init>(JOptionPane.java:1779)

at javax.swing.JOptionPane.<init>(JOptionPane.java:1757)

at javax.swing.JOptionPane.<init>(JOptionPane.java:1737)

at javax.swing.JOptionPane.<init>(JOptionPane.java:1721)

at javax.swing.JOptionPane.<init>(JOptionPane.java:1709)

at cpw.mods.fml.relauncher.Downloader.<init>(Downloader.java:19)

at cpw.mods.fml.relauncher.FMLRelauncher.showWindow(FMLRelauncher.java:59)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:121)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1307)

Exception in thread "main" java.lang.NullPointerException

at cpw.mods.fml.relauncher.FMLRelauncher.showWindow(FMLRelauncher.java:72)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:121)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1307)

 

i have also tried other forge versions non of them work though the others i get less of a error log at lest this build i get a long list error log all the others i get the same thing as the first post i did. i have even tried putting in all the forge folders and stuff manual still nothing there. this is with a total new build of MC 1.3.2 now that allot of the mods i use are updated working on getting back on it just cant with forge not working.

 

i always get the Fontconfig error: Cannot load default config file even on stock minecraft though allot of this still seems it might be that but its a stock minecraft server jar so how could it be missing it. :P

  • Author

i don't know what java they are using this is a server not single player hosted server.

ASK and you will be answered.

Otherwise, inform your server host.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

  • Author

I have tried the latest it works now latest is 295 though I think its the build 278 that fixes the problem with it just skipping if it can't find it and continues on with the install. I don't think that file is really needed anyway its just a font file. :P

 

Though maybe something else you did fixed it I know the build I used be for to get the error still did not work I did contact my host and they said they was going to forward my ticket because he thinks the java was not all the way updated though I don't think they updated still it don't matter as now it works. :P

The new build have a 'super duper headless mode' which doesnt even touch JOptionPane, so it *should* work on servers that have messed up installations.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.