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 157047

Summary: NullPointerException at org.netbeans.modules.scala.debugger.projects.EditorContextImpl.removeAnnotation
Product: contrib Reporter: Marian Mirilovic <mmirilovic>
Component: ScalaAssignee: _ dcaoyuan <dcaoyuan>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=26139
Issue Type: DEFECT Exception Reporter: 26139

Description Marian Mirilovic 2009-01-19 11:40:56 UTC
41 duplicates so far ... reported mainly against NB 6.0/1

Build: NetBeans IDE Dev (Build 200802100004)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows Vista, 6.0, x86
User comments: tracing a scala servlet running in tomcat

val out:PrintWriter = res.getWriter();
out.print( doGetXML (req).toString ());      <--- think it was here
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.scala.debugger.projects.EditorContextImpl.removeAnnotation(EditorContextImpl.java:340)
        at org.netbeans.modules.scala.debugger.projects.EditorContextImpl.removeAnnotation(EditorContextImpl.java:335)
        at
org.netbeans.modules.debugger.jpda.ui.EditorContextBridge$CompoundContextProvider.removeAnnotation(EditorContextBridge.java:423)
        at
org.netbeans.modules.debugger.jpda.ui.CurrentThreadAnnotationListener$2.run(CurrentThreadAnnotationListener.java:227)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)