Burn Lewis created UIMA-3972:
--------------------------------
Summary: Specifying an invalid scheduling_class causes a NPE
Key: UIMA-3972
URL: https://issues.apache.org/jira/browse/UIMA-3972
Project: UIMA
Issue Type: Bug
Components: DUCC
Reporter: Burn Lewis
Priority: Minor
Fix For: future-DUCC
When registering a service or submitting a debug job an invalid scheduling
class will produce a NPE with no stacktrace if using the cli scripts.
Adding --debug to a service registration produces:
Service call failed: java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.uima.ducc.common.utils.DuccSchedulerClasses.isPreemptable(DuccSchedulerClasses.java:109)
at
org.apache.uima.ducc.cli.DuccServiceApi.register(DuccServiceApi.java:414)
at
org.apache.uima.ducc.cli.DuccServiceApi.Register(DuccServiceApi.java:729)
at org.apache.uima.ducc.cli.DuccServiceApi.main(DuccServiceApi.java:856)
For a debug job the exception is from the same place.
--
This message was sent by Atlassian JIRA
(v6.2#6252)