[jira] [Created] (NET-453) CLONE - NetworkTopology::getLeaf should check for invalid topologies

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (NET-453) CLONE - NetworkTopology::getLeaf should check for invalid topologies

ASF GitHub Bot (Jira)
CLONE - NetworkTopology::getLeaf should check for invalid topologies
--------------------------------------------------------------------

                 Key: NET-453
                 URL: https://issues.apache.org/jira/browse/NET-453
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Colin Patrick McCabe
             Fix For: 1.0
         Attachments: HDFS-3073.002.patch

Currently, NetworkTopology::getLeaf doesn't do too much validation on the NetworkTopology object itself.  This results in us getting ClassCastException sometimes when the topology is invalid.  We should have a less confusing exception message for this case.

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (NET-453) CLONE - NetworkTopology::getLeaf should check for invalid topologies

ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/NET-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe closed NET-453.
------------------------------------

    Resolution: Invalid
   

> CLONE - NetworkTopology::getLeaf should check for invalid topologies
> --------------------------------------------------------------------
>
>                 Key: NET-453
>                 URL: https://issues.apache.org/jira/browse/NET-453
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Colin Patrick McCabe
>             Fix For: 1.0
>
>         Attachments: HDFS-3073.002.patch
>
>
> Currently, NetworkTopology::getLeaf doesn't do too much validation on the NetworkTopology object itself.  This results in us getting ClassCastException sometimes when the topology is invalid.  We should have a less confusing exception message for this case.

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