java.lang.IllegalArgumentException: Illegal group reference

JBoss Issue Tracker | psmith | 1 decade ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JBoss Community / Mailing Lists | 1 year ago
    java.lang.IllegalArgumentException: Illegal group reference
  2. 0

    Many of the examples show the variable naming convention of prefixing the name with a dollar sign '$'. When the .drl contains a function, use of this naming convention causes the parsing to fail with the following exception: java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendReplacement(Unknown Source) at java.util.regex.Matcher.replaceAll(Unknown Source) at at at at at at org.drools.compiler.PackageBuilder.addRule( at org.drools.compiler.PackageBuilder.addPackage( at org.drools.compiler.PackageBuilder.addPackageFromDrl( at testing.FunctionTest.testFunction( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest( at junit.framework.TestCase.runBare( at junit.framework.TestResult$1.protect( at junit.framework.TestResult.runProtected( at at at junit.framework.TestSuite.runTest( at at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests( at at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( This issue is discussed here:

    JBoss Issue Tracker | 1 decade ago | psmith
    java.lang.IllegalArgumentException: Illegal group reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JBoss Community / Mailing Lists | 9 months 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
      1. java.util.regex.Matcher.appendReplacement(Unknown Source)
      2. java.util.regex.Matcher.replaceAll(Unknown Source)
      2 frames
    3. org.drools.semantics
      5 frames
    4. org.drools.compiler
      1. org.drools.compiler.PackageBuilder.addRule(
      2. org.drools.compiler.PackageBuilder.addPackage(
      3. org.drools.compiler.PackageBuilder.addPackageFromDrl(
      3 frames
    5. testing
      1. testing.FunctionTest.testFunction(
      1 frame
    6. Java RT
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. JUnit
      1. junit.framework.TestCase.runTest(
      2. junit.framework.TestCase.runBare(
      3. junit.framework.TestResult$1.protect(
      4. junit.framework.TestResult.runProtected(
      7. junit.framework.TestSuite.runTest(
      8 frames
    8. JUnit3 Runner
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
      3 frames