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.
Profiler build 060714 If I try to invoke popup menu on annotation bar (line numbers) in editor for some non-java file an NPE is thrown and the popup menu does not appear: java.lang.NullPointerException at org.netbeans.modules.profiler.ui.profilepoints.ProfilePointUI$Location.classForURL(ProfilePointUI.java:445) at org.netbeans.modules.profiler.ui.profilepoints.ProfilePointUI$Location.<init>(ProfilePointUI.java:297) at org.netbeans.modules.profiler.ui.profilepoints.ProfilePointsManager.getCurrentLocation(ProfilePointsManager.java:419) at org.netbeans.modules.profiler.ui.profilepoints.CustomizePointAction2.enable(CustomizePointAction2.java:23) at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:175) at org.netbeans.editor.Annotations.initMenu(Annotations.java:714) at org.netbeans.editor.Annotations.createMenu(Annotations.java:800) at org.netbeans.editor.Annotations.createPopupMenu(Annotations.java:642) at org.netbeans.editor.GlyphGutter$GutterMouseListener.showPopup(GlyphGutter.java:769) at org.netbeans.editor.GlyphGutter$GutterMouseListener.mousePressed(GlyphGutter.java:791) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
Fixed.
verified