Uploaded image for project: 'Apache Gobblin'
  1. Apache Gobblin
  2. GOBBLIN-905

Gobblin standalone crashes when adding a new job to its tracked folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • None
    • None

    Description

      Gobblin standalone crashes with a null pointer exception when adding a new `.job` file to its tracked directory.

      To reproduce, add a `.job` file in `GOBBLIN_JOB_CONF_DIR`

      Produced output is below

      2019-10-08 22:38:29 GMT ERROR [newDaemonThreadFactory] org.apache.gobblin.util.filesystem.ExceptionCatchingPathAlterationListenerDecorator 57 - onFileCreate failure:
      java.lang.NullPointerException
      at org.apache.gobblin.util.SchedulerUtils.resolveTemplate(SchedulerUtils.java:182)
      at org.apache.gobblin.util.SchedulerUtils.loadGenericJobConfig(SchedulerUtils.java:139)
      at org.apache.gobblin.scheduler.PathAlterationListenerAdaptorForMonitor.loadNewJobConfigAndHandleNewJob(PathAlterationListenerAdaptorForMonitor.java:79)
      at org.apache.gobblin.scheduler.PathAlterationListenerAdaptorForMonitor.onFileCreate(PathAlterationListenerAdaptorForMonitor.java:165)
      at org.apache.gobblin.util.filesystem.ExceptionCatchingPathAlterationListenerDecorator.onFileCreate(ExceptionCatchingPathAlterationListenerDecorator.java:55)
      at org.apache.gobblin.util.filesystem.PathAlterationObserver.doCreate(

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wlo William Lo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h