- 浏览: 175079 次
- 性别:
- 来自: 苏州
文章分类
- 全部博客 (87)
- Android (7)
- J2EE (34)
- JavaScript (6)
- CSS (1)
- Scala (0)
- WEB (5)
- Ruby (1)
- J2EE Netbeans JDK (1)
- Maven (2)
- AndroidMenuTest (0)
- ExtJS (1)
- MyBatis (4)
- iBatis (3)
- Quartz (1)
- JavaABC (3)
- HTML (1)
- JQuery (2)
- mysql (3)
- Linux (2)
- windows (1)
- ant (2)
- jboss (1)
- eclipse (1)
- junit (1)
- nginx (1)
- Google (0)
- git (2)
- python (1)
- kafka (1)
- sqlserver (1)
- jdk8+ (1)
jdk1.6升级到1.7后Comparator有null的参数就会抛出如下异常
java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeLo(TimSort.java:747) at java.util.TimSort.mergeAt(TimSort.java:483) at java.util.TimSort.mergeCollapse(TimSort.java:410) at java.util.TimSort.sort(TimSort.java:214) at java.util.TimSort.sort(TimSort.java:173) at java.util.Arrays.sort(Arrays.java:659) at java.util.Collections.sort(Collections.java:217) at com.spokesoft.util.GenericListPager.sort(GenericListPager.java:188) at com.spokesoft.http.util.ListNavigatorModel.sort(ListNavigatorModel.java:145) at com.spokesoft.http.util.ListModel.sort(ListModel.java:195) at com.spokesoft.http.util.ListModel.handleListControl(ListModel.java:301) at com.spokesoft.http.framework.TabServlet.doHandleList(TabServlet.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.spokesoft.http.framework.TabServlet.processRequest(TabServlet.java:185) at com.spokesoft.http.framework.TabServlet.doGet(TabServlet.java:82) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at com.spokesoft.http.framework.MainServlet.processTabs(MainServlet.java:140) at com.spokesoft.http.framework.MainServlet.processRequest(MainServlet.java:115) at com.spokesoft.http.framework.MainServlet.doGet(MainServlet.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.spokesoft.http.framework.Dispatcher.processRequest(Dispatcher.java:145) at com.spokesoft.http.framework.Dispatcher.doGet(Dispatcher.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.spokesoft.http.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 17:21:53,216 ERROR [STDERR] at java.lang.Thread.run(Thread.java:724)
发表评论
-
日志过滤小工具
2020-01-06 20:15 4461.从全量日志中截断部 ... -
GC参考手册
2017-11-09 14:12 543英文版原文:GC Tuning: In Practice 垃圾 ... -
IDENTITY_INSERT 设置为 OFF 时无法指定插入自增ID
2017-02-15 16:10 658IDENTITY_INSERT 设置为 OFF 时,无法指定I ... -
运行时Exception:Wrong return type in function
2015-11-17 21:31 1518D:\Soft\jdk1.7.0_79\bin\java ... -
Java中的常量:如何避免反模式
2015-10-20 20:41 444参考http://www.importnew.com/1670 ... -
java Socket通信小栗子
2015-09-14 09:25 609server端: package com.test.soc ... -
MyBatis 自动生成xml文件
2015-03-12 11:22 3793package com.test.mybatis; ... -
Java mail test
2015-02-12 11:03 1296mail局域网Exchange服务器测试代码,仅限发送到dom ... -
Java Concurrency / Multithreading Tutorial
2014-10-28 09:35 701Java Concurrency / Multithreadi ... -
JDK1.7 不兼容compare方法
2014-10-21 16:20 782java.lang.IllegalArgumentExcept ... -
Unknown Source的出现及解决
2014-06-18 10:03 928http://www.2cto.com/kf/201103/8 ... -
ApplicationDeadlockException
2014-06-16 15:39 782参考 : How to avoid huge transact ... -
Java Date相关处理
2014-02-26 14:35 6061.获取UTC时间: Calendar c ... -
Error listenerStart
2013-12-11 19:25 725INFO: Deploying web applicati ... -
Error configuring application listener of class org.springframework.web.context.
2013-12-07 18:54 38179如果Eclipse的BuildPath里面不缺jar包并且在 ... -
iReport字体报错“JRFontNotFoundException”
2013-10-11 11:08 12788net.sf.jasperreports.engine.uti ... -
Eclipse里Jboss的配置
2013-07-15 17:41 9571.\WorkSpace\.metadata\.plugins ... -
Ant安装使用入门
2013-07-04 14:03 568下载Ant之后,增加环境变量1.ANT_HOME=xx/xx/ ... -
javaSystem获取系统信息
2013-03-27 16:30 807public static void main(Strin ... -
设计模式学习笔记
2013-03-22 18:01 838简单工厂,策略模式,单一职责,开放封闭,依赖倒转 装饰模式,代 ...
相关推荐
在Java编程中,当执行排序操作时,可能会遇到一个特定的异常:“Comparison method violates its general contract”。这个异常通常发生在使用`Arrays.sort()`或`Collections.sort()`方法时,尤其是在从Java 6升级到...
### 关联规则挖掘算法:概览与比较 #### 引言 自1993年引入以来,关联规则挖掘已成为数据挖掘领域中最受关注的任务之一。这一方法在知识发现(KDD)过程中,尤其是在市场篮子分析等商业场景下,被广泛应用。...
A self-comparison method with closely interleaved switching states is analyzed and used to evaluate some type-B uncertainties of an 87Rb atomic fountain clock. Free from additional frequency reference...
标题《Comparison of regional planning strategies: Countywide general plans in USA》和描述《The regional plans of developed countries follow a few common patterns. Both subjects under research have ...
Hex Comparison(文件比较与编辑)是一款小巧的十六进制文件比较和编辑修改工具。可以同时打开两个文件在同一界面比较,它可以自动比较两个文件的不同之处并高亮显示。并可以把不同之处生成文件保存成文档。
The often quoted comparison that the method is a “Cinderella”, dominated by her “big sister”, the Finite Element Method, and whose beauty is hidden away, is still true and we hope that the reader...
fandango_score_comparison.csv 。python 机器学习,电影评分表。
Hex Comparison 是一款二进制文件比较与十六进制编辑工具。它可以帮助你使用二进制格式来比较两个文件。主要功能: 1.允许快速比较两个文件。 2.快速查找每一处不匹配的数据。 3.使用自定义颜色来显示不匹配数据。 4...
本文将深入探讨四种常见的排序算法:插入排序、合并排序、堆排序和快速排序,并通过"Sorting Running Time Comparison Test"来分析它们的运行性能。 1. 插入排序(Insertion Sort): 插入排序是一种简单直观的排序...
This is the second energy entropy matlab code, EULER numerical analysis method, Comparison of soft threshold and hard threshold and today various threshold calculation method.
根据给定的文件信息,以下是对标题、描述和部分内容中提及的知识点的详细说明: 标题和描述中都提到了“低中频声速测量设备及比较法测量结果”,这表明研究的焦点是设计并测试一个用于在水下测量声速的装置,并通过...
标题与描述概述的知识点主要集中在变化检测算法在遥感监测中的应用,特别是在监测海草(如鳗草)的动态变化方面。以下是对这些知识点的详细阐述: ### 遥感变化检测算法 #### 定义与重要性 变化检测算法是遥感分析...
Algorithm-sorting-algorithms-performance-comparison.zip,一组排序算法的性能比较它计算每个算法用于排序列表的时间:已排序的数字和未排序的数字,算法是为计算机程序高效、彻底地完成任务而创建的一组详细的准则...
Comparison of learning disabled and general education children on the McCarthy Scales of Children's Abilities P.vyrhology in the Srhools 1980, 17. 429-436 COMPARISON OF LEARNING DISABLED AND ...
Digital Change Detection by Post-Classification Comparison of RS Data in Land Use of Guangzhou,樊风雷,Wang Yunpeng,Remote sensing has long time been an important component of regional planning for ...
### DB2与Oracle数据库对比分析 #### 引言:为何选择IBM DB2? 随着全球数字化进程的加速,企业面临着前所未有的数据处理挑战。为了更好地利用信息技术(IT),许多组织正在寻求更智能、更高效的解决方案来应对日益...
atlassian-visual-comparison-2.5.4-jira20.jar webdriver
标题"Fandango_score_comparison"可能指的是一个关于电影评分比较的研究或数据分析项目,其中可能涉及到Fandango网站上的电影评分与其他来源(如Metacritic或Rotten Tomatoes)的评分对比。描述提到“房价信息”,这...
### ARM Cortex-M处理器系列对比分析 #### 概述 ARM Cortex-M处理器家族是为成本与能源效率极高的微控制器优化设计的。这些处理器被广泛应用于各类设备中,包括物联网(IoT)、工业以及日常消费电子产品等。...