0

when I try to save ballerina code create using composer flowing error occur.

SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL

How I solve this problem?

Abimaran Kugathasan
  • 31,165
  • 11
  • 75
  • 105
Gihan Chathuranga
  • 442
  • 10
  • 16
  • Can you please specify operating system you have used? – Tharik Kanaka Jul 24 '17 at 04:47
  • Microsoft Windows 8.1 – Gihan Chathuranga Jul 24 '17 at 05:25
  • I tried with my Windows 7 instance but unfortunately could not reproduce this behaviour. Could you please explain the situation bit more. is it happening for a particular .bal code or is it happening for all? If its a particular .bal please provide the code. is it fresh 0.90 pack or did you apply any patch on it? If its a bug, we can raise a github issue on github compose repository. – Tharik Kanaka Jul 25 '17 at 03:57

2 Answers2

1

recheck environment variable for ballerina bin path.

dilansalinda
  • 101
  • 2
  • 12
0

This might be due to the file service connection being closed by the OS after being idle for sometime. This connection closing can happen unexpectedly and if the issue reproduces frequently, please create an issue at composer issues

Nadeeshaan
  • 356
  • 5
  • 15