Stream: IG creation
Topic: error with the '-publish' option
Giorgio Cangioli (Jun 19 2020 at 14:10):
Just started to work on the release preparation (I'm sure I'll learn a lot for the IG releases thread :-)...
Giorgio Cangioli (Jun 19 2020 at 14:11):
When I compile with the -publish option the build fails with this message "Fatal Error! I/O error reported by XML parser processing file:/C:/Ruby26-x64/msys64/home/giorg/_github/hl7.fhir.it.base/template/onGenerate-ig-working.1.xml: Byte non valido 3 della sequenza UTF-8 a 3 byte. Cause: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Byte non valido 3 della sequenza UTF-8 a 3 byte."
Giorgio Cangioli (Jun 19 2020 at 14:12):
I've not this error by using the _genonce command
Giorgio Cangioli (Jun 19 2020 at 14:12):
suggestions ?
Giorgio Cangioli (Jun 19 2020 at 14:18):
Giorgio Cangioli said:
Cause: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Byte non valido 3 della sequenza UTF-8 a 3 byte."
I hope the error message is understandable even if in Italian ("non-valid byte....) ;-)
Jose Costa Teixeira (Jun 19 2020 at 14:47):
that is new...
Jose Costa Teixeira (Jun 19 2020 at 14:47):
seems an encoding thing
Jose Costa Teixeira (Jun 19 2020 at 14:48):
the template is somehow creating or transporting incorrect info...?
Jose Costa Teixeira (Jun 19 2020 at 14:49):
a few things (i can try to resolve this from the github repo if it's up to date):
Jose Costa Teixeira (Jun 19 2020 at 14:49):
- you can run _genonce.bat -publish (the .genonce pushes any parameters you give it to the publisher)
Jose Costa Teixeira (Jun 19 2020 at 14:50):
- can you try to validate your ig.xml for xml syntax just in case?
Giorgio Cangioli (Jun 19 2020 at 15:54):
mmhh.. with "_genonce.bat -publish" it works
Giorgio Cangioli (Jun 19 2020 at 15:55):
apart an exception on generating the temp\pages\_includes\package-list.json ; the build doesn't crash...
Giorgio Cangioli (Jun 19 2020 at 16:08):
funny ..I've retried with the command line "java -jar ../org.hl7.fhir.publisher.jar -ig ig.ini -publish" and it crashes with the same error documented above... I supposed it was the same command of _genonce.bat -publish
Last updated: Apr 12 2022 at 19:14 UTC