Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-M1
-
Component/s: None
-
Labels:None
-
Environment:Grails 1.4.0.BUILD-SNAPSHOT
Description
Create a fresh project then run grails create-integration-test org.example.Dummy (or whatever). Then run grails integration-test. The resulting output is something like:
| Packaging plugins..... | Error 2011-06-20 11:11:19,745 [main] ERROR plugins.DefaultGrailsPluginManager - Error configuring dynamic methods for plugin [core:1.4.0.BUILD-SNAPSHOT]: No such property: getMetaClass for class: groovy.lang.MetaClassImpl Line | Method ->> 102 | doCall in _GrailsBootstrap_groovy - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 94 | doCall in '' | 134 | doCall in '' | 311 | doCall in _GrailsTest_groovy | 181 | doCall in '' | 174 | doCall in '' ^ 82 | doCall in TestApp.groovy | Running 3 integration tests... 1 of 3 | Failure: testSomething(org.example.DummyTests) | groovy.lang.MissingMethodException: No signature of method: org.codehaus.groovy.grails.test.junit4.runner.GrailsTestCaseRunner.withRules() is applicable for argument types: (org.junit.runners.model.FrameworkMethod, org.example.DummyTests, org.junit.internal.runners.statements.RunAfters) values: [org.junit.runners.model.FrameworkMethod@a215bccf, org.example.DummyTests@4da7234f, org.junit.internal.runners.statements.RunAfters@17ff3f5d] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:55) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:78) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.codehaus.groovy.grails.test.junit4.runner.GrailsTestCaseRunner.methodBlock(GrailsTestCaseRunner.groovy:84)
So, the big problem is that even an empty integration test won't run. A lesser but still significant problem is the amount of error output (without much that's useful).
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Graeme Rocher [ graemerocher ] |
Graeme Rocher
made changes -
| Fix Version/s | 1.4-M2 [ 12504 ] |
Graeme Rocher
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Graeme Rocher
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 39672 ] | Grails [ 47302 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 47302 ] | Copy of Grails [ 54762 ] |
Burt Beckwith
made changes -
| Workflow | Copy of Grails [ 54762 ] | Grails [ 62172 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 62172 ] | Grails2 [ 69757 ] |
Burt Beckwith
made changes -
| Workflow | Grails2 [ 69757 ] | jira [ 75743 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 75743 ] | Grails2 [ 84493 ] |
Peter Ledbrook
made changes -
| Workflow | Grails2 [ 84493 ] | jira [ 92934 ] |
Peter Ledbrook
made changes -
| Workflow | jira [ 92934 ] | Grails2 [ 101103 ] |