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

Unmarshal Exception #130

Open
pmeheadnurse opened this issue Aug 1, 2024 · 0 comments
Open

Unmarshal Exception #130

pmeheadnurse opened this issue Aug 1, 2024 · 0 comments

Comments

@pmeheadnurse
Copy link

pmeheadnurse commented Aug 1, 2024

Exception when running on Windows 11 running following java version

openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

21:52:41,524 ERROR [main] Prefs:485 - Failed to restore file "": jakarta.xml.bind.UnmarshalException

  • with linked exception:
    [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.]
    jakarta.xml.bind.DataBindingException: jakarta.xml.bind.UnmarshalException
  • with linked exception:
    [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.]
    at jakarta.xml.bind.JAXB.unmarshal(JAXB.java:221)
    at ca.uhn.hl7v2.testpanel.controller.Prefs.initFromJavaPrefs(Prefs.java:483)
    at ca.uhn.hl7v2.testpanel.controller.Prefs.getInstance(Prefs.java:809)
    at ca.uhn.hl7v2.testpanel.model.conf.TableFileList.(TableFileList.java:25)
    at ca.uhn.hl7v2.testpanel.controller.Controller.(Controller.java:126)
    at ca.uhn.hl7v2.testpanel.App.main(App.java:63)
    Caused by: jakarta.xml.bind.UnmarshalException
  • with linked exception:
    [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.]
    at jakarta.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:290) at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:539)
    at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:224)
    at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:196)
    at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:251)
    at jakarta.xml.bind.JAXB.unmarshal(JAXB.java:218)
    ... 5 more
    Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
    at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
    at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
    at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
    at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:218)
    ... 8 more
    21:52:41,534 INFO [main] Controller:133 - Restoring work files from directory: C:\Users\suman.das\HapiTestPanel\workfiles
    21:52:41,534 INFO [main] MessagesList:174 - Restoring work file: 59c8c17d-55b4-46e0-aacb-f781f8da4723-0000000001.xml
    21:52:41,613 INFO [main] VersionLogger:75 - HAPI version is: 2.5.1
    21:52:41,621 INFO [main] VersionLogger:65 - Default Structure libraries found for HL7 versions 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.5, 2.5.1, 2.6, 2.7, 2.8, 2.8.1,
    21:52:41,754 INFO [main] Hl7V2MessageCollection:899 - About to set source message for collection
    21:52:41,760 INFO [main] Hl7V2MessageCollection:277 - Found ER7 message
    21:52:41,765 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:41,866 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:41,884 INFO [main] Hl7V2MessageCollection:916 - Firing message change event
    21:52:41,897 INFO [main] Hl7V2MessageCollection:927 - Done setting source message for collection
    21:52:41,903 INFO [main] MessagesList:174 - Restoring work file: b88bf8a7-7a5f-47aa-a475-19ee0f7c2190-0000000002.xml
    21:52:41,903 INFO [main] Hl7V2MessageCollection:899 - About to set source message for collection
    21:52:41,912 INFO [main] Hl7V2MessageCollection:277 - Found ER7 message
    21:52:41,920 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:42,014 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:42,022 INFO [main] Hl7V2MessageCollection:916 - Firing message change event
    21:52:42,023 INFO [main] Hl7V2MessageCollection:927 - Done setting source message for collection
    21:52:42,023 INFO [main] MessagesList:174 - Restoring work file: bdc30729-576e-4e9b-8918-a165896b2ea0-0000000003.xml
    21:52:42,030 INFO [main] Hl7V2MessageCollection:899 - About to set source message for collection
    21:52:42,036 INFO [main] Hl7V2MessageCollection:277 - Found ER7 message
    21:52:42,040 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:42,058 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:42,058 INFO [main] Hl7V2MessageCollection:916 - Firing message change event
    21:52:42,058 INFO [main] Hl7V2MessageCollection:927 - Done setting source message for collection
    21:52:42,062 INFO [main] MessagesList:174 - Restoring work file: f77dcd01-52e0-4456-929f-899dad4481b5-0000000004.xml
    21:52:42,068 INFO [main] Hl7V2MessageCollection:899 - About to set source message for collection
    21:52:42,073 INFO [main] Hl7V2MessageCollection:230 - Found ER7 message
    21:52:42,075 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:42,090 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:42,091 INFO [main] Hl7V2MessageCollection:230 - Found ER7 message
    21:52:42,092 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:42,113 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:42,116 INFO [main] Hl7V2MessageCollection:277 - Found ER7 message
    21:52:42,120 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:42,131 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:42,131 INFO [main] Hl7V2MessageCollection:916 - Firing message change event
    21:52:42,140 INFO [main] Hl7V2MessageCollection:927 - Done setting source message for collection
    21:52:42,141 INFO [main] MessagesList:174 - Restoring work file: fcc6cb39-4aa6-46f7-a718-8f612c48b003-0000000005.xml
    21:52:42,143 INFO [main] Hl7V2MessageCollection:899 - About to set source message for collection
    21:52:42,146 INFO [main] Hl7V2MessageCollection:277 - Found ER7 message
    21:52:42,146 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:42,168 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:42,168 INFO [main] Hl7V2MessageCollection:916 - Firing message change event
    21:52:42,171 INFO [main] Hl7V2MessageCollection:927 - Done setting source message for collection
    21:52:42,172 INFO [main] MessagesList:174 - Restoring work file: fe0ea75b-da41-47c3-9850-9ab95d706814-0000000006.xml
    21:52:42,176 INFO [main] Hl7V2MessageCollection:899 - About to set source message for collection
    21:52:42,178 INFO [main] Hl7V2MessageCollection:277 - Found ER7 message
    21:52:42,180 INFO [main] Hl7V2MessageBase:256 - About to parse message
    21:52:42,202 INFO [main] Hl7V2MessageBase:272 - Done parsing message
    21:52:42,210 INFO [main] Hl7V2MessageCollection:916 - Firing message change event
    21:52:42,210 INFO [main] Hl7V2MessageCollection:927 - Done setting source message for collection
    21:52:42,281 INFO [main] Controller:166 - No saved inbound connection list found
    Exception in thread "main" java.lang.UnsupportedOperationException: The ICON_IMAGE feature is not supported on the current platform!
    at java.desktop/java.awt.Taskbar.checkFeatureSupport(Taskbar.java:175)
    at java.desktop/java.awt.Taskbar.setIconImage(Taskbar.java:336)
    at ca.uhn.hl7v2.testpanel.OSXInitializer.run(OSXInitializer.java:47)
    at ca.uhn.hl7v2.testpanel.App.main(App.java:65)
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