[ https://issues.apache.org/jira/browse/GOBBLIN-905?focusedWorklogId=326698&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-326698 ]
ASF GitHub Bot logged work on GOBBLIN-905: ------------------------------------------ Author: ASF GitHub Bot Created on: 11/Oct/19 03:58 Start Date: 11/Oct/19 03:58 Worklog Time Spent: 10m Work Description: asfgit commented on pull request #2759: [GOBBLIN-905] Fixes issue where newly added jobs would crash in gobbl… URL: https://github.com/apache/incubator-gobblin/pull/2759 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 326698) Time Spent: 50m (was: 40m) > 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: 50m > 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)