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 164657 - StringIndexOutOfBoundsException: String index out of range: -640
Summary: StringIndexOutOfBoundsException: String index out of range: -640
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Model (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Shivanand Kini
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 08:59 UTC by 88250
Modified: 2016-07-07 09:56 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 7566


Attachments
stacktrace (2.89 KB, text/plain)
2009-05-07 09:00 UTC, 88250
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 88250 2009-05-07 08:59:53 UTC
Build: NetBeans IDE 6.5.1 (Build 200903060201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, i386

User Comments:
westberg: I tried to validate a WSDL file.

nbertram: Added the Jira v2 RCP/Encoded WSDL to the BPEL project and updated the soap:enc namespace to point to local schme file "encoding.xsd". Clicked on validate WSDL where the validation never finishes with any status message but th netbeans log shows error as above.

GUEST: wbservice wsdl geschrieben, validiert, attribut zu einem complextype hinzugef�gt

GUEST: Validating a wsdl file using the validate xml icon in wsdl toolbar

88250: Occurs while building BPEL Module

GUEST: WSDL Validation

GUEST: I was validating a WSDL file

GUEST: Validated a JAXWS 2.1.3 generated WSDL with xsd imports.

GUEST: Validating a WSDL file.

GUEST: i create big WSDL file by hands

GUEST: WSDL validation!



Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -640
        at java.lang.String.substring(String.java:1938)
        at org.netbeans.modules.xml.wsdl.validator.WSDLInlineSchemaValidator.createInlineSchemaSource(WSDLInlineSchemaValidator.java:276)
        at org.netbeans.modules.xml.wsdl.validator.WSDLInlineSchemaValidator.validate(WSDLInlineSchemaValidator.java:104)
        at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:95)
        at org.netbeans.modules.xml.wsdl.validator.visitor.WSDLSemanticsVisitor.visit(WSDLSemanticsVisitor.java:730)
        at org.netbeans.modules.xml.wsdl.model.impl.ImportImpl.accept(ImportImpl.java:74)
Comment 1 88250 2009-05-07 09:00:04 UTC
Created attachment 81705 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 09:56:14 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