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.
Build: NetBeans IDE 6.5 RC2 (Build 200810270001) VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237 OS: Mac OS X, 10.5.5, i386 Stacktrace: java.lang.IllegalArgumentException: indent=-32 < 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$.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 73680 [details] stacktrace
Can you provide steps to reproduce, please? Thanks
Reassigning to languages/scala since the formatter impl passes wrong indent value.
This issue already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=138746