You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/31 16:49:00 UTC

[jira] [Work logged] (KNOX-2314) NPE from topology Service equals implementation when no URLs

     [ https://issues.apache.org/jira/browse/KNOX-2314?focusedWorklogId=413346&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-413346 ]

ASF GitHub Bot logged work on KNOX-2314:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/20 16:48
            Start Date: 31/Mar/20 16:48
    Worklog Time Spent: 10m 
      Work Description: pzampino commented on pull request #303: KNOX-2314 - NPE from topology Service equals implementation when no URLs
URL: https://github.com/apache/knox/pull/303
 
 
   ## What changes were proposed in this pull request?
   
   Fixed NPE when the urls member of a Service object is null, and its equals() method is invoked.
   
   ## How was this patch tested?
   
   Manual testing, and added testTopologiesWithSameServicesWithNullURLs() to org.apache.knox.gateway.topology.TopologyTest
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 413346)
    Remaining Estimate: 0h
            Time Spent: 10m

> NPE from topology Service equals implementation when no URLs
> ------------------------------------------------------------
>
>                 Key: KNOX-2314
>                 URL: https://issues.apache.org/jira/browse/KNOX-2314
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When the urls member of a topology Service object is null, the equals method implementation throws a NullPointerException.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)