Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#10 Export aborted in LibreOffice 4 on Windows 7 (32-bit)

v2.1.1
open
nobody
LibreOffice (1)
1
2013-08-13
2013-02-27
No

odt2daisy can be installed in LibreOffice 4.0 in a 32-bit version of Windows 7, but when exporting a document to DAISY XML or to Full DAISY, this results in the following error message: "odt2daisy - Internal error: Export Aborted - see log at ...".

Below is an example log (user name replaced with 'xxx'):

26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI <init>
FINE: entering
26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI saveAsXML
FINE: request a temporary file
26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI saveAsXML
FINE: tmpOdtUrl:C:\Users\xxx\AppData\Local\Temp\odt2daisy9045463452306538011.odt
26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI saveAsXML
FINE: tmpOdtUnoUrl:file:///C:/Users/xxx/AppData/Local/Temp/odt2daisy9045463452306538011.odt
26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI saveAsXML
FINE: save current document in ODT using UNO API
26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI saveAsXML
FINE: create and init odt2daisy
26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.Odt2Daisy init
FINE: entering
26-Feb-2013 12:56:07 com.versusoft.packages.jodl.OdtUtils open
FINE: entering
26-Feb-2013 12:56:07 com.versusoft.packages.jodl.OdtUtils replaceObjectContent
FINE: entering
26-Feb-2013 12:56:07 com.versusoft.packages.jodl.OdtUtils replaceObjectContent
FINE: done
26-Feb-2013 12:56:07 com.versusoft.packages.jodl.OdtUtils saveDOM
SEVERE: null
javax.xml.transform.TransformerException: java.lang.RuntimeException: Namespace for prefix 'officeooo' has not been declared.
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
    at com.versusoft.packages.jodl.OdtUtils.saveDOM(OdtUtils.java:1176)
    at com.versusoft.packages.jodl.OdtUtils.saveXML(OdtUtils.java:187)
    at com.versusoft.packages.ooo.odt2daisy.Odt2Daisy.init(Odt2Daisy.java:108)
    at com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI.saveAsXML(UnoGUI.java:248)
    at com.versusoft.packages.ooo.odt2daisy.addon.Odt2DaisyAddOn.dispatch(Odt2DaisyAddOn.java:132)
Caused by: java.lang.RuntimeException: Namespace for prefix 'officeooo' has not been declared.
    at com.sun.org.apache.xml.internal.serializer.SerializerBase.getNamespaceURI(Unknown Source)
    at com.sun.org.apache.xml.internal.serializer.SerializerBase.addAttribute(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown Source)
    ... 7 more
---------
java.lang.RuntimeException: Namespace for prefix 'officeooo' has not been declared.
    at com.sun.org.apache.xml.internal.serializer.SerializerBase.getNamespaceURI(Unknown Source)
    at com.sun.org.apache.xml.internal.serializer.SerializerBase.addAttribute(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
    at com.versusoft.packages.jodl.OdtUtils.saveDOM(OdtUtils.java:1176)
    at com.versusoft.packages.jodl.OdtUtils.saveXML(OdtUtils.java:187)
    at com.versusoft.packages.ooo.odt2daisy.Odt2Daisy.init(Odt2Daisy.java:108)
    at com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI.saveAsXML(UnoGUI.java:248)
    at com.versusoft.packages.ooo.odt2daisy.addon.Odt2DaisyAddOn.dispatch(Odt2DaisyAddOn.java:132)
26-Feb-2013 12:56:07 com.versusoft.packages.ooo.odt2daisy.Odt2Daisy preProcessing
FINE: entering
26-Feb-2013 12:56:09 com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI saveAsXML
SEVERE: null
java.lang.NullPointerException
    at com.versusoft.packages.ooo.odt2daisy.Odt2Daisy.getODTHeadingsCount(Odt2Daisy.java:512)
    at com.versusoft.packages.ooo.odt2daisy.Odt2Daisy.preProcessing(Odt2Daisy.java:124)
    at com.versusoft.packages.ooo.odt2daisy.Odt2Daisy.init(Odt2Daisy.java:110)
    at com.versusoft.packages.ooo.odt2daisy.addon.gui.UnoGUI.saveAsXML(UnoGUI.java:248)
    at com.versusoft.packages.ooo.odt2daisy.addon.Odt2DaisyAddOn.dispatch(Odt2DaisyAddOn.java:132)

Related

Bugs: #11

Discussion

  • Thanks for reporting this. The behaviour is slightly different because LibreOffice does not crash in this case, so I registered [bugs:#11] specifically for Apache OpenOffice.

     

    Related

    Bugs: #11