Skip to content

The stacktrace is incomplete when SchedulerFactoryBean#jobSchedulingDataLocation failed to load [SPR-8301] #12949

Closed

Description

@spring-projects-issues

Zemian Deng opened SPR-8301 and commented

When setting SchedulerFactoryBean#jobSchedulingDataLocation and if it failed, the nested stacktrace is incomplete and now displaying what actually happened.

It looks like stacktrace chain is not chained in SchedulerAccessor.java line 292.

I would also request to improve the javadoc for SchedulerAccessor#setJobSchedulingDataLocation to specifically state that this String location must be a file local on system, and not the Spring's "resource" location!


2 votes, 4 watchers

Activity

  1. spring-projects-issues commented on May 26, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Zemian Deng commented

    I also like to point out that whenever property "jobSchedulingDataLocation" is used with quartz-1.8.3, you always gets the ".SchedulerException: Registration of jobs and triggers failed:" error. Since the exception didn't carry the full stacktrace, turns out the root cause is in quartz-1.8, the class 'org.quartz.xml.JobSchedulingDataProcessor' has been renamed to 'org.quartz.xml.XMLSchedulingDataProcessor'

  2. added
    status: waiting-for-triage
    type: enhancement
    in: core
    and removed
    type: enhancement
    on Jan 11, 2019
  3. added
    status: bulk-closed
    and removed
    status: waiting-for-triage
    on Jan 11, 2019
  4. spring-projects-issues commented on Jan 12, 2019

    @spring-projects-issues
    CollaboratorAuthor

    Bulk closing outdated, unresolved issues. Please, reopen if still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: corestatus: bulk-closed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions