You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Heiko Hüter (JIRA)" <ji...@apache.org> on 2015/09/29 09:01:04 UTC

[jira] [Created] (CXF-6614) "Comparison method violates its general contract" in DestinationRegistryImpl.getSortedDestinations

Heiko Hüter created CXF-6614:
--------------------------------

             Summary: "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


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)