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 222383 - NullPointerException at org.netbeans.modules.parsing.impl.indexing.ClusteredIndexables.access$500
Summary: NullPointerException at org.netbeans.modules.parsing.impl.indexing.ClusteredI...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 222731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-19 12:41 UTC by augcampos
Modified: 2012-11-28 12:53 UTC (History)
20 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195362


Attachments
stacktrace (2.91 KB, text/plain)
2012-11-19 12:41 UTC, augcampos
Details
stacktrace (2.91 KB, text/plain)
2012-11-19 15:31 UTC, augcampos
Details
stacktrace (2.87 KB, text/plain)
2012-11-20 10:46 UTC, Vladimir Riha
Details
stacktrace (2.87 KB, text/plain)
2012-11-20 14:28 UTC, Vladimir Riha
Details
stacktrace (2.86 KB, text/plain)
2012-11-21 08:01 UTC, Marek Fukala
Details
stacktrace (2.90 KB, text/plain)
2012-11-23 13:11 UTC, stefan79
Details
stacktrace (2.90 KB, text/plain)
2012-11-23 13:14 UTC, stefan79
Details
stacktrace (2.88 KB, text/plain)
2012-11-26 09:59 UTC, manikantannaren
Details
stacktrace (2.91 KB, text/plain)
2012-11-26 10:14 UTC, fortruth
Details
stacktrace (2.91 KB, text/plain)
2012-11-26 10:20 UTC, fortruth
Details
stacktrace (2.89 KB, text/plain)
2012-11-26 11:26 UTC, muellermi
Details
stacktrace (3.10 KB, text/plain)
2012-11-28 12:53 UTC, Kenneth Ganfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description augcampos 2012-11-19 12:41:14 UTC
Build: NetBeans IDE Dev (Build 201211190002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.parsing.impl.indexing.ClusteredIndexables.access$500(ClusteredIndexables.java:69)
   at org.netbeans.modules.parsing.impl.indexing.ClusteredIndexables$RemovedCollection$It.hasNext(ClusteredIndexables.java:465)
   at org.netbeans.modules.parsing.lucene.LuceneIndex._doStore(LuceneIndex.java:421)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.store(LuceneIndex.java:482)
   at org.netbeans.modules.parsing.lucene.DocumentIndexImpl.store(DocumentIndexImpl.java:200)
   at org.netbeans.modules.parsing.lucene.DocumentIndexImpl.store(DocumentIndexImpl.java:163)
Comment 1 augcampos 2012-11-19 12:41:16 UTC
Created attachment 128053 [details]
stacktrace
Comment 2 augcampos 2012-11-19 15:31:35 UTC
Created attachment 128073 [details]
stacktrace
Comment 3 Exceptions Reporter 2012-11-20 01:10:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=195362
Comment 4 Tomas Zezula 2012-11-20 09:52:18 UTC
Fixed jet-main 6b2483d6ebd6
Comment 5 Vladimir Riha 2012-11-20 10:46:36 UTC
Created attachment 128119 [details]
stacktrace

What caused it:
- create HTML5 sample project
- open and run index.html
- place cursor to line 35, column 46
- invoke create rule dialog from Rule Editor part of CSS Styles window
- select Id as a selector type (the selected element does not have ID
attribute)
- confirm dialog OK
=> target css file is opened and NPE pops up
Comment 6 Vladimir Riha 2012-11-20 14:28:35 UTC
Created attachment 128140 [details]
stacktrace
Comment 7 Marek Fukala 2012-11-21 08:01:38 UTC
Created attachment 128181 [details]
stacktrace

saved some html/css files
Comment 8 Quality Engineering 2012-11-21 13:47:25 UTC
Integrated into 'main-golden', will be available in build *201211211016* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6b2483d6ebd6
User: Tomas Zezula <tzezula@netbeans.org>
Log: #222383:NullPointerException at org.netbeans.modules.parsing.impl.indexing.ClusteredIndexables.access$500
Comment 9 stefan79 2012-11-23 13:11:11 UTC
Created attachment 128313 [details]
stacktrace

After saving a css-file, this exception occured.
Comment 10 stefan79 2012-11-23 13:14:12 UTC
Created attachment 128314 [details]
stacktrace

Exception occured after Ctrl-V and then Ctrl-S (at css-file).
Comment 11 manikantannaren 2012-11-26 09:59:21 UTC
Created attachment 128378 [details]
stacktrace

Created a new HTML file
Selected all contents
Pasted contents from clipboard
Comment 12 fortruth 2012-11-26 10:14:19 UTC
Created attachment 128380 [details]
stacktrace

closed a css file
Comment 13 fortruth 2012-11-26 10:20:21 UTC
Created attachment 128381 [details]
stacktrace

when save a css file
Comment 14 Tomas Zezula 2012-11-26 10:34:42 UTC
*** Bug 222731 has been marked as a duplicate of this bug. ***
Comment 15 muellermi 2012-11-26 11:26:20 UTC
Created attachment 128385 [details]
stacktrace
Comment 16 Kenneth Ganfield 2012-11-28 12:53:30 UTC
Created attachment 128508 [details]
stacktrace

opening html5 project