Title: Message Title
|
|
|
|
|
|
Unless I'm stupid or too tired, which is perfectly possible, I think there is an issue in the Job stuff: I've stumbled upon this when I tried to manually launch a job from the UI. It didn't seem to "do anything", so I started debugging why not, and found it's because most of the rows (except one) in the job table in my local DB had a no job_key set, and this caused an NPE in JobRegisterServiceImpl.constructJobKey(String). Indeed all those jobs did have an exception recorded in their initializing_errorlog column (but I only saw that "late" - better to also notify admin in regular log).
I then debugged the error in initializing, and found that this was due to JobRegisterServiceImpl @PostConstruct loadAllJobs() => scheduleJob() => getScheduler() => createScheduler() => getGlobalListener() => getBeanObject() failing for bean named schedulerStopListener (= class SchedulerStopListener implements JobListener), because that @Autowired injects JobRegisterService - which we are just just about to finish constructing (remember, we're in @PostConstruct) - Spring doesn't seem to like this?
I suspect that this may have been introduced in the commit "added scheduler stop API" which introduced SchedulerStopListener in https://github.com/openMF/mifosx/commits/1d61eef36932e039c63d8fe7bf42cc0c203d7b9b/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/jobs/service/SchedulerStopListener.java ? -- Or it worked then, and some.. Spring version upgrade got stricter and caused this?
I'll let others set the Priority - to me this looks pretty Critical / Blocker.
It's curious that no tests fail because of this. I do not know Mifos X overall well enough to understand why, and will let others analyze and comment on that.
There are probably different ways this could be solved..
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues