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 196086 - AssertionError: start=124 newStart=110 jts=JoinedTokenSequence[ContextDataTokenSequence[CURRENT,ts=TokenSequence for text/x-php5/text/html at tokenIndex=0. TokenList contains 1 tokens: *[0]: <null-tex
Summary: AssertionError: start=124 newStart=110 jts=JoinedTokenSequence[ContextDataTok...
Status: RESOLVED DUPLICATE of bug 195850
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 09:45 UTC by Vladimir Riha
Modified: 2011-02-28 09:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 177107


Attachments
stacktrace (4.18 KB, text/plain)
2011-02-28 09:45 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-02-28 09:45:38 UTC
Build: NetBeans IDE Dev (Build 201102280001)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows XP

User Comments:
vriha: Just in case, this is the same as Bug 195850

What caused it:
1. Create new default php project
2. Create new php file
3. Type function moje(){} on the line before ?>
4. Hit enter several times with cursor having between {} brackets

The code highlighting was working




Stacktrace: 
java.lang.AssertionError: start=124 newStart=110 jts=JoinedTokenSequence[ContextDataTokenSequence[CURRENT,ts=TokenSequence for text/x-php5/text/html at tokenIndex=0. TokenList contains 1 tokens:
*[0]: <null-text> <110,111> TEXT[0] DefT, la=1, st=State(hash=4343092,s=1,ss=0,es=0,tag=null,attr=null), IHC=6314510

,virtual=false]]
   at org.netbeans.modules.css.formatting.api.support.AbstractIndenter.calculateIndentation(AbstractIndenter.java:303)
   at org.netbeans.modules.css.formatting.api.support.AbstractIndenter.reindent(AbstractIndenter.java:201)
   at org.netbeans.modules.html.editor.indent.HtmlIndentTask.reindent(HtmlIndentTask.java:74)
   at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:546)
   at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:316)
   at org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:281)
Comment 1 Vladimir Riha 2011-02-28 09:45:42 UTC
Created attachment 106531 [details]
stacktrace
Comment 2 Vladimir Riha 2011-02-28 09:53:06 UTC

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