java.util.regex.PatternSyntaxException: Illegal repetition near index 44 //x/java/JRX/trunk/testFunc/xinstall/tools/\${JAVA_PLATFORM}/(.*) ^

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by Jason Archer, 1 year ago
Illegal repetition near index 44 //x/java/JRX/trunk/testFunc/xinstall/tools/\${JAVA_PLATFORM}/(.*) ^
via Jenkins JIRA by Jason Archer, 1 year ago
Illegal repetition near index 44 //x/java/JRX/trunk/testFunc/xinstall/tools/\${JAVA_PLATFORM}/(.*) ^
via Oracle Community by 807601, 1 month ago
Illegal repetition near index 1262
via karaf-user by Jean-Baptiste Onofré, 1 year ago
Illegal repetition near index 0 ${jdbc_driver} ^
via karaf-user by eBroots, 1 year ago
Illegal repetition near index 0 ${jdbc_driver} ^
via Stack Overflow by Alphalapz
, 2 months ago
java.util.regex.PatternSyntaxException: Illegal repetition near index 44 //x/java/JRX/trunk/testFunc/xinstall/tools/\${JAVA_PLATFORM}/(.*) ^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.closure(Unknown Source)
at java.util.regex.Pattern.sequence(Unknown Source)
at java.util.regex.Pattern.expr(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.(Unknown Source)
at hudson.plugins.perforce.PerforceSCMHelper.getTokenPattern(PerforceSCMHelper.java:218)
at hudson.plugins.perforce.PerforceSCMHelper.doesPathMatchView(PerforceSCMHelper.java:198)
at hudson.plugins.perforce.PerforceSCMHelper.mapToWorkspace(PerforceSCMHelper.java:184)
at com.tek42.perforce.parse.Changes.getWorkspacePathForFile(Changes.java:98)
at com.tek42.perforce.parse.Changes.calculateWorkspacePaths(Changes.java:92)
at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:74)
at hudson.plugins.perforce.PerforceSCM.getCurrentDepotRevisionState(PerforceSCM.java:1354)
at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1234)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:357)
at hudson.scm.SCM.poll(SCM.java:374)
at hudson.model.AbstractProject._poll(AbstractProject.java:1427)
at hudson.model.AbstractProject.poll(AbstractProject.java:1330)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:466)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:495)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 10 months ago
5 times, 1 year ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.