You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2013/07/18 19:20:48 UTC

[jira] [Created] (UIMA-3087) Fix NPE in Ducc Agent

Jerry Cwiklik created UIMA-3087:
-----------------------------------

             Summary: Fix NPE in Ducc Agent 
                 Key: UIMA-3087
                 URL: https://issues.apache.org/jira/browse/UIMA-3087
             Project: UIMA
          Issue Type: Bug
          Components: DUCC
    Affects Versions: 1.0-Ducc
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik


There is NPE occuring in the Agent's DuccGarbageStatsCollector. The collector is meant to collect GC information via JMX. This collector is periodically running under the control of Camel route which starts immediately after the process is launched. It seems like there is a race where the route is stating ahead of the process. Modify code to start the route only when the process reports back to the agent. For some reason the route is currently starting in CommandExecutor.postExecStep() and apparently a reference to a Process object is not yet valid causing the NPE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira