https://bugs.freedesktop.org/show_bug.cgi?id=61015
Priority: medium
Bug ID: 61015
Assignee: [email protected]
Summary: Macros: HelloWorld example don't work
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 3.6.5.2 release
Component: BASIC
Product: LibreOffice
Problem description:
Running any Hello World macros (except Python one since fdo#60670) don't work
when launched from other application than Writer.
Steps to reproduce:
1. Open Calc
2. Menu Tools/Macros/Run Macro
3. Select in left panel LibreOfficeMacros/HelloWorld
4. Select in right panel any macro except Python one
Current behavior:
Error message (depending on the macro)
eg for js macro:
A Scripting Framework error occurred while running the JavaScript script
helloworld.js.
Message: Cannot read property "getText" from null
java stack trace:
com.sun.star.script.provider.ScriptFrameworkErrorException: Cannot read
property "getText" from null
at
com.sun.star.script.framework.provider.javascript.ScriptImpl.invoke(ScriptProviderForJavaScript.java:310)
Expected behavior:
"Hello world" displayed in a Writer file (like with Python macro)
Again, every macro work if launched from Writer
Operating System: Debian
Version: 3.6.5.2 release
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs