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 127416 - CSS completion doesn't work in tag files: NoSuchElementException at java.util.AbstractList$Itr.next
Summary: CSS completion doesn't work in tag files: NoSuchElementException at java.util...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-14 17:35 UTC by Jindrich Sedek
Modified: 2008-04-28 13:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 27445


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2008-02-14 17:35:03 UTC
Build: NetBeans IDE Dev (Build 080214)
VM: Java HotSpot(TM) Client VM, 1.6.0_10-ea-b07
OS: SunOS, 5.11, x86
User comments: 

Create new tag file
use this code:
--------------------
<style>
  h1{
  
 }
</style>
-------------------
invoke cc inside h1 selector area
exception is thrown and no cc appears


STACKTRACE: (first 10 lines)
java.util.NoSuchElementException
        at java.util.AbstractList$Itr.next(AbstractList.java:350)
        at org.netbeans.modules.css2.gsf.CSSCompletion.complete(CSSCompletion.java:101)
        at
org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveCompletion(GsfCompletionProvider.java:491)
        at
org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.run(GsfCompletionProvider.java:383)
        at
org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.run(GsfCompletionProvider.java:224)
        at org.netbeans.napi.gsfret.source.Source.runUserActionTask(Source.java:467)
        at
org.netbeans.modules.gsfret.editor.completion.GsfCompletionProvider$JavaCompletionQuery.query(GsfCompletionProvider.java:292)
        at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Marek Fukala 2008-02-14 20:53:40 UTC
fixed in javascript2 repo
Comment 2 Jindrich Sedek 2008-03-03 14:24:18 UTC
verified.
NetBeans IDE 6.1 Beta (Build 200803031027)