https://issues.apache.org/ooo/show_bug.cgi?id=125871

          Issue ID: 125871
        Issue Type: DEFECT
           Summary: Exporting PDF document fails one is 100 cases
           Product: Writer
           Version: 3.4.0
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: save-export
          Assignee: [email protected]
          Reporter: [email protected]

We  have open office 3.3,  we export n number of pdf file exports a day, the
pdf export fails or results in junk after generation of 100 or 200 exports.

We used below code snippet to store the document.
PropertyValue[] propertyvalue = new PropertyValue[ 2 ];
        propertyvalue[ 0 ] = new PropertyValue();
        propertyvalue[ 0 ].Name = "Overwrite";
        propertyvalue[ 0 ].Value = new Boolean(true);
        propertyvalue[ 1 ] = new PropertyValue();
        propertyvalue[ 1 ].Name = "FilterName";
        propertyvalue[ 1 ].Value =  "writer_pdf_Export"       ;


            xstorable.storeAsURL(targetDocName, propertyvalue );    



 It throws below exception :
-----------------------------
11/11/14 20:53:21.853 PST ERROR (Thread[ajp-bio-8007-exec-48,5,main])
[WordProcess] Error occured while saving word/pdf to a new url name  (s:null
c:null i:null)
com.sun.star.task.ErrorCodeIOException: 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at
com.sun.star.lib.uno.protocols.urp.Unmarshal.readExceptionValue(Unmarshal.java:464)
    at
com.sun.star.lib.uno.protocols.urp.Unmarshal.readAnyValue(Unmarshal.java:400)
    at
com.sun.star.lib.uno.protocols.urp.Unmarshal.readValue(Unmarshal.java:208)
    at com.sun.star.lib.uno.protocols.urp.urp.readReply(urp.java:190)
    at com.sun.star.lib.uno.protocols.urp.urp.readMessage(urp.java:312)
    at com.sun.star.lib.uno.protocols.urp.urp.readMessage(urp.java:624)
    at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.invoke(java_remote_bridge.java:185)
    at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:170)

 Pleas help us to understand the issue and resolving it.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to