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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 7.4.0.GA
    • 7.1.1.GA
    • jBPM Designer
    • OS: Windows 10 64bit
      jBPM 7.11

    • CR1
    • Hide

      Not to use multi-byte characters

      Show
      Not to use multi-byte characters
    • Hide

      I'd like you see attachment file.

      Show
      I'd like you see attachment file.
    • 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)

      Attachments

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

        Activity

          People

            josephblt Wagner Lemos (Inactive)
            futoshi.yoshizaki 太清 吉崎 (Inactive)
            Kirill Gaevskii Kirill Gaevskii
            Kirill Gaevskii Kirill Gaevskii
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: