Have the issues with Honza's RTC WF Visualizer on Scrum templates ever been resolved ?
Honza's RTC Workflow Visualizer has been a god-sent for me, I used it everywhere and greatly appreciate it. But I am getting into issues on some Scrum templates similar to those of the one post on the original Honza's perspective, just wonder if someone has resolved them or seen their resolution. The Visualizer did work with the OOTB Scrum template on 4.0.3.
My error messages:
C:\Users\gr4truo\Documents\junk\workflows\PASwf\20140623>java -jar ..\..\2createDiagrams\visualiser.jar -d "C:\Program Files (x86)
\Graphviz2.32\bin\dot.exe" PAStemplate.txt
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.stastnarodina.workflowVisualiser.Parser.parse(Parser.java:32)
at com.stastnarodina.workflowVisualiser.Main.main(Main.java:46)
Original post of this issue:
http://blog.stastnarodina.com/honza-en/spot/rational-team-concert-workflow-visualiser/
...
...
One answer
Found the issue and got the fix from in-house scripting guru:
The issue was the presence of non-UTF-8 encoding: And the fix is to either manually or with a script, remove any non-UTF-8 encoding off the xml, and voila you get your WFs. We replaced any non-UTF-8 char with 00.
Note that embedded tabs, CRs, LFs (may have been introduced by cutting and pasting to get the XML) would not crash the visualizer.
Now the question is why there are any non-UTF-8 encoding in the process xml, is it a bug ? This seem to be in existence only in Scrum templstes, though we did not have any issue with the OOTB Scrum Template.
This can't be marked as the right answer, but it is.
Hi
I am able to generate the pdf files for Simple and Traditional process template, but failed in Scrum one (process.xml is from the sample JUnit project). Here is the error:
C:\build>java -jar „C:\build\visualiser.jar“ -o„V:\HOST_C\Jirong\Youth2011\RTC\Work Item\Workflow\S
rum“ -d „C:\Program Files\Graphviz 2.28\bin\dot.exe“ Srum_process.xml
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte
UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri
ver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.stastnarodina.workflowVisualiser.Parser.parse(Parser.java:32)
at com.stastnarodina.workflowVisualiser.Main.main(Main.java:46)