报文:
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