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 178038 - NPE at org.netbeans.modules.editor.hints.AnnotationHolder.insertUpdate(AnnotationHolder.java:310) makes editor unusable
Summary: NPE at org.netbeans.modules.editor.hints.AnnotationHolder.insertUpdate(Annota...
Status: RESOLVED DUPLICATE of bug 177914
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 18:39 UTC by David Konecny
Modified: 2009-12-03 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE exception (2.92 KB, text/plain)
2009-12-02 18:39 UTC, David Konecny
Details
sample proj (12.64 KB, application/x-gzip)
2009-12-02 18:40 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2009-12-02 18:39:17 UTC
Created attachment 92015 [details]
NPE exception

Exception reported did not work either so I'm submitting issue myself. Start IDE with fresh userdir, register a GlassFish server v3 and open very simple project which I will attach. Open ent.Poll.java and try to remove "Choic" on line 55. Anytime I try that I get attached NPE. Sometimes when I type on lines 60 and more it is OK but any editing on lines before 55 triggers NPE for me. If you want to reproduce from scratch just create new Web Proj and generate two Choice and Poll entity classes from jdbc/Sample DB which comes with NB. Then open Poll class and start typing something end second or third stroke with start NPE avalanche.

  Product Version         = NetBeans IDE Dev (Build 091202-b8306790174e) (#b8306790174e)
  Operating System        = Linux version 2.6.24-24-generic running on i386
  Java; VM; Vendor        = 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_17-b04
  Java Home               = /usr/lib/jvm/java-6-sun-1.6.0.17/jre
Comment 1 David Konecny 2009-12-02 18:40:50 UTC
Created attachment 92016 [details]
sample proj
Comment 2 David Konecny 2009-12-02 18:42:28 UTC
I wanted to say "...start typing something and second or third stroke will start NPEs avalanche."
Comment 3 Max Sauer 2009-12-03 02:29:32 UTC
This is a duplicate of already fixed #177914. Thanks for your report anyway.

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