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 178559 - Changing the HTTP Get WSDL to use "https" throws StringIndexOutOfBoundsException
Summary: Changing the HTTP Get WSDL to use "https" throws StringIndexOutOfBoundsException
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: HTTP BC (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Venkat Chellasamy
Depends on:
Reported: 2009-12-14 02:14 UTC by raghuvirkamath
Modified: 2009-12-14 02:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

screenshot (191.75 KB, image/jpeg)
2009-12-14 02:17 UTC, raghuvirkamath
message.log attached (66.80 KB, application/octet-stream)
2009-12-14 02:17 UTC, raghuvirkamath

Note You need to log in before you can comment on or make changes to this bug.
Description raghuvirkamath 2009-12-14 02:14:48 UTC
Build used :- 


Steps to reproduce :- 

1) Create a BPEL Process 

2) Create a HTTP Binding and "Get with urlEncoded encoding" 

3) Remain parts to input1 and output1 .

4) Wsdl is creating successfully. Go to source view 

5) Change the  <http:address > to use https 



6) Validate the WSDL using "Validate XML" button ( Alt + Shift + F9 )

Notice the Exception thrown . 

java.lang.StringIndexOutOfBoundsException: String index out of range: -11
	at java.lang.String.substring(
	at org.netbeans.modules.xml.wsdl.model.extensions.http.validation.HTTPComponentValidator.visit(
	at org.netbeans.modules.xml.wsdl.model.extensions.http.impl.HTTPAddressImpl.accept(
	at org.netbeans.modules.xml.wsdl.model.extensions.http.validation.HTTPComponentValidator.validate(
	at org.netbeans.modules.xml.xam.spi.Validation.validate(
	at org.netbeans.modules.xml.validation.ui.Output.validate(
	at org.netbeans.modules.xml.validation.ui.Output.validate(
	at org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLValidateXMLCookie.validateXML(
	at org.openide.util.RequestProcessor$
[catch] at org.openide.util.RequestProcessor$

Screenshot and message.log is attached.
Comment 1 raghuvirkamath 2009-12-14 02:17:17 UTC
Created attachment 92498 [details]
Comment 2 raghuvirkamath 2009-12-14 02:17:33 UTC
Created attachment 92499 [details]
message.log attached