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 236677 - AssertionError: CssStackItem[state=RULE_FINISHED,indent=-1,processed=false]
Summary: AssertionError: CssStackItem[state=RULE_FINISHED,indent=-1,processed=false]
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-03 06:16 UTC by Exceptions Reporter
Modified: 2015-06-26 11:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 204334


Attachments
stacktrace (4.03 KB, text/plain)
2013-10-03 06:16 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-10-03 06:16:09 UTC
This bug was originally marked as duplicate of bug 230245, 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 201309250002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
GUEST: Can't instert CR after closing curly bracket in scss.

GUEST: Apparently, you can't add new lines of CSS code.

GUEST: Trying to add code to a LESS file... pressed enter at the end of a line and it  gave this error.

GUEST: Tried to adjust a scss file

GUEST: Problem with hitting return in a scss file. Mac 10.8.5

GUEST: Edditing a scss file.

GUEST: Add:

.sf-accordion-toggle a#superfish-1-toggle {}

Insert CR between curly braces.

GUEST: just copied a Compass Mixin to my scss file. recieved this error

GUEST: Error when i press enter in the last line of a scss file in close tag

GUEST: In code 
h3{  
                    border: 0px; 
                    &:after{ content: ""; display: none} }
I pressed enter witch pointer btween { and word "content"

GUEST: This error only happens when adding new lines at the end of a CSS rule.

GUEST: Crashed when adding @todo to scss file.

GUEST: Tried to insert CR between opening curly brace and next selector on the same line.

GUEST: error produced by pressing enter in the last line of scss file




Stacktrace: 
java.lang.AssertionError: CssStackItem[state=RULE_FINISHED,indent=-1,processed=false]
   at org.netbeans.modules.css.editor.indent.CssIndenter.getLineIndent(CssIndenter.java:321)
   at org.netbeans.modules.web.indent.api.support.AbstractIndenter.processLanguage(AbstractIndenter.java:1197)
   at org.netbeans.modules.web.indent.api.support.AbstractIndenter.calculateIndentation(AbstractIndenter.java:349)
   at org.netbeans.modules.web.indent.api.support.AbstractIndenter.reindent(AbstractIndenter.java:209)
   at org.netbeans.modules.css.editor.indent.CssIndentTask.reindent(CssIndentTask.java:52)
   at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:546)
Comment 1 Exceptions Reporter 2013-10-03 06:16:11 UTC
Created attachment 140747 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-06-26 11:36:05 UTC
There haven't been a report for 2 years. Probably it is already fixed.