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 167257

Summary: NullPointerException at org.netbeans.modules.fisheye.FishEyeTextView.getLocusElement
Product: third-party Reporter: mklaehn <mklaehn>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: blocker CC: jmichelberger, mklaehn
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=152727
Issue Type: DEFECT Exception Reporter: 152727
Attachments: mouse hovering over TODO annotation in sidebar
stacktrace
stacktrace

Description mklaehn 2009-06-17 18:11:28 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3316-on-090616)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.fisheye.FishEyeTextView.getLocusElement(FishEyeTextView.java:187)
        at org.netbeans.modules.fisheye.FishEyeTextView.getLocusElement(FishEyeTextView.java:220)
        at org.netbeans.modules.fisheye.FisheyeTrigger.getLocusElement(FisheyeTrigger.java:98)
        at
org.netbeans.modules.fisheye.hacks.FisheyeAnnotationViewFactory$H.viewToModel(FisheyeAnnotationViewFactory.java:81)
        at org.netbeans.modules.fisheye.FisheyeTrigger$TriggerListener.mouseReleased(FisheyeTrigger.java:138)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
        at java.awt.Component.processMouseEvent(Component.java:6216)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5981)
        at java.awt.Container.processEvent(Container.java:2041)
Comment 1 Filip Zamboj 2009-06-22 11:53:19 UTC
@reporter: submit some steps to reproduce, please, in order to correctly re-assign the issue. INCOMPLETE until requested
information is submitted. Thanks for understanding. 
Comment 2 mklaehn 2009-06-22 12:21:35 UTC
1. open any editor where hints, errors, TODO-annotations or anything else that appears on the rightmost sidebar (see
screenshot)
2. click any of those in that sidebar -> NPE
Comment 3 mklaehn 2009-06-22 12:26:51 UTC
Created attachment 83870 [details]
mouse hovering over TODO annotation in sidebar
Comment 4 Filip Zamboj 2009-06-22 13:34:54 UTC
@reporter: thanks for additional clarification ;)
Comment 5 Exceptions Reporter 2009-07-11 14:41:57 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152727
Comment 6 jmichelberger 2009-07-13 12:12:23 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3492-on-090708)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.fisheye.FishEyeTextView.getLocusElement(FishEyeTextView.java:187)
        at org.netbeans.modules.fisheye.FishEyeTextView.getLocusElement(FishEyeTextView.java:220)
        at org.netbeans.modules.fisheye.FisheyeTrigger.getLocusElement(FisheyeTrigger.java:98)
        at org.netbeans.modules.fisheye.hacks.FisheyeAnnotationViewFactory$H.viewToModel(FisheyeAnnotationViewFactory.java:81)
        at org.netbeans.modules.fisheye.FisheyeTrigger$TriggerListener.mouseReleased(FisheyeTrigger.java:138)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
Comment 7 jmichelberger 2009-07-13 12:12:33 UTC
Created attachment 84648 [details]
stacktrace
Comment 8 Exceptions Reporter 2009-07-13 12:12:50 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152727
Comment 9 Vitezslav Stejskal 2009-07-14 14:48:00 UTC
This is a problem in the fisheye module. I'm not sure who's the maintainer. You could try uninstalling the module to
workaround the problem.
Comment 10 jmichelberger 2009-07-16 14:33:15 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3544-on-090716)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException<br/>
        at org.netbeans.modules.fisheye.FishEyeTextView.getLocusElement(FishEyeTextView.java:187)<br/>
        at org.netbeans.modules.fisheye.FishEyeTextView.getLocusElement(FishEyeTextView.java:220)<br/>
        at org.netbeans.modules.fisheye.FisheyeTrigger.getLocusElement(FisheyeTrigger.java:98)<br/>
        at org.netbeans.modules.fisheye.hacks.FisheyeAnnotationViewFactory$H.viewToModel(FisheyeAnnotationViewFactory.java:81)<br/>
        at org.netbeans.modules.fisheye.FisheyeTrigger$TriggerListener.mouseReleased(FisheyeTrigger.java:138)<br/>
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)<br/>
Comment 11 jmichelberger 2009-07-16 14:33:20 UTC
Created attachment 84834 [details]
stacktrace
Comment 12 Exceptions Reporter 2009-07-16 14:33:25 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152727