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 152138

Summary: [65cat] StringIndexOutOfBoundsException: String index out of range: -3477
Product: xml Reporter: sunbiz <sunbiz>
Component: WSDL ToolsAssignee: Shivanand Kini <skini>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=135106
Issue Type: DEFECT Exception Reporter: 135106
Attachments: stacktrace

Description sunbiz 2008-11-02 08:48:04 UTC
Build: NetBeans IDE Dev (Build 200810311401)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: Deleting Partner Link Type from WSDL Partnet tab and got this exception



Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -3477
        at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:881)
        at java.lang.StringBuilder.substring(StringBuilder.java:55)
        at org.netbeans.modules.xml.xam.dom.DocumentModelAccess.getXmlFragmentInclusive(DocumentModelAccess.java:171)
        at org.netbeans.modules.bpel.refactoring.Element.getPosition(Element.java:119)
        at org.netbeans.modules.refactoring.spi.RefactoringElementsBag.isGuarded(RefactoringElementsBag.java:198)
        at org.netbeans.modules.refactoring.spi.RefactoringElementsBag.add(RefactoringElementsBag.java:106)
Comment 1 sunbiz 2008-11-02 08:48:10 UTC
Created attachment 73077 [details]
stacktrace
Comment 2 Samaresh Panda 2008-11-18 21:21:33 UTC
Needs to be evaluated by wsdl team.
Comment 3 Quality Engineering 2015-02-04 03:37:33 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.