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.
1. Create new PHP project with default settings 2. Invoke properties for the php project 3. Change source folder to "C:\" f.e. 4. Press Ok. 5. wait more then 2 min. see process of indexing C:\ in status 6. Try to create new php project during indexing result 1. Exception java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:687) at org.netbeans.modules.html.editor.coloring.EmbeddingUpdater.startTag(EmbeddingUpdater.java:134) at org.netbeans.modules.html.editor.coloring.EmbeddingUpdater.parsingFinished(EmbeddingUpdater.java:120) at org.netbeans.editor.ext.html.parser.SyntaxParser.notifyParsingFinished(SyntaxParser.java:238) at org.netbeans.editor.ext.html.parser.SyntaxParser.parse(SyntaxParser.java:222) at org.netbeans.editor.ext.html.parser.SyntaxParser.access$200(SyntaxParser.java:69) at org.netbeans.editor.ext.html.parser.SyntaxParser$4.run(SyntaxParser.java:151) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) 2. Warning The file index-all.html seems to be too large .... And here is attached message.log
Created attachment 60219 [details] messages.log
Not the issue of PHP project but editor - so reassigning, please evaluate. One note - selecting C:\ as a source root is not valid use case IMHO. Adding Petr to CC because this issue could be interesting from the performance point of view.
I agree that C:\ is not valid folder. But I think that if user can do so threre should not be exceptions. Thank You for comments
The exception is from html lexer. This doesn't look like php problem. Marek, could you evaluate it?
*** This issue has been marked as a duplicate of 131552 ***
The number of next version is already known -> moving from TM Dev to 6.5
verfied in Build 20080429082942 no exception.