To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49388





------- Additional comments from [EMAIL PROTECTED] Wed May 18 08:10:51 -0700 
2005 -------
When executing the BeanShell macro from the attached uno package as described
above, 
a java.lang.NullPointerException is thrown. The reason is, that the macro tries
to get
the XTextDocument interface from the current document, which is null.
Invoking macros from commandline is done asynchronously, which means that the
macro might run before the document is fully loaded.
For testing purposes this problem can be avoided by starting an office
(.\soffice.exe),
creating a new text document and then running the macro as described above.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to