You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Burn Lewis (JIRA)" <de...@uima.apache.org> on 2014/08/06 21:04:13 UTC
[jira] [Resolved] (UIMA-3972) Specifying an invalid
scheduling_class causes a NPE
[ https://issues.apache.org/jira/browse/UIMA-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Burn Lewis resolved UIMA-3972.
------------------------------
Resolution: Fixed
> 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
> Assignee: Burn Lewis
> Priority: Minor
> Fix For: 1.1.0-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)