https://bugs.documentfoundation.org/show_bug.cgi?id=99273

--- Comment #4 from [email protected] ---
The direct cause is a exception in SwXTextFrame::createTextCursor.

        if(!pNewStartNode || pNewStartNode != pOwnStartNode)
        {
            uno::RuntimeException aExcept;
            aExcept.Message = "no text available";
            throw aExcept;
        }

backtrace:
#0  0x00007fb4e54f48bd in __cxa_throw () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007fb4a04872cb in SwXTextFrame::createTextCursor (this=0x7fb498687618)
    at /libreoffice/sw/source/core/unocore/unoframe.cxx:3257
#2  0x00007fb4a0486ff9 in SwXTextFrame::CreateCursor (this=0x7fb498687618)
    at /libreoffice/sw/source/core/unocore/unoframe.cxx:3223
#3  0x00007fb4a05c041a in SwXText::getString (this=0x7fb498687658)
    at /libreoffice/sw/source/core/unocore/unotext.cxx:900
#4  0x00007fb4dc11b945 in XMLShapeExport::collectShapeAutoStyles
(this=0x2e1fa90, xShape=...)
    at /libreoffice/xmloff/source/draw/shapeexport.cxx:307
#5  0x00007fb4dc34357c in XMLTextParagraphExport::exportAnyTextFrame
(this=0x300e330, rTxtCntnt=..., eType=XMLTextParagraphExport::FrameType::Shape, 
    bAutoStyles=true, bIsProgress=false, bExportContent=true,
pRangePropSet=0x0)
    at /libreoffice/xmloff/source/text/txtparae.cxx:2803
#6  0x00007fb4dc34a5f7 in XMLTextParagraphExport::exportShape (this=0x300e330,
rTextContent=..., bAutoStyles=true, pRangePropSet=0x0)
    at /libreoffice/include/xmloff/txtparae.hxx:638
#7  0x00007fb4dc33e053 in XMLTextParagraphExport::exportTextContentEnumeration
(this=0x300e330, rContEnum=..., bAutoStyles=true, rBaseSection=..., 
    bIsProgress=true, bExportParagraph=true, pRangePropSet=0x0,
bExportLevels=true, eExtensionNS=TextPNS::ODF)
    at /libreoffice/xmloff/source/text/txtparae.cxx:1865
#8  0x00007fb4dc33f3b3 in XMLTextParagraphExport::exportParagraph
(this=0x300e330, rTextContent=..., bAutoStyles=true, bIsProgress=true,
bExportParagraph=true, 
    rPropSetHelper=..., eExtensionNS=TextPNS::ODF)
    at /libreoffice/xmloff/source/text/txtparae.cxx:2133
#9  0x00007fb4dc33dd0a in XMLTextParagraphExport::exportTextContentEnumeration
(this=0x300e330, rContEnum=..., bAutoStyles=true, rBaseSection=..., 
    bIsProgress=true, bExportParagraph=true, pRangePropSet=0x0,
bExportLevels=true, eExtensionNS=TextPNS::ODF)
    at /libreoffice/xmloff/source/text/txtparae.cxx:1818
#10 0x00007fb4dc33d4a4 in XMLTextParagraphExport::exportText (this=0x300e330,
rText=..., bAutoStyles=true, bIsProgress=true, bExportParagraph=true, 
    eExtensionNS=TextPNS::ODF) at
/libreoffice/xmloff/source/text/txtparae.cxx:1690
#11 0x00007fb4dc10b02c in XMLTextParagraphExport::collectTextAutoStyles
(this=0x300e330, rText=..., bIsProgress=true, bExportParagraph=true)
    at /libreoffice/include/xmloff/txtparae.hxx:509
#12 0x00007fb4dc2e4537 in XMLTextMasterPageExport::exportHeaderFooterContent
(this=0x1e58a70, rText=..., bAutoStyles=true, bExportParagraph=true)
    at /libreoffice/xmloff/source/text/XMLTextMasterPageExport.cxx:68
#13 0x00007fb4dc2e498c in XMLTextMasterPageExport::exportMasterPageContent
(this=0x1e58a70, rPropSet=..., bAutoStyles=true)
    at /libreoffice/xmloff/source/text/XMLTextMasterPageExport.cxx:112
#14 0x00007fb4dc228b9e in XMLPageExport::exportStyle (this=0x1e58a70,
rStyle=..., bAutoStyles=true)
    at /libreoffice/xmloff/source/style/XMLPageExport.cxx:107
#15 0x00007fb4dc229ae5 in XMLPageExport::exportStyles (this=0x1e58a70,
bUsed=false, bAutoStyles=true)
    at /libreoffice/xmloff/source/style/XMLPageExport.cxx:208
#16 0x00007fb4a0700b56 in XMLPageExport::collectAutoStyles (this=0x1e58a70,
bUsed=false)
    at /libreoffice/include/xmloff/XMLPageExport.hxx:90
#17 0x00007fb4a07001f0 in SwXMLExport::ExportAutoStyles_ (this=0x7fb4acc2fe10)
    at /libreoffice/sw/source/filter/xml/xmlfmte.cxx:197
#18 0x00007fb4dc0a1c12 in SvXMLExport::ImplExportAutoStyles
(this=0x7fb4acc2fe10)
    at /libreoffice/xmloff/source/core/xmlexp.cxx:1185
#19 0x00007fb4dc0a2d1c in SvXMLExport::exportDoc (this=0x7fb4acc2fe10,
eClass=xmloff::token::XML_TEXT)
    at /libreoffice/xmloff/source/core/xmlexp.cxx:1442
#20 0x00007fb4a06f384a in SwXMLExport::exportDoc (this=0x7fb4acc2fe10,
eClass=xmloff::token::XML_TEXT)
    at /libreoffice/sw/source/filter/xml/xmlexp.cxx:297
#21 0x00007fb4dc09fdd1 in SvXMLExport::filter (this=0x7fb4acc2fe10,
aDescriptor=...)
    at /libreoffice/xmloff/source/core/xmlexp.cxx:841

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to