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

MacOS: NullPointerException at populateFontFileNameMap #86

Open
edwinm opened this issue Apr 30, 2020 · 0 comments
Open

MacOS: NullPointerException at populateFontFileNameMap #86

edwinm opened this issue Apr 30, 2020 · 0 comments

Comments

@edwinm
Copy link

edwinm commented Apr 30, 2020

java -jar mqtt-spy-1.0.0.jar
MacOS 10.15.4
Java 1.8.0_181

Output when run for first time:

2020-04-30 22:19:36,277 INFO [BaseConfigurationManager ] - Creating UI property file
2020-04-30 22:19:36,909 ERROR [BaseConfigurationUtils ] - Invalid number format
2020-04-30 22:19:37,336 DEBUG [MqttViewManager ] - Selected perspective = DEFAULT
2020-04-30 22:19:37,337 ERROR [MqttStatsFileIO ] - Cannot read the statistics file from /Users/edwinm/mqtt-spy/mqtt-spy-stats.xml
java.io.FileNotFoundException: Cannot load the file from /Users/edwinm/mqtt-spy/mqtt-spy-stats.xml
at pl.baczkowicz.spy.xml.XMLParser.loadFromFile(XMLParser.java:359)
at pl.baczkowicz.mqttspy.ui.stats.MqttStatsFileIO.loadStats(MqttStatsFileIO.java:76)
at pl.baczkowicz.spy.ui.stats.StatisticsManager.loadStats(StatisticsManager.java:298)
at pl.baczkowicz.mqttspy.ui.controllers.MqttSpyMainController.init(MqttSpyMainController.java:154)
at pl.baczkowicz.mqttspy.ui.MqttViewManager.createMainWindow(MqttViewManager.java:150)
at pl.baczkowicz.mqttspy.Main.start(Main.java:90)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
2020-04-30 22:19:38,039 ERROR [Main ] - Error while loading the main window
java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1740)
at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)
at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)
at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)
at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)
at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)
at javafx.scene.text.Text.getTextLayout(Text.java:229)
at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)
at javafx.scene.text.Text.access$200(Text.java:95)
at javafx.scene.text.Text$5.invalidated(Text.java:501)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:174)
at javafx.css.StyleableObjectProperty.bind(StyleableObjectProperty.java:75)
at com.sun.javafx.scene.control.skin.LabeledText.(LabeledText.java:82)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.(LabeledSkinBase.java:125)
at com.sun.javafx.scene.control.skin.LabelSkin.(LabelSkin.java:39)
at javafx.scene.control.Label.createDefaultSkin(Label.java:158)
at javafx.scene.control.Control.impl_processCSS(Control.java:872)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.control.Control.impl_processCSS(Control.java:875)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.control.Control.impl_processCSS(Control.java:875)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.Node.processCSS(Node.java:9056)
at javafx.scene.Scene.doCSSPass(Scene.java:545)
at javafx.scene.Scene.preferredSize(Scene.java:1643)
at javafx.scene.Scene.impl_preferredSize(Scene.java:1720)
at javafx.stage.Window$9.invalidated(Window.java:864)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144)
at javafx.stage.Window.setShowing(Window.java:940)
at javafx.stage.Window.show(Window.java:955)
at javafx.stage.Stage.show(Stage.java:259)
at pl.baczkowicz.mqttspy.Main.start(Main.java:93)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
2020-04-30 22:19:38,433 ERROR [SpyUncaughtExceptionHandler ] - Thread Thread[JavaFX Application Thread,5,main] failed with java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1740)
at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)
at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)
at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)
at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)
at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)
at javafx.scene.text.Text.getTextLayout(Text.java:229)
at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)
at javafx.scene.text.Text.access$200(Text.java:95)
at javafx.scene.text.Text$5.invalidated(Text.java:501)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:174)
at javafx.css.StyleableObjectProperty.bind(StyleableObjectProperty.java:75)
at com.sun.javafx.scene.control.skin.LabeledText.(LabeledText.java:82)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.(LabeledSkinBase.java:125)
at com.sun.javafx.scene.control.skin.LabelSkin.(LabelSkin.java:39)
at javafx.scene.control.Label.createDefaultSkin(Label.java:158)
at javafx.scene.control.Control.impl_processCSS(Control.java:872)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.control.Control.impl_processCSS(Control.java:875)
at javafx.scene.Node.processCSS(Node.java:9056)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Scene.doCSSPass(Scene.java:545)
at javafx.scene.Scene.access$3600(Scene.java:159)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$29(Toolkit.java:398)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:397)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:518)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:498)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:491)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$403(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
2020-04-30 22:19:38,786 ERROR [SpyUncaughtExceptionHandler ] - Thread Thread[JavaFX Application Thread,5,main] failed with java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1740)
at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)
at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)
at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)
at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)
at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)
at javafx.scene.text.Text.getTextLayout(Text.java:229)
at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)
at javafx.scene.text.Text.access$200(Text.java:95)
at javafx.scene.text.Text$5.invalidated(Text.java:501)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:174)
at javafx.css.StyleableObjectProperty.bind(StyleableObjectProperty.java:75)
at com.sun.javafx.scene.control.skin.LabeledText.(LabeledText.java:82)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.(LabeledSkinBase.java:125)
at com.sun.javafx.scene.control.skin.LabelSkin.(LabelSkin.java:39)
at javafx.scene.control.Label.createDefaultSkin(Label.java:158)
at javafx.scene.control.Control.impl_processCSS(Control.java:872)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.control.Control.impl_processCSS(Control.java:875)
at javafx.scene.Node.processCSS(Node.java:9056)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Scene.doCSSPass(Scene.java:545)
at javafx.scene.Scene.access$3600(Scene.java:159)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$29(Toolkit.java:398)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:397)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:518)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:498)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:491)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$403(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
2020-04-30 22:19:39,149 ERROR [SpyUncaughtExceptionHandler ] - Thread Thread[JavaFX Application Thread,5,main] failed with java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1740)
at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)
at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)
at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)
at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)
at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)
at javafx.scene.text.Text.getTextLayout(Text.java:229)
at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)
at javafx.scene.text.Text.access$200(Text.java:95)
at javafx.scene.text.Text$5.invalidated(Text.java:501)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:174)
at javafx.css.StyleableObjectProperty.bind(StyleableObjectProperty.java:75)
at com.sun.javafx.scene.control.skin.LabeledText.(LabeledText.java:82)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.(LabeledSkinBase.java:125)
at com.sun.javafx.scene.control.skin.LabelSkin.(LabelSkin.java:39)
at javafx.scene.control.Label.createDefaultSkin(Label.java:158)
at javafx.scene.control.Control.impl_processCSS(Control.java:872)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.control.Control.impl_processCSS(Control.java:875)
at javafx.scene.Node.processCSS(Node.java:9056)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Scene.doCSSPass(Scene.java:545)
at javafx.scene.Scene.access$3600(Scene.java:159)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$29(Toolkit.java:398)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:397)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:518)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:498)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:491)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$403(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
2020-04-30 22:19:39,521 ERROR [SpyUncaughtExceptionHandler ] - Thread Thread[JavaFX Application Thread,5,main] failed with java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1740)
at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)
at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)
at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)
at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)
at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)
at javafx.scene.text.Text.getTextLayout(Text.java:229)
at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)
at javafx.scene.text.Text.access$200(Text.java:95)
at javafx.scene.text.Text$5.invalidated(Text.java:501)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:174)
at javafx.css.StyleableObjectProperty.bind(StyleableObjectProperty.java:75)
at com.sun.javafx.scene.control.skin.LabeledText.(LabeledText.java:82)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.(LabeledSkinBase.java:125)
at com.sun.javafx.scene.control.skin.LabelSkin.(LabelSkin.java:39)
at javafx.scene.control.Label.createDefaultSkin(Label.java:158)
at javafx.scene.control.Control.impl_processCSS(Control.java:872)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.control.Control.impl_processCSS(Control.java:875)
at javafx.scene.Node.processCSS(Node.java:9056)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Scene.doCSSPass(Scene.java:545)
at javafx.scene.Scene.access$3600(Scene.java:159)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$29(Toolkit.java:398)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:397)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:518)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:498)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:491)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$403(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
2020-04-30 22:19:39,908 ERROR [SpyUncaughtExceptionHandler ] - Thread Thread[JavaFX Application Thread,5,main] failed with java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1740)
at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:469)
at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)
at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)
at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)
at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)
at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)
at javafx.scene.text.Text.getTextLayout(Text.java:229)
at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)
at javafx.scene.text.Text.access$200(Text.java:95)
at javafx.scene.text.Text$5.invalidated(Text.java:501)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:174)
at javafx.css.StyleableObjectProperty.bind(StyleableObjectProperty.java:75)
at com.sun.javafx.scene.control.skin.LabeledText.(LabeledText.java:82)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.(LabeledSkinBase.java:125)
at com.sun.javafx.scene.control.skin.ButtonSkin.(ButtonSkin.java:44)
at javafx.scene.control.Button.createDefaultSkin(Button.java:191)
at javafx.scene.control.Control.impl_processCSS(Control.java:872)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.Parent.impl_processCSS(Parent.java:1280)
at javafx.scene.control.Control.impl_processCSS(Control.java:875)
at javafx.scene.Node.processCSS(Node.java:9056)
at javafx.scene.Node.processCSS(Node.java:9049)
at javafx.scene.Scene.doCSSPass(Scene.java:545)
at javafx.scene.Scene.access$3600(Scene.java:159)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2392)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$29(Toolkit.java:398)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:397)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:518)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:498)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:491)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$403(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
2020-04-30 22:19:42,568 ERROR [ControlPanelController ] - Cannot retrieve version info
pl.baczkowicz.spy.exceptions.XMLException: Cannot unmarshal the XML
at pl.baczkowicz.spy.xml.XMLParser.loadFromString(XMLParser.java:285)
at pl.baczkowicz.spy.ui.versions.VersionManager.loadVersions(VersionManager.java:98)
at pl.baczkowicz.spy.ui.controllers.ControlPanelController$2.run(ControlPanelController.java:203)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.xml.bind.UnmarshalException

  • with linked exception:
    [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.]
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335)
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563)
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249)
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:214)
    at pl.baczkowicz.spy.xml.XMLParser.loadFromString(XMLParser.java:277)
    ... 3 more
    Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1014)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:243)
    ... 7 more
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