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 223490

Summary: StringIndexOutOfBoundsException: String index out of range: -1
Product: editor Reporter: marco76
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 196263
Attachments: stacktrace

Description marco76 2012-12-07 15:56:34 UTC
Build: NetBeans IDE Dev (Build 201212070001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b02, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b07
OS: Mac OS X

Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.charAt(String.java:658)
   at org.netbeans.modules.parsing.impl.indexing.TimeStamps.getEnclosedFiles(TimeStamps.java:115)
   at org.netbeans.modules.parsing.impl.indexing.VisibilitySupport$SlidingTask.run(VisibilitySupport.java:252)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2043)
Comment 1 marco76 2012-12-07 15:56:36 UTC
Created attachment 129056 [details]
stacktrace
Comment 2 Tomas Zezula 2012-12-10 15:46:23 UTC
Fixed jet-main 11efaf81ab81
Comment 3 Quality Engineering 2012-12-12 02:48:28 UTC
Integrated into 'main-golden', will be available in build *201212120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/11efaf81ab81
User: Tomas Zezula <tzezula@netbeans.org>
Log: #223490:StringIndexOutOfBoundsException: String index out of range: -1