org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]

Atlassian JIRA | Jeff Turner (Unused account) | 8 years ago
  1. 0

    Crowd's TokenReaper background job is failing every time it runs (once an hour), with a stacktrace: 2009-03-10 18:00:00,075 DefaultQuartzScheduler_Worker-4 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.TokenReaperJob threw an unhandled Exception: java.lang.NullPointerException at com.atlassian.crowd.model.token.Token.hashCode(Token.java:207) at java.util.HashMap.put(HashMap.java:418) at java.util.HashSet.add(HashSet.java:194) at org.apache.commons.lang.builder.ToStringStyle.register(ToStringStyle.java:151) at org.apache.commons.lang.builder.ToStringStyle.appendClassName(ToStringStyle.java:1403) at org.apache.commons.lang.builder.ToStringStyle.appendStart(ToStringStyle.java:328) at org.apache.commons.lang.builder.ToStringBuilder.<init>(ToStringBuilder.java:255) at org.apache.commons.lang.builder.ToStringBuilder.<init>(ToStringBuilder.java:212) at com.atlassian.crowd.model.token.Token.toString(Token.java:216) at java.lang.String.valueOf(String.java:2615) at java.lang.StringBuilder.append(StringBuilder.java:116) at com.atlassian.crowd.model.token.TokenDAOHibernate.remove(TokenDAOHibernate.java:70) at com.atlassian.crowd.model.token.TokenDAOProxy.remove(TokenDAOProxy.java:125) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removeToken(DirectoryManagerGeneric.java:1031) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removeExpiredTokens(DirectoryManagerGeneric.java:1014) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy8.removeExpiredTokens(Unknown Source) at com.atlassian.crowd.authentication.tokenreaper.TokenReaper.executeInternal(TokenReaper.java:34) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) That stacktrace is from Crowd 1.6.1 (Studio 1.6.1.0-RC2-20090310-01). In Crowd 1.6 (Studio 1.6.0.1) the error is the same but does not contain a stracktrace: org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:206) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException 2009-03-08 14:00:01,470 DefaultQuartzScheduler_Worker-5 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.TokenReaperJob threw an unhandled Exception: java.lang.NullPointerException 2009-03-08 14:00:01,470 DefaultQuartzScheduler_Worker-5 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.TokenReaperJob threw an exception.

    Atlassian JIRA | 8 years ago | Jeff Turner
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  2. 0

    Cette fois sur la bonne build, erreur de syncro au démarrage... ____. __/\ ______| |__/\. _______ __ .____| | \ | +----+ \ _______| /--| | | - \ _ | : - \_________ \\______: :---| : : | : | \________> |__\---\_____________:______: :____|____:_____\ /_____| . . . s t a r t i n g j a h i a b u i l d 1 3 5 8 2 . . . Copyright 2002-2005 - jahia http://www.jahia.org - all rights reserved ************************************************************************** * The contents of this file, or the files included with this file, are * * subject to the current version of JAHIA Community Source License for * * the Jahia Portal Server (the "License"); You may not use this file * * except in compliance with the License. You may obtain a copy of the * * License at http://www.jahia.org. See the License for the rights, * * obligations and limitations governing use of the contents of the file. * * The Original and Upgraded Code is the Jahia Portal Server. The * * developer of the Original and Upgraded Code is JAHIA Ltd. JAHIA Ltd. * * owns the copyrights in the portions it created. All Rights Reserved. * ************************************************************************** 9813 [2006-03-20 17:33:20,007] [org.jahia.services.esi.EsiInvalidation] INFO - [esi] : Configured Esi Server(s) : [localhost:8081] 9813 [2006-03-20 17:33:20,007] [org.jahia.services.esi.EsiInvalidation] INFO - [esi] : Configured Esi Invalidation Server(s) : [localhost:6666] 25688 [2006-03-20 17:33:35,882] [deployment] WARN - Unrecognized file E:\jahia5.0.0_CVS_r13582\tomcat\webapps\jahia\WEB-INF\etc\jetspeed\deploy\README.txt 32844 [2006-03-20 17:33:43,038] [org.compassframework.spring.LocalCompassBean] INFO - Building new Compass 32969 [2006-03-20 17:33:43,163] [org.compassframework.core.lucene.engine.analyzer.LuceneAnalyzerManager] INFO - Building analyzer [search] 33032 [2006-03-20 17:33:43,226] [org.compassframework.core.lucene.engine.analyzer.LuceneAnalyzerManager] INFO - Building analyzer [default] 33110 [2006-03-20 17:33:43,304] [org.compassframework.core.lucene.engine.LuceneSearchEngineFactory] INFO - Not using highlighter - no highlighter jar includ ed. 37766 [2006-03-20 17:33:47,960] [org.jahia.services.database.ConnectionDispenser] INFO - Searching java:comp/env/jdbc/jetspeed datasource from app server co ntext... 37766 [2006-03-20 17:33:47,960] [org.jahia.services.database.ConnectionDispenser] INFO - Datasource retrieved from context 40594 [2006-03-20 17:33:50,788] [org.jahia.services.search.JahiaSearchBaseService] INFO - Starting IndexingJobConsummer 40907 [2006-03-20 17:33:51,101] [org.quartz.core.QuartzScheduler] INFO - Quartz Scheduler v.null.null.null created. 40922 [2006-03-20 17:33:51,116] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - Using db table-based data access locking (synchronization). 40922 [2006-03-20 17:33:51,116] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - JobStoreTX initialized. 40922 [2006-03-20 17:33:51,116] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler 'JahiaQuartzScheduler' initialized from the specified file : ' E:\jahia5.0.0_CVS_r13582\tomcat\webapps\jahia\WEB-INF\etc\config\quartz.properties' 40938 [2006-03-20 17:33:51,132] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler version: null.null.null 40985 [2006-03-20 17:33:51,179] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - ClusterManager: detected 1 failed or restarted instances. 41000 [2006-03-20 17:33:51,194] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - ClusterManager: Scanning for instance "Croisidjul1142859907151"'s failed in -progress jobs. 41016 [2006-03-20 17:33:51,210] [org.quartz.core.QuartzScheduler] INFO - Scheduler JahiaQuartzScheduler_$_Croisidjul1142872431038 started. 41016 [2006-03-20 17:33:51,210] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - Handling 1 triggers that missed their scheduled fire-time. 41047 [2006-03-20 17:33:51,241] [org.quartz.core.QuartzScheduler] INFO - Quartz Scheduler v.null.null.null created. 41047 [2006-03-20 17:33:51,241] [org.quartz.simpl.RAMJobStore] INFO - RAMJobStore initialized. 41047 [2006-03-20 17:33:51,241] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler 'JahiaRamQuartzScheduler' initialized from the specified file : 'E:\jahia5.0.0_CVS_r13582\tomcat\webapps\jahia\WEB-INF\etc\config\quartz-ram.properties' 41047 [2006-03-20 17:33:51,241] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler version: null.null.null 41047 [2006-03-20 17:33:51,241] [org.quartz.core.QuartzScheduler] INFO - Scheduler JahiaRamQuartzScheduler_$_NON_CLUSTERED started. 41204 [2006-03-20 17:33:51,398] [org.quartz.core.JobRunShell] ERROR - Job ProductionJob.ProductionJob_1_0 threw an unhandled Exception: java.lang.NullPointerException at org.jahia.services.sites.JahiaSitesBaseService.getSite(JahiaSitesBaseService.java:192) at org.jahia.services.sites.JahiaSitesBaseService$$FastClassByCGLIB$$4d40271e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546) at org.jahia.services.sites.JahiaSitesBaseService$$EnhancerByCGLIB$$b9e9cb6b.getSite(<generated>) at org.jahia.services.importexport.ProductionJob.execute(ProductionJob.java:60) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 41219 [2006-03-20 17:33:51,413] [org.quartz.core.ErrorLogger] ERROR - Job (ProductionJob.ProductionJob_1_0 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:206) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at org.jahia.services.sites.JahiaSitesBaseService.getSite(JahiaSitesBaseService.java:192) at org.jahia.services.sites.JahiaSitesBaseService$$FastClassByCGLIB$$4d40271e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546) at org.jahia.services.sites.JahiaSitesBaseService$$EnhancerByCGLIB$$b9e9cb6b.getSite(<generated>) at org.jahia.services.importexport.ProductionJob.execute(ProductionJob.java:60) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 41985 [2006-03-20 17:33:52,179] [org.apache.slide.common.Domain] INFO - Initializing Domain 42266 [2006-03-20 17:33:52,460] [org.apache.slide.common.Domain] INFO - Domain configuration : {org.apache.slide.lock=true, org.apache.slide.versioncontrol= true, org.apache.slide.debug=false, org.apache.slide.useUtf8=true, org.apache.slide.search=true, org.apache.slide.security=true, org.apache.slide.urlEncoding= WINDOWS-1252, org.apache.slide.domain=../slide/Domain.xml} 42266 [2006-03-20 17:33:52,460] [org.apache.slide.common.Domain] INFO - Domain parameters: {logger-level=7, versioncontrol-exclude=, auto-version=checkout-c heckin, historypath=/history, checkin-fork=forbidden, workingresourcepath=/workingresource, workspacepath=/workspace, default=slide, auto-version-control=fals e, logger=log4j.Log4jLogger, checkout-fork=forbidden} 42297 [2006-03-20 17:33:52,491] [org.apache.slide.common.Domain] ERROR - Domain initialization error 42610 [2006-03-20 17:33:52,804] [org.apache.slide.common.Namespace] INFO - Loading namespace test parameters 42688 [2006-03-20 17:33:52,882] [org.apache.slide.common.Namespace] INFO - Loading namespace definition 42782 [2006-03-20 17:33:52,976] [org.apache.slide.common.Namespace] INFO - nodestore: org.jahia.services.webdav.stores.JahiaDescriptorsStore 42875 [2006-03-20 17:33:53,069] [org.apache.slide.common.Namespace] INFO - securitystore references nodestore 42875 [2006-03-20 17:33:53,069] [org.apache.slide.common.Namespace] INFO - lockstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.common.Namespace] INFO - revisiondescriptorsstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.common.Namespace] INFO - revisiondescriptorstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.common.Namespace] INFO - contentstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.util.logger] INFO - Disabling cache timeout for store jahia 42891 [2006-03-20 17:33:53,085] [org.apache.slide.util.logger] INFO - Setting object cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting permission cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting lock cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting descriptors cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting descriptor cache size for store jahia to 10000 42907 [2006-03-20 17:33:53,101] [org.apache.slide.store.ExtendedStore] INFO - Setting content caching for store jahia to false 42907 [2006-03-20 17:33:53,101] [org.apache.slide.store.ExtendedStore] INFO - Setting content cache size for store jahia to 10000 42907 [2006-03-20 17:33:53,101] [org.apache.slide.store.ExtendedStore] INFO - Setting content cache byte size for store jahia to 10000000

    JIRA | 1 decade ago | Stephane Croisier
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  3. 0

    Cette fois sur la bonne build, erreur de syncro au démarrage... ____. __/\ ______| |__/\. _______ __ .____| | \ | +----+ \ _______| /--| | | - \ _ | : - \_________ \\______: :---| : : | : | \________> |__\---\_____________:______: :____|____:_____\ /_____| . . . s t a r t i n g j a h i a b u i l d 1 3 5 8 2 . . . Copyright 2002-2005 - jahia http://www.jahia.org - all rights reserved ************************************************************************** * The contents of this file, or the files included with this file, are * * subject to the current version of JAHIA Community Source License for * * the Jahia Portal Server (the "License"); You may not use this file * * except in compliance with the License. You may obtain a copy of the * * License at http://www.jahia.org. See the License for the rights, * * obligations and limitations governing use of the contents of the file. * * The Original and Upgraded Code is the Jahia Portal Server. The * * developer of the Original and Upgraded Code is JAHIA Ltd. JAHIA Ltd. * * owns the copyrights in the portions it created. All Rights Reserved. * ************************************************************************** 9813 [2006-03-20 17:33:20,007] [org.jahia.services.esi.EsiInvalidation] INFO - [esi] : Configured Esi Server(s) : [localhost:8081] 9813 [2006-03-20 17:33:20,007] [org.jahia.services.esi.EsiInvalidation] INFO - [esi] : Configured Esi Invalidation Server(s) : [localhost:6666] 25688 [2006-03-20 17:33:35,882] [deployment] WARN - Unrecognized file E:\jahia5.0.0_CVS_r13582\tomcat\webapps\jahia\WEB-INF\etc\jetspeed\deploy\README.txt 32844 [2006-03-20 17:33:43,038] [org.compassframework.spring.LocalCompassBean] INFO - Building new Compass 32969 [2006-03-20 17:33:43,163] [org.compassframework.core.lucene.engine.analyzer.LuceneAnalyzerManager] INFO - Building analyzer [search] 33032 [2006-03-20 17:33:43,226] [org.compassframework.core.lucene.engine.analyzer.LuceneAnalyzerManager] INFO - Building analyzer [default] 33110 [2006-03-20 17:33:43,304] [org.compassframework.core.lucene.engine.LuceneSearchEngineFactory] INFO - Not using highlighter - no highlighter jar includ ed. 37766 [2006-03-20 17:33:47,960] [org.jahia.services.database.ConnectionDispenser] INFO - Searching java:comp/env/jdbc/jetspeed datasource from app server co ntext... 37766 [2006-03-20 17:33:47,960] [org.jahia.services.database.ConnectionDispenser] INFO - Datasource retrieved from context 40594 [2006-03-20 17:33:50,788] [org.jahia.services.search.JahiaSearchBaseService] INFO - Starting IndexingJobConsummer 40907 [2006-03-20 17:33:51,101] [org.quartz.core.QuartzScheduler] INFO - Quartz Scheduler v.null.null.null created. 40922 [2006-03-20 17:33:51,116] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - Using db table-based data access locking (synchronization). 40922 [2006-03-20 17:33:51,116] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - JobStoreTX initialized. 40922 [2006-03-20 17:33:51,116] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler 'JahiaQuartzScheduler' initialized from the specified file : ' E:\jahia5.0.0_CVS_r13582\tomcat\webapps\jahia\WEB-INF\etc\config\quartz.properties' 40938 [2006-03-20 17:33:51,132] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler version: null.null.null 40985 [2006-03-20 17:33:51,179] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - ClusterManager: detected 1 failed or restarted instances. 41000 [2006-03-20 17:33:51,194] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - ClusterManager: Scanning for instance "Croisidjul1142859907151"'s failed in -progress jobs. 41016 [2006-03-20 17:33:51,210] [org.quartz.core.QuartzScheduler] INFO - Scheduler JahiaQuartzScheduler_$_Croisidjul1142872431038 started. 41016 [2006-03-20 17:33:51,210] [org.quartz.impl.jdbcjobstore.JobStoreTX] INFO - Handling 1 triggers that missed their scheduled fire-time. 41047 [2006-03-20 17:33:51,241] [org.quartz.core.QuartzScheduler] INFO - Quartz Scheduler v.null.null.null created. 41047 [2006-03-20 17:33:51,241] [org.quartz.simpl.RAMJobStore] INFO - RAMJobStore initialized. 41047 [2006-03-20 17:33:51,241] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler 'JahiaRamQuartzScheduler' initialized from the specified file : 'E:\jahia5.0.0_CVS_r13582\tomcat\webapps\jahia\WEB-INF\etc\config\quartz-ram.properties' 41047 [2006-03-20 17:33:51,241] [org.quartz.impl.StdSchedulerFactory] INFO - Quartz scheduler version: null.null.null 41047 [2006-03-20 17:33:51,241] [org.quartz.core.QuartzScheduler] INFO - Scheduler JahiaRamQuartzScheduler_$_NON_CLUSTERED started. 41204 [2006-03-20 17:33:51,398] [org.quartz.core.JobRunShell] ERROR - Job ProductionJob.ProductionJob_1_0 threw an unhandled Exception: java.lang.NullPointerException at org.jahia.services.sites.JahiaSitesBaseService.getSite(JahiaSitesBaseService.java:192) at org.jahia.services.sites.JahiaSitesBaseService$$FastClassByCGLIB$$4d40271e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546) at org.jahia.services.sites.JahiaSitesBaseService$$EnhancerByCGLIB$$b9e9cb6b.getSite(<generated>) at org.jahia.services.importexport.ProductionJob.execute(ProductionJob.java:60) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 41219 [2006-03-20 17:33:51,413] [org.quartz.core.ErrorLogger] ERROR - Job (ProductionJob.ProductionJob_1_0 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:206) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at org.jahia.services.sites.JahiaSitesBaseService.getSite(JahiaSitesBaseService.java:192) at org.jahia.services.sites.JahiaSitesBaseService$$FastClassByCGLIB$$4d40271e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:546) at org.jahia.services.sites.JahiaSitesBaseService$$EnhancerByCGLIB$$b9e9cb6b.getSite(<generated>) at org.jahia.services.importexport.ProductionJob.execute(ProductionJob.java:60) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 41985 [2006-03-20 17:33:52,179] [org.apache.slide.common.Domain] INFO - Initializing Domain 42266 [2006-03-20 17:33:52,460] [org.apache.slide.common.Domain] INFO - Domain configuration : {org.apache.slide.lock=true, org.apache.slide.versioncontrol= true, org.apache.slide.debug=false, org.apache.slide.useUtf8=true, org.apache.slide.search=true, org.apache.slide.security=true, org.apache.slide.urlEncoding= WINDOWS-1252, org.apache.slide.domain=../slide/Domain.xml} 42266 [2006-03-20 17:33:52,460] [org.apache.slide.common.Domain] INFO - Domain parameters: {logger-level=7, versioncontrol-exclude=, auto-version=checkout-c heckin, historypath=/history, checkin-fork=forbidden, workingresourcepath=/workingresource, workspacepath=/workspace, default=slide, auto-version-control=fals e, logger=log4j.Log4jLogger, checkout-fork=forbidden} 42297 [2006-03-20 17:33:52,491] [org.apache.slide.common.Domain] ERROR - Domain initialization error 42610 [2006-03-20 17:33:52,804] [org.apache.slide.common.Namespace] INFO - Loading namespace test parameters 42688 [2006-03-20 17:33:52,882] [org.apache.slide.common.Namespace] INFO - Loading namespace definition 42782 [2006-03-20 17:33:52,976] [org.apache.slide.common.Namespace] INFO - nodestore: org.jahia.services.webdav.stores.JahiaDescriptorsStore 42875 [2006-03-20 17:33:53,069] [org.apache.slide.common.Namespace] INFO - securitystore references nodestore 42875 [2006-03-20 17:33:53,069] [org.apache.slide.common.Namespace] INFO - lockstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.common.Namespace] INFO - revisiondescriptorsstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.common.Namespace] INFO - revisiondescriptorstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.common.Namespace] INFO - contentstore references nodestore 42891 [2006-03-20 17:33:53,085] [org.apache.slide.util.logger] INFO - Disabling cache timeout for store jahia 42891 [2006-03-20 17:33:53,085] [org.apache.slide.util.logger] INFO - Setting object cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting permission cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting lock cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting descriptors cache size for store jahia to 10000 42891 [2006-03-20 17:33:53,085] [org.apache.slide.store.ExtendedStore] INFO - Setting descriptor cache size for store jahia to 10000 42907 [2006-03-20 17:33:53,101] [org.apache.slide.store.ExtendedStore] INFO - Setting content caching for store jahia to false 42907 [2006-03-20 17:33:53,101] [org.apache.slide.store.ExtendedStore] INFO - Setting content cache size for store jahia to 10000 42907 [2006-03-20 17:33:53,101] [org.apache.slide.store.ExtendedStore] INFO - Setting content cache byte size for store jahia to 10000000

    JIRA | 1 decade ago | Stephane Croisier
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crowd's TokenReaper background job is failing every time it runs (once an hour), with a stacktrace: 2009-03-10 18:00:00,075 DefaultQuartzScheduler_Worker-4 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.TokenReaperJob threw an unhandled Exception: java.lang.NullPointerException at com.atlassian.crowd.model.token.Token.hashCode(Token.java:207) at java.util.HashMap.put(HashMap.java:418) at java.util.HashSet.add(HashSet.java:194) at org.apache.commons.lang.builder.ToStringStyle.register(ToStringStyle.java:151) at org.apache.commons.lang.builder.ToStringStyle.appendClassName(ToStringStyle.java:1403) at org.apache.commons.lang.builder.ToStringStyle.appendStart(ToStringStyle.java:328) at org.apache.commons.lang.builder.ToStringBuilder.<init>(ToStringBuilder.java:255) at org.apache.commons.lang.builder.ToStringBuilder.<init>(ToStringBuilder.java:212) at com.atlassian.crowd.model.token.Token.toString(Token.java:216) at java.lang.String.valueOf(String.java:2615) at java.lang.StringBuilder.append(StringBuilder.java:116) at com.atlassian.crowd.model.token.TokenDAOHibernate.remove(TokenDAOHibernate.java:70) at com.atlassian.crowd.model.token.TokenDAOProxy.remove(TokenDAOProxy.java:125) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removeToken(DirectoryManagerGeneric.java:1031) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removeExpiredTokens(DirectoryManagerGeneric.java:1014) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy8.removeExpiredTokens(Unknown Source) at com.atlassian.crowd.authentication.tokenreaper.TokenReaper.executeInternal(TokenReaper.java:34) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) That stacktrace is from Crowd 1.6.1 (Studio 1.6.1.0-RC2-20090310-01). In Crowd 1.6 (Studio 1.6.0.1) the error is the same but does not contain a stracktrace: org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:206) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException 2009-03-08 14:00:01,470 DefaultQuartzScheduler_Worker-5 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.TokenReaperJob threw an unhandled Exception: java.lang.NullPointerException 2009-03-08 14:00:01,470 DefaultQuartzScheduler_Worker-5 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.TokenReaperJob threw an exception.

    Atlassian JIRA | 8 years ago | Jeff Turner (Unused account)
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  6. 0

    creating multiple triggers with their respective jobs using Quartz in Spring

    Stack Overflow | 4 years ago | bouncingHippo
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.quartz.SchedulerException

      Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]

      at org.quartz.core.JobRunShell.run()
    2. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:206)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames