Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1817

Using multibytes characters in bpmn2 makes an svg which contains Invalid byte character

    Details

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      I'd like you see attachment file.

      Show
      I'd like you see attachment file.
    • Workaround Description:
      Hide

      Not to use multi-byte characters

      Show
      Not to use multi-byte characters
    • Sprint:
      2019 Week 08-10, 2019 Week 11-13, 2019 Week 14-16, 2019 Week 17-19

      Description

      When bpmn2 file contains multi-byte characters,
      the characters within svg made from the bpmn2 cannot be displayed with UTF8.

      In Addtion to that ,
      This Error occures in runtime,
      process instance diagram isn't displayed.

      Caused by: org.apache.batik.dom.util.SAXIOException: Invalid byte 1 of 1-byte UTF-8 sequence.
      at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:459)
      at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFactory.java:357)
      at org.apache.batik.anim.dom.SAXSVGDocumentFactory.createDocument(SAXSVGDocumentFactory.java:225)
      at org.jbpm.process.svg.SVGImageProcessor.<init>(SVGImageProcessor.java:44)
      ... 59 more
      Caused by: org.xml.sax.SAXParseException; systemId: http://jbpm.org; lineNumber: 1; columnNumber: 27231; Invalid byte 1 of 1-byte UTF-8 sequence.
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:201)

        Gliffy Diagrams

          Attachments

          1. afterMaterial.zip
            20 kB
          2. beforeMaterial.zip
            20 kB
          3. ErrorCopyedToClippboard.txt
            37 kB
          4. ErrorReproduction.xlsx
            1.15 MB
          5. Screenshot from 2019-05-14 16-52-43.png
            Screenshot from 2019-05-14 16-52-43.png
            23 kB
          6. Screenshot from 2019-05-14 16-53-34.png
            Screenshot from 2019-05-14 16-53-34.png
            38 kB

            Activity

              People

              • Assignee:
                josephblt Wagner Lemos
                Reporter:
                futoshiyoshizakid 太清 吉崎
                Tester:
                Kirill Gaevskii
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: