uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burn Lewis (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-3972) Specifying an invalid scheduling_class causes a NPE
Date Wed, 06 Aug 2014 19:04:13 GMT

     [ 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)

Mime
View raw message