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 61113 - IllegalArgumentException when opening Profile / Profile Other menu item
Summary: IllegalArgumentException when opening Profile / Profile Other menu item
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 14:00 UTC by Jiri Sedlacek
Modified: 2007-02-12 22:24 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 2005-07-19 14:00:54 UTC
Steps to reproduce:

- Compile WebProject, select any .class in build/web/WEB-INF folder
- Try to open Profile / Profile Other item in IDE menu

The following exception occurs:

*********** Exception occurred ************ at 2:58 PM on Jul 19, 2005
java.lang.IllegalArgumentException: Parameter source cannot be null
        at org.netbeans.api.java.queries.UnitTestForSourceQuery.findUnitTests
(UnitTestForSourceQuery.java:70)
        at org.netbeans.modules.profiler.utils.ProjectUtilities.findTestForFile
(ProjectUtilities.java:215)
        at org.netbeans.modules.profiler.actions.AntActions$2.enable
(AntActions.java:89)
        at org.netbeans.modules.profiler.actions.FileSensitiveAction.refresh
(FileSensitiveAction.java:38)
        at 
org.netbeans.modules.profiler.actions.ProjectSensitiveAction.isEnabled
(ProjectSensitiveAction.java:93)
        at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:627)
        at org.openide.awt.Actions.prepareMenuBridgeItemsInContainer
(Actions.java:592)
        at org.openide.awt.JMenuPlus.setPopupMenuVisible(JMenuPlus.java:59)
        at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1463)
        at javax.swing.MenuSelectionManager.setSelectedPath
(MenuSelectionManager.java:89)
        at javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:217)
        at javax.swing.plaf.basic.BasicMenuUI.access$200(BasicMenuUI.java:32)
        at javax.swing.plaf.basic.BasicMenuUI$Actions.actionPerformed
(BasicMenuUI.java:275)
        at javax.swing.Timer.fireActionPerformed(Timer.java:271)
        at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[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 iformanek 2005-07-28 17:19:58 UTC
Fixed
Comment 2 ehucka 2006-10-09 12:08:32 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-12 22:24:48 UTC
Closing old issues.