首页 > 编程语言 >java.lang.IndexOutOfBoundsException: Invalid range

java.lang.IndexOutOfBoundsException: Invalid range

时间:2023-05-23 09:11:40浏览次数:36  
标签:lang 38 java PrintStream TcLogger Unknown 36 Source range

报文:

ERROR: 17:38:36,099  - TcLogger$IC_PrintStream.logButCheckForException:?
java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException: Invalid range
	at javax.swing.DefaultRowSorter.rowsUpdated(Unknown Source)
	at javax.swing.DefaultRowSorter.rowsUpdated(Unknown Source)
	at javax.swing.JTable.notifySorter(Unknown Source)
	at javax.swing.JTable.sortedTableChanged(Unknown Source)
	at javax.swing.JTable.tableChanged(Unknown Source)
	at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
	at javax.swing.table.AbstractTableModel.fireTableCellUpdated(Unknown Source)
	at javax.swing.table.DefaultTableModel.setValueAt(Unknown Source)
	at javax.swing.JTable.setValueAt(Unknown Source)
	at com.hfplm.dm.rendering.HF8_PINProjectCost$3.tableChanged(HF8_PINProjectCost.java:297)
	at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
	at javax.swing.table.AbstractTableModel.fireTableRowsInserted(Unknown Source)
	at javax.swing.table.DefaultTableModel.insertRow(Unknown Source)
	at javax.swing.table.DefaultTableModel.addRow(Unknown Source)
	at com.hfplm.dm.rendering.HF8_PINProjectCost.initTableData(HF8_PINProjectCost.java:502)
	at com.hfplm.dm.rendering.HF8_PINProjectCost.buildGeneralPanel(HF8_PINProjectCost.java:316)
	at com.hfplm.dm.rendering.HF8_PINProjectCost.loadRendering(HF8_PINProjectCost.java:149)
	at com.hfplm.dm.rendering.HF8_PINProjectCost.<init>(HF8_PINProjectCost.java:113)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at com.teamcenter.rac.util.Instancer.newInstanceInt(Unknown Source)
	at com.teamcenter.rac.util.Instancer.newInstanceExFromClass(Unknown Source)
	at com.teamcenter.rac.util.Instancer.newInstanceEx(Unknown Source)
	at com.teamcenter.rac.util.Instancer.newInstanceEx(Unknown Source)
	at com.teamcenter.rac.stylesheet.RenderingLoader.loadStyleSheet(Unknown Source)
	at com.teamcenter.rac.stylesheet.RenderingLoader.loadStyleSheet(Unknown Source)
	at com.teamcenter.rac.stylesheet.RenderingLoader.load(Unknown Source)
	at com.teamcenter.rac.stylesheet.RenderingLoader.load(Unknown Source)
	at com.teamcenter.rac.commands.open.OpenFormPanel$RenderPanelOperation.executeOperation(Unknown Source)
	at com.teamcenter.rac.aif.AbstractAIFOperation.runEx(Unknown Source)
	at com.teamcenter.rac.kernel.services.impl.TCOperationService.performOperation(Unknown Source)
	at com.teamcenter.rac.aif.kernel.AbstractAIFSession.performOperation(Unknown Source)
	at com.teamcenter.rac.aif.AbstractAIFOperation.run(Unknown Source)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.DefaultRowSorter.rowsUpdated(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.DefaultRowSorter.rowsUpdated(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.JTable.notifySorter(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.JTable.sortedTableChanged(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.JTable.tableChanged(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.table.AbstractTableModel.fireTableCellUpdated(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.table.DefaultTableModel.setValueAt(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.JTable.setValueAt(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.hfplm.dm.rendering.HF8_PINProjectCost$3.tableChanged(HF8_PINProjectCost.java:297)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.table.AbstractTableModel.fireTableRowsInserted(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.table.DefaultTableModel.insertRow(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at javax.swing.table.DefaultTableModel.addRow(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.hfplm.dm.rendering.HF8_PINProjectCost.initTableData(HF8_PINProjectCost.java:502)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.hfplm.dm.rendering.HF8_PINProjectCost.buildGeneralPanel(HF8_PINProjectCost.java:316)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.hfplm.dm.rendering.HF8_PINProjectCost.loadRendering(HF8_PINProjectCost.java:149)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.hfplm.dm.rendering.HF8_PINProjectCost.<init>(HF8_PINProjectCost.java:113)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at java.lang.reflect.Constructor.newInstance(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.util.Instancer.newInstanceInt(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.util.Instancer.newInstanceExFromClass(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.util.Instancer.newInstanceEx(Unknown Source)

ERROR: 17:38:36,100  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.util.Instancer.newInstanceEx(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.stylesheet.RenderingLoader.loadStyleSheet(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.stylesheet.RenderingLoader.loadStyleSheet(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.stylesheet.RenderingLoader.load(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.stylesheet.RenderingLoader.load(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.commands.open.OpenFormPanel$RenderPanelOperation.executeOperation(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.aif.AbstractAIFOperation.runEx(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.kernel.services.impl.TCOperationService.performOperation(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.aif.kernel.AbstractAIFSession.performOperation(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at com.teamcenter.rac.aif.AbstractAIFOperation.run(Unknown Source)

ERROR: 17:38:36,101  - TcLogger$IC_PrintStream.log:?
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

  2、报错代码行:

baseTablePanel.getTable().setValueAt(column2SubTotal.stripTrailingZeros().toPlainString(), 7, 2);

 

处理方法:

 在TableModelListener 事件的 tableChanged 方法中,开多一个线程

标签:lang,38,java,PrintStream,TcLogger,Unknown,36,Source,range
From: https://www.cnblogs.com/wwssgg/p/17422305.html

相关文章

  • 一篇文章告诉你什么是Java内存模型
    在上篇并发编程Bug起源:可见性、有序性和原子性问题,介绍了操作系统为了提示运行速度,做了各种优化,同时也带来数据的并发问题,定义在单线程系统中,代码按照顺序从上往下顺序执行,执行不会出现问题。比如一下代码:inta=1;intb=2;intc=a+b;程序从上往下执行,最终c的结果......
  • java学习日记20230522-TreeSet
    有序键值对集合publicclassTreeSetExercise{publicstaticvoidmain(String[]args){Integerinteger=newInteger(10);TreeSettreeSet=newTreeSet(newComparator(){@Overridepublicintcompare(Objecto1,Obj......
  • java学习日记20230522-集合选择原则
    1.判断存储的类型,一组对象【单列】或者一组键值对【双列】2.一组对象【单列】:collection的子类:允许重复:List的某个实现类:增删多LinkedList(底层维护的是双向链表)                                改查多ArrayList(底层维护的是object类型的可......
  • JavaScript函数
    1函数定义使用function关键字来定义,即functionfName(para,...){statment;...;},可使用在函数声明语句与函数定义表达式这两种形式中函数名称标识符fName。是函数声明语句必需的部分。它的用途就像变量的名字,新定义的函数对象会赋值给这个变量但对函数定义表达式来说......
  • Java设计模式-组合模式
    简介在软件设计中,设计模式是一种被广泛接受和应用的经验总结,旨在解决常见问题并提供可复用的解决方案。组合模式是一种结构型设计模式,它允许将对象组合成树形结构以表示“部分-整体”的层次结构。这种模式能够使客户端以一致的方式处理单个对象和对象集合,将对象的组合与对象的使......
  • Java-Servlet解析
    前言从事Javaweb项目开发有一段时间了,一直不理解它是怎么一回事,后来查询资料发现这里面涉及到几个东西,分别是tomcat、JavaEE中13个规范之一的servlet、以及springMVC。于是就去学习了一下,发现这里里面都是围绕这servlet进行的操作。于是就有了今天的这个总结。Servlet定义Servl......
  • 基于JAVA的springboot+vue“智慧食堂”设计与实现,食堂管理系统,附源码+数据库+lw文档+P
    1、项目介绍本系统的用户可分为用户模块和管理员模块两大界面组成。一个界面用于管理员登录,管理员可以管理系统内所有功能,主要有首页,个人中心,用户管理,菜品分类管理,菜品信息管理,留言板管理,系统管理,订单管理等功能;另一界面用于用户登录,用户进入系统可以实现首页,菜品信息,留言板,个人......
  • idea中jdk11用maven编译失败 Fatal error compiling: tools.jar not found: XX\Java
    ideamaven编译需要用到jdk的lib包里面的tools.jar文件,但是jdk1.8之后就没有tools.jar了。我这里用的是graalvm的jdk11,编译一直报错,网上也查不到。解决办法: 根据对应路径创建一个lib包,并把jdk1.8的lib下面的tools.jar复制一个放到这个包下面,让这个路径有这个包就行了。我......
  • java基于joda-date实现获取两个时间段对应类型的所有时间,比如说两年之间的所有日期,两
    /***获取两个时间段对应类型的所有时间**@paramtype日期类型,包含day、month、year*@parambeginTime开始时间*@paramendTime结束时间*@return*/publicstaticList<String>getBetweenTime(Stringtype,String......
  • JavaWeb
    htmlcssjavascriptjQueryxmldomjdomdom4jsaxpullServlet处理前端发送过来的请求Servlet容器,处理servlet的运行和管理它的生命周期以及共享数据jsp跳转servlet需要注意的一些问题jsp中的action和servlet中的注解@WebServlet("/firstServlet")应保持一致......