Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utility doesnt work in Windows due to a bug in StringUtils.java #26

Open
shamanthv6289 opened this issue Jan 8, 2020 · 1 comment
Open

Comments

@shamanthv6289
Copy link

Hi,
I see the below error when i try to run the utility. The issue seems to be due to line 39 in StringUtils.java which expects "/" instead of "" on windows machines.
wsdl2apigee_bug

Jan 08, 2020 1:54:40 AM com.apigee.proxywriter.GenerateProxy prepareTargetFolder
INFO: Target proxy folder setup complete
Jan 08, 2020 1:54:40 AM com.apigee.proxywriter.GenerateProxy begin
INFO: Read operations map
Jan 08, 2020 1:54:41 AM com.apigee.proxywriter.GenerateProxy begin
SEVERE: String index out of range: -1
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.apigee.utils.StringUtils.proxyNameAndBasePath(StringUtils.java:41)
at com.apigee.proxywriter.GenerateProxy.getWSDLDetails(GenerateProxy.java:2318)
at com.apigee.proxywriter.GenerateProxy.begin(GenerateProxy.java:2796)
at com.apigee.proxywriter.GenerateProxy.main(GenerateProxy.java:3103)

@manucr619
Copy link

Any update on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants