[
https://issues.apache.org/jira/browse/GOBBLIN-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Lo resolved GOBBLIN-905.
--------------------------------
Resolution: Fixed
> Gobblin standalone crashes when adding a new job to its tracked folder
> ----------------------------------------------------------------------
>
> Key: GOBBLIN-905
> URL: https://issues.apache.org/jira/browse/GOBBLIN-905
> Project: Apache Gobblin
> Issue Type: Bug
> Reporter: William Lo
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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
> {quote}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({quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)