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.
Summary: | IllegalArgumentException: indent=-7 < 0 | ||
---|---|---|---|
Product: | contrib | Reporter: | misterm <misterm> |
Component: | Scala | Assignee: | _ dcaoyuan <dcaoyuan> |
Status: | STARTED --- | ||
Severity: | blocker | CC: | buzzword, mcamou |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=120997 | ||
Issue Type: | DEFECT | Exception Reporter: | 120997 |
Attachments: |
stacktrace
stacktrace |
Description
misterm
2008-10-16 06:32:42 UTC
Created attachment 72033 [details]
stacktrace
Build: NetBeans IDE Dev (Build 200811260201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: Writing scala code. Pressing enter to define a new lazy val in an object. Stacktrace: java.lang.IllegalArgumentException: indent=-8 < 0 at org.netbeans.modules.editor.indent.api.IndentUtils.createIndentString(IndentUtils.java:200) at org.netbeans.modules.editor.indent.spi.Context.modifyIndent(Context.java:177) at org.netbeans.modules.scala.editing.ScalaFormatter$1.run(ScalaFormatter.java:310) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:294) at org.netbeans.modules.scala.editing.ScalaFormatter.reindent(ScalaFormatter.java:267) at org.netbeans.modules.scala.editing.ScalaFormatter.reindent(ScalaFormatter.java:140) Created attachment 74663 [details]
stacktrace
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=120997 Quick fix: rev/48024b4d0178 |