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 177923 - [68cat] NPE deleting code
Summary: [68cat] NPE deleting code
Status: RESOLVED DUPLICATE of bug 177914
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-01 07:53 UTC by javydreamercsw
Modified: 2009-12-03 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log (109.40 KB, application/octet-stream)
2009-12-01 07:53 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2009-12-01 07:53:04 UTC
Created attachment 91931 [details]
Log

Build 200912010200

I'm getting a NPE just by deleting code in a line marked as an error. For some reason the messages file was not there.
Comment 1 Peter Pis 2009-12-01 08:05:43 UTC
Can't reproduce. Could you please provide test case (reproducible scenario)?
Comment 2 javydreamercsw 2009-12-01 16:59:06 UTC
I had to reinstall the IDE (clean install) and I haven't been able to reproduce it.
Comment 3 Marian Mirilovic 2009-12-03 06:45:01 UTC
<exception>
    <message>java.lang.NullPointerException</message>
    <frame>
      <class>org.netbeans.modules.editor.hints.AnnotationHolder</class>
      <method>insertUpdate</method>
      <line>310</line>
      <file>${netBeansDir}modules/org-netbeans-spi-editor-hints.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList</class>
      <method>insertUpdate</method>
      <line>79</line>
      <file>${netBeansDir}modules/org-netbeans-modules-editor-util.jar</file>
    </frame>
    <frame>
      <class>javax.swing.text.AbstractDocument</class>
      <method>fireInsertUpdate</method>
      <line>185</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.editor.BaseDocument</class>
      <method>fireInsertUpdate</method>
      <line>1623</line>
      <file>${netBeansDir}modules/org-netbeans-modules-editor-lib.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.editor.BaseDocument</class>
      <method>insertString</method>
      <line>778</line>
      <file>${netBeansDir}modules/org-netbeans-modules-editor-lib.jar</file>
    </frame>
Comment 4 Max Sauer 2009-12-03 07:16:05 UTC
This is a duplicate if already fixed #177914. Thanks for your report anyway.

*** This bug has been marked as a duplicate of bug 177914 ***