Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.2-RC1
-
Fix Version/s: 1.2-RC2
-
Component/s: None
-
Labels:None
Description
When running grails test-app unit (instead of grails test-app unit
you get nasty error:
Error executing script TestApp: java.lang.StringIndexOutOfBoundsException: Strin
g index out of range: -1
gant.TargetExecutionException: java.lang.StringIndexOutOfBoundsException: String
index out of range: -1
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.substring(String.java:1938)
at _GrailsTest_groovy$_run_closure1_closure18.doCall(_GrailsTest_groovy:
118)
at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:118)
at TestApp$_run_closure1.doCall(TestApp.groovy:102)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
... 10 more
Error executing script TestApp: java.lang.StringIndexOutOfBoundsException: Strin
g index out of range: -1
I think ommitting the ':' should be possible or at least give a less nasty error.
Issue Links
| This issue duplicates: | ||||
| GRAILS-5489 | Running "test-app integration" causes exception |
|
|
|
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits