This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | exception occurs when displaying results | ||
---|---|---|---|
Product: | profiler | Reporter: | dgreen99 <dgreen99> |
Component: | Base | Assignee: | issues@profiler <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | A screen shot that shows the table cells that did not render correctly due to the exception. |
Description
dgreen99
2004-08-25 19:06:26 UTC
Problem still present in profiler-m1-windows-v2.nbm New stack trace from profiler-m1-windows-v2.nbm that includes line numbers. Note that to cause the exception, the results were displayed and I had to scroll down in the table view. java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:444) at com.sun.tools.profiler.utils.MethodNameFormatter.<init> (MethodNameFormatter.java:84) at com.sun.tools.profiler.ui.FlatProfilePanel$1.getValueAt (FlatProfilePanel.java:122) at javax.swing.JTable.getValueAt(JTable.java:1771) at javax.swing.JTable.prepareRenderer(JTable.java:3724) at javax.swing.plaf.basic.BasicTableUI.paintCell (BasicTableUI.java:1149) at javax.swing.plaf.basic.BasicTableUI.paintCells (BasicTableUI.java:1051) at javax.swing.plaf.basic.BasicTableUI.paint (BasicTableUI.java:974) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) at javax.swing.JComponent.paintComponent(JComponent.java:541) at javax.swing.JComponent.paint(JComponent.java:808) at javax.swing.JViewport.blitDoubleBuffered (JViewport.java:1585) at javax.swing.JViewport.windowBlitPaint(JViewport.java:1551) at javax.swing.JViewport.setViewPosition(JViewport.java:1082) at javax.swing.plaf.basic.BasicScrollPaneUI$VSBChangeListener.stateChang ed(BasicScrollPaneUI.java:476) at javax.swing.DefaultBoundedRangeModel.fireStateChanged (DefaultBoundedRangeModel.java:346) at javax.swing.DefaultBoundedRangeModel.setRangeProperties (DefaultBoundedRangeModel.java:283) at javax.swing.DefaultBoundedRangeModel.setValue (DefaultBoundedRangeModel.java:149) at javax.swing.JScrollBar.setValue(JScrollBar.java:435) at javax.swing.plaf.basic.BasicScrollBarUI$TrackListener.setValueFrom (BasicScrollBarUI.java:1050) at javax.swing.plaf.basic.BasicScrollBarUI$TrackListener.mouseDragged (BasicScrollBarUI.java:992) at java.awt.Component.processMouseMotionEvent (Component.java:5148) at javax.swing.JComponent.processMouseMotionEvent (JComponent.java:2779) at java.awt.Component.processEvent(Component.java:4901) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:3215) at java.awt.LightweightDispatcher.dispatchEvent (Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:137) at java.awt.EventDispatchThread.run (EventDispatchThread.java:100) Created attachment 17168 [details]
A screen shot that shows the table cells that did not render correctly due to the exception.
Problem fixed, the updated code will become available in Milestone 2 release of the Profiler. *** Issue 48791 has been marked as a duplicate of this issue. *** Verification of old issues. Closing old issues. Reverting to the original Target Milestone value changed by mistake. Sorry for inconvenience. |