Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Alexander Stipsits, 1 year ago
Comparison method violates its general contract!
via JFrog JIRA by Alexander Stipsits, 1 year ago
Comparison method violates its general contract!
via Stack Overflow by user3749123
, 11 months ago
Comparison method violates its general contract!
via GitHub by rkapsi
, 1 year ago
Comparison method violates its general contract!
via Stack Overflow by user1818410
, 2 years ago
Comparison method violates its general contract!
via GitHub by dosumis
, 1 year ago
Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract!	at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:740)	at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:477)	at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:402)	at java.util.ComparableTimSort.sort(ComparableTimSort.java:209)	at java.util.Arrays.sort(Arrays.java:1312)	at java.util.Arrays.sort(Arrays.java:1506)	at java.util.ArrayList.sort(ArrayList.java:1454)	at java.util.Collections.sort(Collections.java:141)	at org.artifactory.repo.service.RepositoryBrowsingServiceImpl.getRemoteRepoBrowsableChildrenData(RepositoryBrowsingServiceImpl.java:283)	at org.artifactory.repo.service.RepositoryBrowsingServiceImpl.getRemoteRepoBrowsableChildren(RepositoryBrowsingServiceImpl.java:233)	at org.artifactory.repo.service.RepositoryBrowsingServiceImpl.addVirtualBrowsableItemsFromRemote(RepositoryBrowsingServiceImpl.java:543)	at org.artifactory.repo.service.RepositoryBrowsingServiceImpl.getVirtualBrowsableItemFromLocalAndRemote(RepositoryBrowsingServiceImpl.java:445)	at org.artifactory.repo.service.RepositoryBrowsingServiceImpl.getVirtualRepoBrowsableChildrenData(RepositoryBrowsingServiceImpl.java:366)	at org.artifactory.repo.service.RepositoryBrowsingServiceImpl.getVirtualRepoBrowsableChildren(RepositoryBrowsingServiceImpl.java:340)	at org.artifactory.ui.rest.model.artifacts.browse.treebrowser.nodes.JunctionNode.getChildren(JunctionNode.java:107)	at org.artifactory.ui.rest.model.artifacts.browse.treebrowser.nodes.JunctionNode.getRepoOrFolderChildren(JunctionNode.java:348)	at org.artifactory.ui.rest.model.artifacts.browse.treebrowser.nodes.JunctionNode.fetchItemTypeData(JunctionNode.java:334)	at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tree.BrowseTreeNodesService.populateBranchItems(BrowseTreeNodesService.java:58)	at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tree.BrowseTreeNodesService.execute(BrowseTreeNodesService.java:34)	at org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:18)	at org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:72)	at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.tree.TreeBrowserResource.browseTreeNodes(TreeBrowserResource.java:37)	at sun.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:203)	at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:94)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:330)	at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:195)	at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:155)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:116)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)