java.lang.Exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • download fresh install of 3.5m2. Create first grails project. create a simple domain object. Try and run the unit test it creates for you Loading Grails 2.3.5 |Configuring classpath . |Environment set to test ...................................... |Running without daemon... ................................Error | Error running forked test-app: Error occurred processing message bundles: Error starting Sun's native2ascii: (Use --stacktrace to see the full trace) Error | Forked Grails VM exited with error then to fix - goto buildConfig and edit grails.project.fork test:false and rerun - this time test runs ok - but fails as the default template doesnt have correct spock format. you can then rest the grails.project.fork back to original and still keeps working Whilst we are at it I suggest that you change the default unit test template to include valid when:/then: structure this caught me out on GGTS 3.4 as well - may as well save all those nebies to come with something that will work. The default spock template you generate wont run so test void "test something"() { } errors like this - bit silly and easyly fixed | java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:35) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102) at TestApp$_run_closure1.doCall(TestApp.groovy:32) |Completed 1 unit test, 1 failed in 0m 0s .Tests FAILED
    via by William Woodman,
  • download fresh install of 3.5m2. Create first grails project. create a simple domain object. Try and run the unit test it creates for you Loading Grails 2.3.5 |Configuring classpath . |Environment set to test ...................................... |Running without daemon... ................................Error | Error running forked test-app: Error occurred processing message bundles: Error starting Sun's native2ascii: (Use --stacktrace to see the full trace) Error | Forked Grails VM exited with error then to fix - goto buildConfig and edit grails.project.fork test:false and rerun - this time test runs ok - but fails as the default template doesnt have correct spock format. you can then rest the grails.project.fork back to original and still keeps working Whilst we are at it I suggest that you change the default unit test template to include valid when:/then: structure this caught me out on GGTS 3.4 as well - may as well save all those nebies to come with something that will work. The default spock template you generate wont run so test void "test something"() { } errors like this - bit silly and easyly fixed | java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:35) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102) at TestApp$_run_closure1.doCall(TestApp.groovy:32) |Completed 1 unit test, 1 failed in 0m 0s .Tests FAILED
    via by William Woodman,
  • Error in test phase.
    via GitHub by mtm0riah
    ,
  • Grails 2.3.4 unit test error
    via by Unknown author,
  • Grails User Mailing List ()
    via by Unknown author,
  • Unit testing for domain classes using Grails
    via Stack Overflow by Mystique
    ,
    • java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:35) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102) at TestApp$_run_closure1.doCall(TestApp.groovy:32)

    Users with the same issue

    tfr
    8 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    jf-ast
    1 times, last one,
    osvzs
    2 times, last one,
    27 more bugmates