Skip to content

Instantly share code, notes, and snippets.

@yogiHulk
Created May 5, 2014 15:17
Show Gist options
  • Save yogiHulk/086c94a613fbb7090666 to your computer and use it in GitHub Desktop.
Save yogiHulk/086c94a613fbb7090666 to your computer and use it in GitHub Desktop.
Grails runtime error due to triggers
2014-05-05 11:03:59,800 WARN [localhost-startStop-1] GrailsUtil - [DEPRECATED] Method ConfigurationHolder.getConfig() is deprecated and will be removed in a future version of Grails. - [grails.util.GrailsUtil]
2014-05-05 11:04:00,898 WARN [localhost-startStop-1] ModuleDeclarationsFactory - 'grails.resources.modules' in config does not define any modules - [org.grails.plugin.resource.module.ModuleDeclarationsFactory]
2014-05-05 11:04:10,738 WARN [localhost-startStop-1] GrailsUtil - [DEPRECATED] Method ConfigurationHolder.getConfig() is deprecated and will be removed in a future version of Grails. - [grails.util.GrailsUtil]
2014-05-05 11:04:11,028 ERROR [localhost-startStop-1] GrailsContextLoader - Error initializing the application: org.quartz.JobPersistenceException: Couldn't retrieve trigger: No record found for selection of Trigger with key: 'GRAILS_TRIGGERS.userPointsLedgerTrigger' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'CompStakClusteredScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [See nested exception: java.lang.IllegalStateException: No record found for selection of Trigger with key: 'GRAILS_TRIGGERS.userPointsLedgerTrigger' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'CompStakClusteredScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ?] - [org.codehaus.groovy.grails.web.context.GrailsContextLoader]
org.codehaus.groovy.runtime.InvokerInvocationException: org.quartz.JobPersistenceException: Couldn't retrieve trigger: No record found for selection of Trigger with key: 'GRAILS_TRIGGERS.userPointsLedgerTrigger' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'CompStakClusteredScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [See nested exception: java.lang.IllegalStateException: No record found for selection of Trigger with key: 'GRAILS_TRIGGERS.userPointsLedgerTrigger' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'CompStakClusteredScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ?]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
Caused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: No record found for selection of Trigger with key: 'GRAILS_TRIGGERS.userPointsLedgerTrigger' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'CompStakClusteredScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [See nested exception: java.lang.IllegalStateException: No record found for selection of Trigger with key: 'GRAILS_TRIGGERS.userPointsLedgerTrigger' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'CompStakClusteredScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ?]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1524)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$12.execute(JobStoreSupport.java:1512)
at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3716)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1509)
at org.quartz.core.QuartzScheduler.getTrigger(QuartzScheduler.java:1477)
at org.quartz.impl.StdScheduler.getTrigger(StdScheduler.java:499)
at QuartzGrailsPlugin$_closure5_closure23.doCall(QuartzGrailsPlugin.groovy:276)
at QuartzGrailsPlugin$_closure5.doCall(QuartzGrailsPlugin.groovy:273)
at QuartzGrailsPlugin$_closure3_closure20.doCall(QuartzGrailsPlugin.groovy:215)
at QuartzGrailsPlugin$_closure3.doCall(QuartzGrailsPlugin.groovy:213)
... 5 more
Caused by: java.lang.IllegalStateException: No record found for selection of Trigger with key: 'GRAILS_TRIGGERS.userPointsLedgerTrigger' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'CompStakClusteredScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ?
at org.quartz.impl.jdbcjobstore.CronTriggerPersistenceDelegate.loadExtendedTriggerProperties(CronTriggerPersistenceDelegate.java:92)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1801)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1520)
... 15 more
2014-05-05 11:04:11,193 INFO [Thread-24] ExtendedConfigurableLocalSessionFactoryBean - Closing Hibernate SessionFactory - [com.compstak.ExtendedConfigurableLocalSessionFactoryBean]
Disconnected from the target VM, address: '127.0.0.1:50247', transport: 'socket'
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment