Issue 25820 - macro from command line crashes OO
Summary: macro from command line crashes OO
Status: CLOSED DUPLICATE of issue 22670
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC5
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: joerg.skottke
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 08:31 UTC by amoroder2
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Report created by OOo on crash (222.06 KB, text/plain)
2004-02-24 08:32 UTC, amoroder2
no flags Details
standard module with the macro inthere (2.36 KB, application/octet-stream)
2004-02-25 20:10 UTC, amoroder2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description amoroder2 2004-02-24 08:31:19 UTC
Hello,

I start a macro from command line and OOo crashes.
I will attach the report created at the crash.
Thanks 
Andreas
Comment 1 amoroder2 2004-02-24 08:32:20 UTC
Created attachment 13377 [details]
Report created by OOo on crash
Comment 2 flibby05 2004-02-24 09:17:36 UTC
Hello, thank you for using and supporting OpenOffice.org!

Could you please also attach the macro which causes the crash?

It is easier then to reproduce the problem.
Comment 3 amoroder2 2004-02-25 20:10:44 UTC
Created attachment 13435 [details]
standard module with the macro inthere
Comment 4 amoroder2 2004-02-25 20:12:25 UTC
start the macro with 
soffice "macro:///standard.module1.ParmToPDF(1)
it crahes after the msgbxo in 	
oDoc.storeToURL( cURL, Array(MakePropertyValue( "FilterName",
"writer_pdf_Export" )))

Comment 5 amoroder2 2004-02-25 20:44:03 UTC
The macro opens a template,
thetemplate has textfields inthere
opens a file c:\temp\test.ini
The files is compose of lines of the type
fieldname=value

For each textfield in the template the macro searches the lines loaded from the
init and substitutes the textfield values with the value from the ini file.
Comment 6 jack.warchold 2004-03-03 12:28:10 UTC
set target OOo later
Comment 7 amoroder2 2004-03-06 07:48:33 UTC
Hello,

it does not crash if another document is open at the time the macro runs.

Bye
Comment 8 amoroder2 2004-03-06 09:17:46 UTC
it does also work with no other open document if i don't load the document with
the hidden=true parameter

summarized:

CRASH with hidden=true AND no other document open


Bye
Andreas 
Comment 9 amoroder2 2004-03-06 09:27:06 UTC
Hello,

this issue seems to be the same as 22670

Bye
Comment 10 h.ilter 2004-03-16 13:23:33 UTC
Reassigned to JSK
Comment 11 joerg.skottke 2004-03-17 09:38:41 UTC
Yes, this appears to be a dupe to issue 22670

*** This issue has been marked as a duplicate of 22670 ***
Comment 12 joerg.skottke 2004-06-16 09:00:27 UTC
close