I'm having the following error spew from my IDE:
Code:
java.io.IOException: while parsing Theme XML: file:/C:/Users/Archelaus/IdeaProjects/ProjectTMO/out/production/ProjectTMO/com/reddit/Fedelaus/projecttmo/resources/ProjectTMO.xml
at de.matthiasmann.twl.theme.ThemeManager.parseThemeFile(ThemeManager.java:276)
at de.matthiasmann.twl.theme.ThemeManager.createThemeManager(ThemeManager.java:190)
at de.matthiasmann.twl.theme.ThemeManager.createThemeManager(ThemeManager.java:155)
at com.reddit.Fedelaus.projecttmo.ProjectTMO.initGUI(ProjectTMO.java:65)
at com.reddit.Fedelaus.projecttmo.ProjectTMO.init(ProjectTMO.java:41)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at com.reddit.Fedelaus.projecttmo.Game.main(Game.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.io.FileNotFoundException: C:\Users\Archelaus\IdeaProjects\ProjectTMO\out\production\ProjectTMO\com\reddit\Fedelaus\projecttmo\resources\font.fnt (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:97)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1035)
at de.matthiasmann.twl.utils.XMLParser.<init>(XMLParser.java:123)
at de.matthiasmann.twl.renderer.lwjgl.BitmapFont.loadFont(BitmapFont.java:285)
at de.matthiasmann.twl.renderer.lwjgl.LWJGLCacheContext.loadBitmapFont(LWJGLCacheContext.java:123)
at de.matthiasmann.twl.renderer.lwjgl.LWJGLRenderer.loadFont(LWJGLRenderer.java:358)
at de.matthiasmann.twl.theme.ThemeManager.parseFont(ThemeManager.java:427)
at de.matthiasmann.twl.theme.ThemeManager.parseThemeFile(ThemeManager.java:310)
at de.matthiasmann.twl.theme.ThemeManager.parseThemeFile(ThemeManager.java:271)
... 12 more
http://i46.tinypic.com/2isk3zo.pnghttp://i45.tinypic.com/2hrhatz.pnghttp://pastebin.com/6jtu3i7npastebin of my XML file itself.
Two pictures showing my xml file, which cannot find the font.fnt file, being right next to the file.
It reports it cannot find the correct file, when the file is there in my IDE and in explorer. What am I doing wrong here?