Closed GoogleCodeExporter closed 9 years ago
Issue could not be reproduced when reverting back to grails 1.3.3 = use
revision 150.
All test-cases passed:
Tests PASSED - view reports in target\test-reports
Application context shutting down...
Application context shutdown.
Running application is also OK:
C:\LocalData\agiletrackingtool>grails run-app
Welcome to Grails 1.3.2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: f:\java\grails-1.3.2
Base Directory: C:\LocalData\agiletrackingtool
Resolving dependencies...
Dependencies resolved in 646ms.
Running script f:\java\grails-1.3.2\scripts\RunApp.groovy
Environment set to development
[groovyc] Compiling 3 source files to C:\LocalData\agiletrackingtool\target\cl
asses
Running Grails application..
loading security config ...
Server running. Browse to http://localhost:8080/AgileTrackingTool
Original comment by ben.schreur@gmail.com
on 3 Aug 2010 at 7:48
[deleted comment]
Issue also seen on Linux using 1.3.3.
Original comment by ben.schreur@gmail.com
on 3 Aug 2010 at 8:06
Reverted to grails 1.3.2.
Original comment by ben.schreur@gmail.com
on 3 Aug 2010 at 8:07
Workaround mentioned in this issue:
http://jira.codehaus.org/browse/GRAILS-6521
Original comment by ben.schreur@gmail.com
on 4 Aug 2010 at 8:32
No suck luck with issue as mentioned in jira GRAILS-6521 issue:
---> Change in Config.groovy
ben@upper:~/workspace/agiletrackingtool.trunk$ grep autoweaving
grails-app/conf/Config.groovy
grails.spring.disable.aspectj.autoweaving=true
grails clean; grails run-app gives the same error:
Base Directory: /home/ben/workspace/agiletrackingtool.trunk
Resolving dependencies...
Dependencies resolved in 1052ms.
Running script /usr/local/java/grails/scripts/Clean.groovy
Environment set to development
[delete] Deleting directory /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
ben@upper:~/workspace/agiletrackingtool.trunk$ ./run.sh
Welcome to Grails 1.3.3 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/local/java/grails
Base Directory: /home/ben/workspace/agiletrackingtool.trunk
Resolving dependencies...
Dependencies resolved in 1043ms.
Running script /usr/local/java/grails/scripts/RunApp.groovy
Environment set to development
[copy] Copied 8 empty directories to 2 empty directories under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 4 empty directories to 4 empty directories under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 1 empty directory to 1 empty directory under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copying 1 file to /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 2 empty directories to 1 empty directory under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 1 empty directory to 1 empty directory under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 1 empty directory to 1 empty directory under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 2 empty directories to 1 empty directory under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 1 empty directory to 1 empty directory under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[mkdir] Created dir: /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/plugin-classes
[groovyc] Compiling 79 source files to /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/plugin-classes
Note:
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/plugins/acegi-0.5.2/src
/java/org/codehaus/groovy/grails/plugins/springsecurity/ldap/GrailsLdapUser.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[mkdir] Created dir: /home/ben/workspace/agiletrackingtool.trunk/target/classes
[groovyc] Compiling 61 source files to /home/ben/workspace/agiletrackingtool.trunk/target/classes
[mkdir] Created dir: /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/grails-app/i18n
[native2ascii] Converting 11 files from
/home/ben/workspace/agiletrackingtool.trunk/grails-app/i18n to
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/grails-app/i1
8n
[mkdir] Created dir: /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/yui-2.7.0.1/grails-app/i18n
[mkdir] Created dir: /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/google-chart-0.5.1/grails-app/i18n
[mkdir] Created dir: /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/navigation-1.1/grails-app/i18n
[native2ascii] Converting 1 file from
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/plugins/navigation-1.1/
grails-app/i18n to
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/navig
ation-1.1/grails-app/i18n
[mkdir] Created dir: /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/quartz-0.4.2/grails-app/i18n
[native2ascii] Converting 1 file from
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/plugins/google-chart-0.
5.1/grails-app/i18n to
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/googl
e-chart-0.5.1/grails-app/i18n
[native2ascii] Converting 1 file from
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/plugins/quartz-0.4.2/gr
ails-app/i18n to
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/quart
z-0.4.2/grails-app/i18n
[native2ascii] Converting 1 file from
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/plugins/yui-2.7.0.1/gra
ils-app/i18n to
/home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources/plugins/yui-2
.7.0.1/grails-app/i18n
[copy] Copying 1 file to /home/ben/workspace/agiletrackingtool.trunk/target/classes
[copy] Copying 1 file to /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 2 empty directories to 2 empty directories under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[copy] Copied 1 empty directory to 1 empty directory under /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/resources
[delete] Deleting directory /home/ben/.grails/1.3.3/projects/agiletrackingtool.trunk/tomcat
Running Grails application..
loading security config ...
Server running. Browse to http://localhost:8080/AgileTrackingTool
Error executing script RunApp: groovy.lang.MissingMethodException: No signature
of method: $Proxy12.startPluginChangeScanner() is applicable for argument
types: () values: []
groovy.lang.MissingMethodException: No signature of method:
$Proxy12.startPluginChangeScanner() is applicable for argument types: ()
values: []
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Caused by: groovy.lang.MissingMethodException: No signature of method:
$Proxy12.startPluginChangeScanner() is applicable for argument types: ()
values: []
at _GrailsRun_groovy$_run_closure6.doCall(_GrailsRun_groovy:179)
at _GrailsRun_groovy.runInline(_GrailsRun_groovy:117)
at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:59)
at RunApp$_run_closure1.doCall(RunApp.groovy:33)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
... 10 more
--- Nested Exception ---
groovy.lang.MissingMethodException: No signature of method:
$Proxy12.startPluginChangeScanner() is applicable for argument types: ()
values: []
at _GrailsRun_groovy$_run_closure6.doCall(_GrailsRun_groovy:179)
at _GrailsRun_groovy.runInline(_GrailsRun_groovy:117)
at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:59)
at RunApp$_run_closure1.doCall(RunApp.groovy:33)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Error executing script RunApp: groovy.lang.MissingMethodException: No signature
of method: $Proxy12.startPluginChangeScanner() is applicable for argument
types: () values: []
Application context shutting down...
Application context shutdown.
Original comment by ben.schreur@gmail.com
on 4 Aug 2010 at 8:57
Same error with daily build of grails-1.3.4:
ben@mypc:/usr/local/java/grails$ git show
commit 42528446ca1d32d8b1bf2d4966ece5d8f34df7cb
Merge: 4a9b813 4debcf7
Author: Jeff Brown <jeff@jeffandbetsy.net>
Date: Wed Aug 4 10:47:07 2010 -0500
Merge branch 'master' of github.com:grails/grails-core
Running Grails application..
loading security config ...
Server running. Browse to http://localhost:8080/AgileTrackingTool
Error executing script RunApp: groovy.lang.MissingMethodException: No signature
of method: $Proxy12.startPluginChangeScanner() is applicable for argument
types: () values: []
groovy.lang.MissingMethodException: No signature of method:
$Proxy12.startPluginChangeScanner() is applicable for argument types: ()
values: []
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Caused by: groovy.lang.MissingMethodException: No signature of method:
$Proxy12.startPluginChangeScanner() is applicable for argument types: ()
values: []
at RunApp$_run_closure6.doCall(RunApp:179)
at RunApp.runInline(RunApp:117)
at RunApp.this$4$runInline(RunApp)
at RunApp$_run_closure1.doCall(RunApp:59)
at RunApp$_run_closure1.doCall(RunApp.groovy:33)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
... 10 more
--- Nested Exception ---
groovy.lang.MissingMethodException: No signature of method:
$Proxy12.startPluginChangeScanner() is applicable for argument types: ()
values: []
at RunApp$_run_closure6.doCall(RunApp:179)
at RunApp.runInline(RunApp:117)
at RunApp.this$4$runInline(RunApp)
at RunApp$_run_closure1.doCall(RunApp:59)
at RunApp$_run_closure1.doCall(RunApp.groovy:33)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Error executing script RunApp: groovy.lang.MissingMethodException: No signature
of method: $Proxy12.startPluginChangeScanner() is applicable for argument
types: () values: []
Application context shutting down...
Application context shutdown.
Original comment by ben.schreur@gmail.com
on 4 Aug 2010 at 9:45
See
http://jira.codehaus.org/browse/GRAILS-6578?page=com.atlassian.jira.plugin.syste
m.issuetabpanels:all-tabpanel for a way how to fix this:
The issue is caused by this line in Bootstrap.groovy:
/* Workaround for issue: GRAILS-6482 */
PluginManagerHolder.pluginManager = [hasGrailsPlugin: { String name -> true }] as GrailsPluginManager
Since GRAILS-6482 is fixed in 1.3.4 the above should be removed. For 1.3.3 this
should be in your setUp method on the test cases
Original comment by ben.schreur@gmail.com
on 5 Aug 2010 at 7:22
Original issue reported on code.google.com by
ben.schreur@gmail.com
on 3 Aug 2010 at 7:43