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 253986 - NullPointerException at org.netbeans.modules.css.editor.csl.CssCompletion.completeIdSelectors
Summary: NullPointerException at org.netbeans.modules.css.editor.csl.CssCompletion.com...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 254706 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-30 11:06 UTC by Exceptions Reporter
Modified: 2015-09-07 12:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218868


Attachments
stacktrace (2.34 KB, text/plain)
2015-07-30 11:06 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-07-30 11:06:15 UTC
This bug was originally marked as duplicate of bug 241415, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-179-on-20150730)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
GUEST: was just typing a simple line and got this error

.navbar-fixed-top{
    border-bottom:1px solid #
}




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.css.editor.csl.CssCompletion.completeIdSelectors(CssCompletion.java:962)
   at org.netbeans.modules.css.editor.csl.CssCompletion.complete(CssCompletion.java:254)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.addCodeCompletionItems(GsfCompletionProvider.java:623)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveCompletion(GsfCompletionProvider.java:610)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.access$400(GsfCompletionProvider.java:250)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery$1.run(GsfCompletionProvider.java:336)
Comment 1 Exceptions Reporter 2015-07-30 11:06:18 UTC
Created attachment 155049 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-07-30 13:45:41 UTC
http://hg.netbeans.org/web-main/rev/f90687c67af5
Comment 3 Quality Engineering 2015-07-31 01:50:48 UTC
Integrated into 'main-silver', will be available in build *201507310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f90687c67af5
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #253986 - NullPointerException at org.netbeans.modules.css.editor.csl.CssCompletion.completeIdSelectors
Comment 4 Milutin Kristofic 2015-08-25 13:06:16 UTC
*** Bug 254706 has been marked as a duplicate of this bug. ***
Comment 5 muellermi 2015-09-07 09:23:03 UTC
Due to the date the comment from quality engineering, this bust must be fixed in 8.1 beat.
But it is still there :(

#792517 #218868

--> reopened

I'm going to check with the lasted nightly build...
Comment 6 Milutin Kristofic 2015-09-07 09:28:43 UTC
No, the patch is not in 8.1 beta http://hg.netbeans.org/releases/file/37fc29481ec4/css.editor/src/org/netbeans/modules/css/editor/csl/CssCompletion.java 

8.1 beta was delayed so there are missing like 7 days of changes in build. Dates are misleading.
Comment 7 muellermi 2015-09-07 12:46:10 UTC
After a few hours working with the latest build, this bug did not appear again.

But integrated into main silver on 2015-07-31 whilst Beta 8.1 is from mid of 2015-08 and still contains this bug.
Comment 8 muellermi 2015-09-07 12:47:56 UTC
> No, the patch is not in 8.1 beta http://hg.netbeans.org/releases/file/37fc29481ec4/css.editor/src/org/netbeans/modules/css/editor/csl/CssCompletion.java 
> 8.1 beta was delayed so there are missing like 7 days of changes in build. Dates are misleading.

This explains why the bug isn't in latest buil, but in beta.