Quartz Plugin

Failed to upgrade to Grails 1.1

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.4.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Grails 1.1 & quartz-0.4.1-SNAPSHOT

Description

Whilst attempting to upgrade from grails 1.0.3 to grails 1.1. I get the following error when the app is starting (in this case while running test-app)

 
Error executing script TestApp: No such property: startDelay for class: QuartzGrailsPlugin
gant.TargetMissingPropertyException: No such property: startDelay for class: QuartzGrailsPlugin
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:329)
        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: groovy.lang.MissingPropertyException: No such property: startDelay for class: QuartzGrailsPlugin
        at QuartzGrailsPlugin$_closure7_closure25_closure26_closure28.doCall(QuartzGrailsPlugin.groovy:254)
        at QuartzGrailsPlugin$_closure7_closure25_closure26.doCall(QuartzGrailsPlugin.groovy:253)
        at grails.spring.BeanBuilder.invokeBeanDefiningMethod(BeanBuilder.java:607)
        at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:478)
        at QuartzGrailsPlugin$_closure7_closure25.doCall(QuartzGrailsPlugin.groovy:251)
        at QuartzGrailsPlugin$_closure7.doCall(QuartzGrailsPlugin.groovy:250)
        at QuartzGrailsPlugin.invokeMethod(QuartzGrailsPlugin.groovy)
        at QuartzGrailsPlugin$_closure1_closure8.doCall(QuartzGrailsPlugin.groovy:67)
        at QuartzGrailsPlugin$_closure1.doCall(QuartzGrailsPlugin.groovy:65)
        at QuartzGrailsPlugin$_closure1.doCall(QuartzGrailsPlugin.groovy)
        at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:651)
        at grails.spring.BeanBuilder.beans(BeanBuilder.java:501)
        at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:447)
        at _GrailsBootstrap_groovy$_run_closure2_closure13.doCall(_GrailsBootstrap_groovy:86)
        at _GrailsBootstrap_groovy$_run_closure2_closure13.doCall(_GrailsBootstrap_groovy)
        at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:269)
        at _GrailsBootstrap_groovy$_run_closure2.doCall(_GrailsBootstrap_groovy:84)
        at _GrailsBootstrap_groovy$_run_closure7.doCall(_GrailsBootstrap_groovy:142)
        at _GrailsTest_groovy$_run_closure7.doCall(_GrailsTest_groovy:248)
        at _GrailsTest_groovy$_run_closure7.doCall(_GrailsTest_groovy)
        at _GrailsTest_groovy$_run_closure1_closure19.doCall(_GrailsTest_groovy:109)
        at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:95)
        at TestApp$_run_closure1.doCall(TestApp.groovy:66)
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
        ... 10 more

Activity

Hide
James Cook added a comment -

This only happens if you set grails.project.plugins.dir="./plugins"

Show
James Cook added a comment - This only happens if you set grails.project.plugins.dir="./plugins"
Hide
Stan Carney added a comment -

Googling the same issue I found this link: http://taapps-javalibs.blogspot.com/2009/04/grailsgrails-upgrade-steps-from-10x-to.html

Cause
This error raises from following statements of the configureJobBeans closure in the QuartzGrailsPlugin.groovy file because of the "this" clause.

He makes mention that it is version 0.3.1 though.

Show
Stan Carney added a comment - Googling the same issue I found this link: http://taapps-javalibs.blogspot.com/2009/04/grailsgrails-upgrade-steps-from-10x-to.html
Cause This error raises from following statements of the configureJobBeans closure in the QuartzGrailsPlugin.groovy file because of the "this" clause.
He makes mention that it is version 0.3.1 though.
Hide
Lee Wexler added a comment -

I get this whether or not plugins are in "/.plugins", or in the new shared location.

Would it be possible to confirm that the workaround specified in the link:

>> http://taapps-javalibs.blogspot.com/2009/04/grailsgrails-upgrade-steps-from-10x-to.html

is indeed an appropriate workaround? It seems to work – but wondering what is actually going on here.

Show
Lee Wexler added a comment - I get this whether or not plugins are in "/.plugins", or in the new shared location. Would it be possible to confirm that the workaround specified in the link: >> http://taapps-javalibs.blogspot.com/2009/04/grailsgrails-upgrade-steps-from-10x-to.html is indeed an appropriate workaround? It seems to work – but wondering what is actually going on here.
Hide
Sergey Nebolsin added a comment -

It looks like the issue is fixed since the latest 0.4.1-SNAPSHOT works fine for me in both Grails 1.1 and 1.1.1.

Show
Sergey Nebolsin added a comment - It looks like the issue is fixed since the latest 0.4.1-SNAPSHOT works fine for me in both Grails 1.1 and 1.1.1.

People

Vote (6)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: