Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-566

Error : no viable alternative at character '\'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 6.3.0
    • 6.1.0
    • jBPM Designer
    • None

      +++ This bug was initially created as a clone of Bug #983347 +++

      Description of problem:

      "Error : no viable alternative at character '\'" is seen in logs when using "/n" in a Script Task as follows:

      I figured this out and it is from the script tasks:

      Example:

      <drools:script><![CDATA[com.llnw.bpm.UpdateObject _update = new com.llnw.bpm.UpdateObject();\n\n_update.setMessage("This is the message");\n_update.setOppId(324);\n_update.setType("INFO");\n\nkcontext.setVariable("updateObject",_update);]]></drools:script>

      they are from the /n. If I remove the /n then the errors don't show up in logs.

      It seems to be a regression as a similar issue was reported in the cloned bz and it seems as that had been fixed.

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-ajuricic Amana Juricic
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Amana Juricic, Cheng Zhang (Inactive), Jeremy Lindop (Inactive), Kris Verlaenen, Pedro Zapata Fernandez, Sona Mala (Inactive), Tibor Zimányi, Tihomir Surdilovic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: