[Libreoffice-bugs] [Bug 118987] New: Same as Bug 115710 in LibreOffice 6.0.5.2 (x64) - Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 29 17:28:39 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118987
Bug ID: 118987
Summary: Same as Bug 115710 in LibreOffice 6.0.5.2 (x64) - Use
of WEBSERVICE within a macro in CALC raises an
"Illegal argument" exception
Product: LibreOffice
Version: 6.0.5.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: felix.linke at gmail.com
Description:
Calling WEBSERVICE from a Basic macro will cause sometimes an exception:
BASIC runtime error.
An exception ocurred
Type: com.sun.star.lang.IllegalArgumentExceptionMessage;.
The exception seems to depend on the Website-URL. The following macro hopefully
can reproduce the bug:
Sub MainTest
Dim i As Integer
i=0
For i=0 To 100
svc = createUnoService( "com.sun.star.sheet.FunctionAccess" )
'Create a service to use Calc functions
XML_String =
svc.callFunction("WEBSERVICE",array("https://quotes.wsj.com/AUO/financials"))
Next
End Sub
This macro was assigned to a button and ran when the button is pushed. The
exception appeared at i=18.
Steps to Reproduce:
1. Assign above stated macro "MainTest" to a button
2. Run it
3. Wait
Actual Results:
BASIC runtime error.
An exception ocurred
Type: com.sun.star.lang.IllegalArgumentExceptionMessage;.
Expected Results:
Properly rendered Website code in XML_String
Reproducible: Always
User Profile Reset: No
Additional Info:
--
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/20180729/8dcba752/attachment.html>
More information about the Libreoffice-bugs
mailing list