curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-130) Some examples may through NPE on end of input
Date Thu, 31 Jul 2014 21:07:38 GMT

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

ASF GitHub Bot commented on CURATOR-130:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/curator/pull/28


> Some examples may through NPE on end of input
> ---------------------------------------------
>
>                 Key: CURATOR-130
>                 URL: https://issues.apache.org/jira/browse/CURATOR-130
>             Project: Apache Curator
>          Issue Type: Bug
>            Reporter: Mike Drob
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> Some of the examples use {{in.readLine().trim()}} without checking the results of the
{{readLine()}} call. This can cause an NPE since it may return {{null}} on end of input, e.g.
EOF or Ctrl-D.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message