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 252690

Summary: StringIndexOutOfBoundsException: String index out of range: -1
Product: xml Reporter: Exceptions Reporter <exceptions_reporter>
Component: RetrieverAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: normal CC: mdaniel
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217624
Attachments: stacktrace

Description Exceptions Reporter 2015-05-29 16:10:56 UTC
This bug was originally marked as duplicate of bug 142970, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
GUEST: I don't know what caused this.

mdaniel: Tried to use the "Import External XSD schema" for a filesystem path; not certain why it is unhappy




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1955)
   at org.netbeans.modules.xml.retriever.impl.RetrieverEngineImpl.pullRecursively(RetrieverEngineImpl.java:175)
   at org.netbeans.modules.xml.retriever.impl.RetrieverEngineImpl.run(RetrieverEngineImpl.java:157)
   at java.lang.Thread.run(Thread.java:745)
Comment 1 Exceptions Reporter 2015-05-29 16:10:58 UTC
Created attachment 153957 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 09:56:53 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss