PatternSyntaxException unbalanced parenthesis

450 views
Skip to first unread message

selvaKumar esra

unread,
Aug 5, 2013, 10:52:00 AM8/5/13
to play-fr...@googlegroups.com
Hi, i am new to the play framework, downloaded the latest version play-2.2.0-M2

navigated to samples to get a hang of play!. 


unfortunately, i got following exception in server log, Understand the exception sounds like regex pattern failure. However unable to trace back to root cause with the exception. 

please advise.

Cheers

Oops: PatternSyntaxException
An unexpected error occured caused by exception PatternSyntaxException: unbalanced parenthesis

play.exceptions.UnexpectedException: Unexpected Error
        at play.Invoker$Invocation.onException(Invoker.java:244)
        at play.Invoker$Invocation.run(Invoker.java:286)
        at Invocation.HTTP Request(Play!)
Caused by: jregex.PatternSyntaxException: unbalanced parenthesis
        at jregex.Term.makeTree(jregex/Term.java:374)
        at jregex.Term.makeTree(jregex/Term.java:308)
        at jregex.Term.makeTree(jregex/Term.java:219)
        at jregex.Term.makeTree(jregex/Term.java:206)
        at jregex.Pattern.compile(jregex/Pattern.java:164)
        at jregex.Pattern.<init>(jregex/Pattern.java:150)
        at jregex.Pattern.<init>(jregex/Pattern.java:108)
        at play.mvc.Router$Route.compute(Router.java:707)
        at play.mvc.Router.getRoute(Router.java:134)

James Roper

unread,
Aug 5, 2013, 11:04:06 AM8/5/13
to play-fr...@googlegroups.com
That stack trace doesn't come from Play 2, it comes from Play 1.  You might want to double check which version of Play you're running.

Jol Blazey

unread,
Nov 17, 2013, 6:13:01 AM11/17/13
to play-fr...@googlegroups.com
The play -version is the problem. i downloaded 2.2 but had 1.2 still in my path which causes this error.
Reply all
Reply to author
Forward
0 new messages