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: [email protected]
Reporter: [email protected]
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs