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 7.0 Beta (Build 201011152355) VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04 OS: Linux User Comments: GUEST: Used a code template with a parameter in an HTML file. tcsizmadia: entered a variable in an editor window (editing a PHP-file). GUEST: Autocompleting Zend Framework methods in a big php project (no Netbeans' Zend Project) jonavogt: Acceptet Codecompletion GUEST: modelos de codgio synergie-consulting: Intelicence during writing "Database" Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:686) at org.netbeans.modules.php.editor.indent.TokenFormatter$1.run(TokenFormatter.java:1223) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:314) at org.netbeans.modules.php.editor.indent.TokenFormatter.reformat(TokenFormatter.java:346) at org.netbeans.modules.php.editor.indent.PHPFormatter.reformat(PHPFormatter.java:129) at org.netbeans.modules.csl.core.GsfReformatTask$1.run(GsfReformatTask.java:105)
Created attachment 103432 [details] stacktrace
138 dups -> P1
I expect that this is already fixed, because the reports are coming only from beta, do dev builds.