Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- is duplicated by
-
GOBBLIN-935 reloading job config throws NPE
- Closed
- links to