org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':Music:hackClassesBeforeDexDebug'.

GitHub | BlackMagicHappy | 3 months ago
  1. 0

    GitHub comment 107#245848777

    GitHub | 3 months ago | BlackMagicHappy
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':Music:hackClassesBeforeDexDebug'.
  2. 0

    If a particular line in the "Excluded Regions" of is a bad regex, polling fails with the following. However, it does not send an email, or notify the admin in any way. Would it be possible to either send an email (or otherwise notify), or cause the build to fail so the admin can check on it? Thanks! {noformat} ERROR: Failed to record SCM polling java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 .*\CVS ^ at java.util.regex.Pattern.error(Pattern.java:1730) at java.util.regex.Pattern.escape(Pattern.java:2194) at java.util.regex.Pattern.atom(Pattern.java:1969) at java.util.regex.Pattern.sequence(Pattern.java:1851) at java.util.regex.Pattern.expr(Pattern.java:1769) at java.util.regex.Pattern.compile(Pattern.java:1477) at java.util.regex.Pattern.<init>(Pattern.java:1150) at java.util.regex.Pattern.compile(Pattern.java:840) at hudson.scm.CVSSCM.getExcludedRegionsPatterns(CVSSCM.java:316) at hudson.scm.CVSSCM.compareRemoteRevisionWith(CVSSCM.java:205) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1313) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) {noformat}

    Jenkins JIRA | 5 years ago | Sagar Khushalani
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 .*\CVS ^
  3. 0

    Exception in thread "main" java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 1

    GitHub | 11 months ago | destruc7i0n
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 1 \R ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If a particular line in the "Excluded Regions" of is a bad regex, polling fails with the following. However, it does not send an email, or notify the admin in any way. Would it be possible to either send an email (or otherwise notify), or cause the build to fail so the admin can check on it? Thanks! {noformat} ERROR: Failed to record SCM polling java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 .*\CVS ^ at java.util.regex.Pattern.error(Pattern.java:1730) at java.util.regex.Pattern.escape(Pattern.java:2194) at java.util.regex.Pattern.atom(Pattern.java:1969) at java.util.regex.Pattern.sequence(Pattern.java:1851) at java.util.regex.Pattern.expr(Pattern.java:1769) at java.util.regex.Pattern.compile(Pattern.java:1477) at java.util.regex.Pattern.<init>(Pattern.java:1150) at java.util.regex.Pattern.compile(Pattern.java:840) at hudson.scm.CVSSCM.getExcludedRegionsPatterns(CVSSCM.java:316) at hudson.scm.CVSSCM.compareRemoteRevisionWith(CVSSCM.java:205) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1313) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) {noformat}

    Jenkins JIRA | 5 years ago | Sagar Khushalani
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 .*\CVS ^
  6. 0

    Pattern: how subtract matched character in character class?

    Stack Overflow | 5 years ago | Laimoncijus
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 17 ([\w])\1([\w&amp;&amp;[^\1]])\2 ^

    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.util.regex.PatternSyntaxException

      Illegal/unsupported escape sequence near index 3 .*\R\$?\w*.class ^

      at com.antfortune.freeline.FreelinePlugin.isNeedBackUp()
    2. com.antfortune.freeline
      FreelinePlugin$_apply_closure3_closure7_closure17.doCall
      1. com.antfortune.freeline.FreelinePlugin.isNeedBackUp(FreelinePlugin.groovy:341)
      2. com.antfortune.freeline.FreelinePlugin.backUpClass(FreelinePlugin.groovy:332)
      3. com.antfortune.freeline.FreelinePlugin$_apply_closure3_closure7_closure17_closure22_closure23.doCall(FreelinePlugin.groovy:195)
      4. com.antfortune.freeline.FreelinePlugin$_apply_closure3_closure7_closure17_closure22.doCall(FreelinePlugin.groovy:194)
      5. com.antfortune.freeline.FreelinePlugin$_apply_closure3_closure7_closure17.doCall(FreelinePlugin.groovy:192)
      5 frames
    3. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:554)
      2. org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:535)
      3. org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:77)
      4. org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:73)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      8. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      9. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
      10. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      11. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
      12. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      13. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      14. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      15. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
      16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
      19. org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
      20. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
      21. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
      22. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      23. org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
      24. org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
      25. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      26. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      27. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
      28. org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
      29. org.gradle.internal.Factories$1.create(Factories.java:22)
      30. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      31. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
      32. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
      33. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      34. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
      35. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
      36. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      37. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
      38. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
      39. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
      39 frames
    4. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
      2. org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
      3. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      6. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
      7. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
      8. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
      9. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
      10. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
      10 frames
    5. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
      1 frame
    6. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
      3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
      4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
      5. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
      6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      9. org.gradle.launcher.Main.doAction(Main.java:33)
      10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      11. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
      12. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
      13. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      13 frames
    7. org.gradle.wrapper
      GradleWrapperMain.main
      1. org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
      2. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)
      3. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
      3 frames