cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6614) "Comparison method violates its general contract" in DestinationRegistryImpl.getSortedDestinations
Date Mon, 05 Oct 2015 12:53:26 GMT

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

Sergey Beryozkin resolved CXF-6614.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.1.4
                   3.0.7
                   2.7.18

> "Comparison method violates its general contract" in DestinationRegistryImpl.getSortedDestinations
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-6614
>                 URL: https://issues.apache.org/jira/browse/CXF-6614
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 3.1.3
>         Environment: Server version:        Apache Tomcat/8.0.26
> Server built:             Aug 18 2015 11:38:37 UTC
> Server number:       8.0.26.0
> OS Name:               Linux
> OS Version:             3.13.0-63-generic
> Architecture:            amd64
> JVM Version:           1.8.0_60-b27
> JVM Vendor:            Oracle Corporation
>            Reporter: Heiko Hüter
>            Assignee: Sergey Beryozkin
>             Fix For: 2.7.18, 3.0.7, 3.1.4
>
>
> The error occurs when trying to view the generated overview page with all Services (going
to servlet root without any subpath).
> java.lang.IllegalArgumentException: Comparison method violates its general contract!
> 	java.util.TimSort.mergeHi(TimSort.java:899)
> 	java.util.TimSort.mergeAt(TimSort.java:516)
> 	java.util.TimSort.mergeForceCollapse(TimSort.java:457)
> 	java.util.TimSort.sort(TimSort.java:254)
> 	java.util.Arrays.sort(Arrays.java:1438)
> 	java.util.List.sort(List.java:478)
> 	java.util.Collections.sort(Collections.java:175)
> 	org.apache.cxf.transport.http.DestinationRegistryImpl.getSortedDestinations(DestinationRegistryImpl.java:123)
> 	org.apache.cxf.transport.servlet.servicelist.ServiceListGeneratorServlet.service(ServiceListGeneratorServlet.java:85)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> 	org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:177)
> 	org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
> 	org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
> 	org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:293)
> 	org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:217)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
> 	org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:268)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message