java.lang.IllegalArgumentException: Illegal group reference

JBoss Issue Tracker | jey paulraj | 8 years ago
  1. 0

    [JBRULES-1826] illegal group reference while try to compile rule - JBoss Issue Tracker

    jboss.org | 1 year ago
    java.lang.IllegalArgumentException: Illegal group reference
  2. 0

    I am getting the following error when I try to compile the rule using Drools compiler .5.0.0 MR2 jar. I am able to compile the same rule using Drools compiler 4.0.7. java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendReplacement(Matcher.java:722) at java.util.regex.Matcher.replaceAll(Matcher.java:822) at org.drools.lang.dsl.DefaultExpander.expandRHS(DefaultExpander.java:303) at org.drools.lang.dsl.DefaultExpander.expandConstructions(DefaultExpander.java:143) at org.drools.lang.dsl.DefaultExpander.expand(DefaultExpander.java:114) at org.drools.compiler.DrlParser.parse(DrlParser.java:110) at org.drools.compiler.DrlParser.parse(DrlParser.java:119) at org.drools.compiler.DrlParser.parse(DrlParser.java:92) at org.drools.compiler.DrlParser.parse(DrlParser.java:86) at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:297) Here is the rules drl global java.util.List errorlist; rule "excluded driver rule for ALL state" #include attributes such as "salience" here... when #conditions Excluded driver is present and check relationship code is valids for the look up type 4 then #actions log an error "UWED1001" end dsl [consequence][]log an error "{errorCode}"= String[] errorMessage = {$name}; errorlist.add( new UWError("{errorCode}",$driverKey, errorMessage) ); [condition][] Excluded driver is present and check relationship code is valids for the look up type {TYPECODE} = ExcludedDriverDomain( $driverKey : driverKey , $name : driverName, $relationship : excludedDriverRelationshipToInsured ) PolicyLookupDataObject( type == {TYPECODE} , codeValues excludes $relationship )

    JBoss Issue Tracker | 8 years ago | jey paulraj
    java.lang.IllegalArgumentException: Illegal group reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    UsageWithOtherPlugins - maven-replacer-plugin - Integration guide with other plugins (i.e. war packaging) - Maven Plugin to replace tokens within a file with a given value - Google Project Hosting

    google.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.code.maven-replacer-plugin:maven-replacer-plugin:1.3.7:replace (default) on project xstreamline3: Execution default of goal com.google.code.maven-replacer-plugin:maven-replacer-plugin:1.3.7:replace failed: Illegal group reference
  5. 0

    JBoss Community / Mailing Lists

    sourceforge.net | 1 year ago
    java.lang.IllegalArgumentException: Illegal group reference

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Illegal group reference

      at java.util.regex.Matcher.appendReplacement()
    2. Java RT
      Matcher.replaceAll
      1. java.util.regex.Matcher.appendReplacement(Matcher.java:722)
      2. java.util.regex.Matcher.replaceAll(Matcher.java:822)
      2 frames
    3. org.drools.lang
      DefaultExpander.expand
      1. org.drools.lang.dsl.DefaultExpander.expandRHS(DefaultExpander.java:303)
      2. org.drools.lang.dsl.DefaultExpander.expandConstructions(DefaultExpander.java:143)
      3. org.drools.lang.dsl.DefaultExpander.expand(DefaultExpander.java:114)
      3 frames
    4. org.drools.compiler
      PackageBuilder.addPackageFromDrl
      1. org.drools.compiler.DrlParser.parse(DrlParser.java:110)
      2. org.drools.compiler.DrlParser.parse(DrlParser.java:119)
      3. org.drools.compiler.DrlParser.parse(DrlParser.java:92)
      4. org.drools.compiler.DrlParser.parse(DrlParser.java:86)
      5. org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:297)
      5 frames