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

[GSS](6.4.z) StringIndexOutOfBoundsException if we have multiple rules in different package.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 6.4.1
    • BRE
    • BPMS 6.4.1

    • Hide

      If we move both rule files into one drl file or into same package it works fine.

      Show
      If we move both rule files into one drl file or into same package it works fine.
      • Import attached project into IDE and try to execute rules through DroolsTest class.

      If we have multiple rules(drl files) those belong to different packages, then it fails with below exception when we try to build project or kbase.
      ~~~
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(String.java:1911)
      at org.drools.core.rule.constraint.MvelConstraint.getLeftInExpression (MvelConstraint.java:570)
      ~~~
      Exception with complete stacktrace attached. This issue occurs in BPMS 6.4.1 release(6.5.0.Final-redhat-5) only.

        1. Sample.tar.gz
          4 kB
        2. Exception
          3 kB

              etirelli@redhat.com Edson Tirelli
              rhn-support-abhumbe Abhijit Humbe
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: