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 204222 - AssertionError: start=28 newStart=11 jts=JoinedTokenSequence[ContextDataTokenSequence[CURRENT,ts=TokenSequence for text/x-php5/text/html at tokenIndex=0. TokenList contains 1 tokens: *[0]: "u" <11,12>
Summary: AssertionError: start=28 newStart=11 jts=JoinedTokenSequence[ContextDataToken...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
: 195850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-25 15:06 UTC by fresler
Modified: 2012-04-20 10:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181933


Attachments
stacktrace (4.16 KB, text/plain)
2011-10-25 15:06 UTC, fresler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fresler 2011-10-25 15:06:51 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-383, Java(TM) SE Runtime Environment, 1.6.0_26-b03-383-11A511
OS: Mac OS X

User Comments:
fresler: I was pressing the return key.

fresler: Just typing in a script.




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

,virtual=false]]
   at org.netbeans.modules.web.indent.api.support.AbstractIndenter.calculateIndentation(AbstractIndenter.java:314)
   at org.netbeans.modules.web.indent.api.support.AbstractIndenter.reindent(AbstractIndenter.java:209)
   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:291)
Comment 1 fresler 2011-10-25 15:06:54 UTC
Created attachment 112411 [details]
stacktrace
Comment 2 David Konecny 2012-04-17 23:29:05 UTC
*** Bug 195850 has been marked as a duplicate of this bug. ***
Comment 3 David Konecny 2012-04-19 03:58:49 UTC
0a1bd50257a6
Comment 4 Quality Engineering 2012-04-20 10:11:41 UTC
Integrated into 'main-golden', will be available in build *201204200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0a1bd50257a6
User: David Konecny <dkonecny@netbeans.org>
Log: #204222 - AssertionError