<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception - Similar to #115710"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131516#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception - Similar to #115710"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131516">bug 131516</a>
from <span class="vcard"><a class="email" href="mailto:Eyeillus@gmail.com" title="Eyeillus@gmail.com">Eyeillus@gmail.com</a>
</span></b>
<pre>I get this, too - but it only gives me an error when I go to https addresses,
not http. I don't think it's limited to macros, either - I get an error when I
use https in WEBSERVICE in a spreadsheet, and not when I use http in WEBSERVICE
in a spreadsheet.
An example in macro-land:
```
result = svc.callFunction("WEBSERVICE",Array("<a href="http://google.com">http://google.com</a>"))
ThisComponent.Sheets(0).getCellRangeByName("$A$1").setString(result)
result = svc.callFunction("WEBSERVICE",Array("<a href="https://google.com">https://google.com</a>")) rem ERROR
ThisComponent.Sheets(0).getCellRangeByName("$A$2").setString(result)
```
I get an error on the second WEBSERVICE call, but the first finishes correctly.
The error is:
```
BASIC runtime error.
An exception occurred
Type: com.sun.star.lang.IllegalArgumentException
Message: /home/buildslave/source/libo-core/sc/source/ui/unoobj/funcuno.cxx
```
...which isn't *super* helpful.
Anyway, that might explain why Fede got the error and Buovjaga didn't.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>