You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org> on 2012/01/09 15:00:39 UTC

[jira] [Commented] (CAMEL-4872) Route Info Command Exchange Date NPE

    [ https://issues.apache.org/jira/browse/CAMEL-4872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182509#comment-13182509 ] 

Claus Ibsen commented on CAMEL-4872:
------------------------------------

I wonder if we should not just print an empty string when there is no data?

I am just guessing here, what if people start hacking perl scripts that executes ssh to access karaf and invoke this command, and then grab the result stream, and then parse the text. All in the good spirit to gather stats from a non-Java world ;)



                
> Route Info Command Exchange Date NPE
> ------------------------------------
>
>                 Key: CAMEL-4872
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4872
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.8.3, 2.9.0, 2.10
>            Reporter: Scott England-Sullivan
>             Fix For: 2.8.4, 2.9.1, 2.10
>
>         Attachments: CAMEL-4872-2.8.x.patch, CAMEL-4872-2.9.x.patch, CAMEL-4872.patch
>
>
> Executing the camel:info-route/camel:route-info against a route that hasn't processed an exchange will throw an NPE due to First Exchange Date and Last Exchange Completed Date are null.
> Patch is forthcoming.
> Thanks,
> Scott ES

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira