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.

Bug 71473 - SIOOBE when going through Profile menu
Summary: SIOOBE when going through Profile menu
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
: 85404 86517 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-17 08:55 UTC by Jiri Sedlacek
Modified: 2007-04-03 14:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2006-01-17 08:55:30 UTC
When "Source Packages" or "Web Services" node is selected in Explorer and 
Profile Other submenu should be displayed from IDE Profile menu, following 
exception is thrown:

java.lang.StringIndexOutOfBoundsException: String index out of range: 1
        at java.lang.String.substring(String.java:1765)
        at 
org.netbeans.modules.profiler.utils.ProjectUtilities.convertPackage2SuiteName
(ProjectUtilities.java:650)
        at org.netbeans.modules.profiler.utils.ProjectUtilities.getTestName
(ProjectUtilities.java:634)
        at 
org.netbeans.modules.profiler.utils.ProjectUtilities.findUnitTestInTestRoot
(ProjectUtilities.java:622)
        at org.netbeans.modules.profiler.utils.ProjectUtilities.findTestForFile
(ProjectUtilities.java:293)
        at org.netbeans.modules.profiler.actions.AntActions$3.enable
(AntActions.java:171)
        at org.netbeans.modules.profiler.actions.FileSensitiveAction.refresh
(FileSensitiveAction.java:40)
        at 
org.netbeans.modules.profiler.actions.ProjectSensitiveAction.isEnabled
(ProjectSensitiveAction.java:101)
        at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:781)
        at org.openide.awt.Actions$MenuItem.synchMenuPresenters
(Actions.java:1117)
        at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:152)
        at org.openide.awt.MenuBar$LazyMenu.stateChanged(MenuBar.java:491)
        at javax.swing.DefaultButtonModel.fireStateChanged
(DefaultButtonModel.java:362)
        at javax.swing.DefaultButtonModel.setSelected
(DefaultButtonModel.java:228)
        at javax.swing.JMenu.setSelected(JMenu.java:280)
        at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1251)
        at javax.swing.MenuSelectionManager.setSelectedPath
(MenuSelectionManager.java:89)
        at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered
(BasicMenuUI.java:504)
        at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered
(BasicMenuUI.java:359)
        at 
com.sun.java.swing.plaf.windows.WindowsMenuUI$WindowsMouseInputHandler.mouseEnte
red(WindowsMenuUI.java:163)
        at java.awt.Component.processMouseEvent(Component.java:5497)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
        at java.awt.LightweightDispatcher.trackMouseEnterExit
(Container.java:4017)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3874)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
[catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jiri Sedlacek 2006-01-17 09:34:54 UTC
Fixed for 5.1.
Comment 2 Jiri Sedlacek 2006-09-21 10:41:16 UTC
In fact fixed in trunk -> 6.0.
Comment 3 Jiri Sedlacek 2006-09-21 10:42:10 UTC
*** Issue 85404 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Sedlacek 2006-09-21 12:05:06 UTC
Fix merged into release55 branch.
Comment 5 Jiri Sedlacek 2006-10-04 22:27:57 UTC
*** Issue 86517 has been marked as a duplicate of this issue. ***
Comment 6 Jiri Sedlacek 2007-04-03 14:43:46 UTC
Verified.