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

Upgrade of xstream library causing exceptions during project navigation

XMLWordPrintable

      Description of problem:
      The version of xstream library was bumped from 1.4.7 to 1.4.9 for the 6.2.3 patch (see this Bug # 1322171). Marking this bz private as the original BZ was private (security related) as well.

      This seems to be causing a flood of exceptions in server.log during project navigation / working with Project editor.

      There is quite large amount of GUI tests failing with the following modal (see screenshot). In most of those cases there is an associated exception in server.log (see full log attached)

      Moreover the fails are completely reproducible (not random).

      I tried to run those failing tests after having replaced xstream-1.4.9 with xstream-1.4.7 in business-central.war/WEB-INF/lib and the tests were no longer failing, so the culprit seems to be clear.

      This issue is blocking verification of some of the other bugs included in the patch.

      ---------------
      02:29:49,278 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-/127.0.0.1:8080-6) Exception thrown: : com.thoughtworks.xstream.io.StreamException:
      at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126) [xstream-1.4.9.jar:1.4.9]

      ...

      at org.uberfire.java.nio.base.Properties.load(Properties.java:62) [uberfire-nio2-model-0.7.5.Final-redhat-5.jar:0.7.5.Final-redhat-5]
      at org.uberfire.java.nio.base.Properties.load(Properties.java:54) [uberfire-nio2-model-0.7.5.Final-redhat-5.jar:0.7.5.Final-redhat-5]
      at org.uberfire.io.impl.IOServiceDotFileImpl.readAttributes(IOServiceDotFileImpl.java:211) [uberfire-io-0.7.5.Final-redhat-5.jar:0.7.5.Final-redhat-5]
      at org.uberfire.io.impl.AbstractIOService.readAttributes(AbstractIOService.java:362) [uberfire-io-0.7.5.Final-redhat-5.jar:0.7.5.Final-redhat-5]
      at org.uberfire.io.impl.IOServiceDotFileImpl.newView(IOServiceDotFileImpl.java:306) [uberfire-io-0.7.5.Final-redhat-5.jar:0.7.5.Final-redhat-5]
      at org.uberfire.io.impl.IOServiceDotFileImpl.getFileAttributeView(IOServiceDotFileImpl.java:188) [uberfire-io-0.7.5.Final-redhat-5.jar:0.7.5.Final-redhat-5

      ...

      Caused by: java.io.EOFException: input contained no data
      ---------------

      Version-Release number of selected component (if applicable):
      BPM Suite 6.2.3 patch

      How reproducible:
      Always

      Steps to Reproduce:
      1. In business central clone our testing bpms-assets repository git://git.app.eng.bos.redhat.com/bpms-assets-6.2.x.git
      2. In Authoring navigate (for example) to bpms-assets > designer
      3. Select package designer > texteditor
      4. click 'Open Project Editor' button

      Actual results:
      Modal with error (see screenshot) is displayed:
      "Unable to complete your request. The following exception occurred: ."

      Expected results:
      No errors in UI / server.log

      Additional info:

              manstis@redhat.com Michael Anstis
              jhrcek Jan Hrcek (Inactive)
              Tomas David Tomas David
              Tomas David Tomas David
              Michael Anstis, Tomáš Livora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: