java.lang.IllegalArgumentException

Illegal group reference

Solutions on the web1676

  • via Coderanch by Tony Smith, 11 months ago
    Illegal group reference
  • via GitHub by brucehoff
    , 7 months ago
    Illegal group reference
  • Illegal group reference
  • Stack trace

    • java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendReplacement(Unknown Source) at java.util.regex.Matcher.replaceAll(Unknown Source) at org.drools.semantics.java.FunctionFixer.fix(FunctionFixer.java:42) at org.drools.semantics.java.FunctionFixer.fix(FunctionFixer.java:12) at org.drools.semantics.java.RuleBuilder.build(RuleBuilder.java:686) at org.drools.semantics.java.RuleBuilder.build(RuleBuilder.java:242) at org.drools.semantics.java.RuleBuilder.build(RuleBuilder.java:159) at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:206) at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:125) at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:90) at testing.FunctionTest.testFunction(FunctionTest.java:18) 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(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    5 times, 1 month ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    15 more bugmates