[Libreoffice-bugs] [Bug 131516] Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception - Similar to #115710

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 20 23:50:25 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=131516

--- Comment #2 from Eyeillus at gmail.com ---
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("http://google.com"))
ThisComponent.Sheets(0).getCellRangeByName("$A$1").setString(result)
result = svc.callFunction("WEBSERVICE",Array("https://google.com")) 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210320/22a2eb79/attachment.htm>


More information about the Libreoffice-bugs mailing list