https://bugs.documentfoundation.org/show_bug.cgi?id=153039
--- Comment #8 from Julien Nabet <[email protected]> --- On pc Debian x86-64 with master sources updated today, I got this on console: warn:uui:1087062:1087062:uui/source/iahndl.cxx:227: replaceMessageWithArguments: No arguments passed! warn:forms.xforms:1087062:1087062:forms/source/xforms/submission/replace.cxx:103: Exception during replace com.sun.star.xml.dom.DOMException message: "at /home/julien/lo/libreoffice/unoxml/source/dom/node.cxx:821" Code: (com.sun.star.xml.dom.DOMExceptionType) HIERARCHY_REQUEST_ERR Code: (com.sun.star.xml.dom.DOMExceptionType) HIERARCHY_REQUEST_ERR bt part corresponding to the moment when there's a pb with gdb trace: Thread 1 "soffice.bin" hit Breakpoint 1, DOM::CDocument::IsChildTypeAllowed (this=0x561dff046560, nodeType=com::sun::star::xml::dom::NodeType::NodeType_ELEMENT_NODE) at unoxml/source/dom/document.cxx:302 302 return nullptr == lcl_getDocumentRootPtr(m_aDocPtr); (gdb) p lcl_getDocumentRootPtr(m_aDocPtr) $1 = (xmlNode *) 0x0 (gdb) c Continuing. [New Thread 0x7fe1f27fe6c0 (LWP 1088681)] [Thread 0x7fe1f27fe6c0 (LWP 1088681) exited] Thread 1 "soffice.bin" hit Breakpoint 1, DOM::CDocument::IsChildTypeAllowed (this=0x561dfc31d260, nodeType=com::sun::star::xml::dom::NodeType::NodeType_ELEMENT_NODE) at unoxml/source/dom/document.cxx:302 302 return nullptr == lcl_getDocumentRootPtr(m_aDocPtr); (gdb) p lcl_getDocumentRootPtr(m_aDocPtr) $2 = (xmlNode *) 0x561dfc3b4700 (gdb) bt #0 DOM::CDocument::IsChildTypeAllowed(com::sun::star::xml::dom::NodeType) (this=0x561dfc31d260, nodeType=com::sun::star::xml::dom::NodeType::NodeType_ELEMENT_NODE) at unoxml/source/dom/document.cxx:302 #1 0x00007fe1f1f5adfa in DOM::CNode::replaceChild(com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&, com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&) (this=0x561dfc31d260, xNewChild=uno::Reference to (DOM::CElement *) 0x561dfdd847b8, xOldChild=uno::Reference to (DOM::CElement *) 0x561dfc3dcbc8) at unoxml/source/dom/node.cxx:820 #2 0x00007fe1f1f73e63 in DOM::CDocument::replaceChild(com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&, com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&) (this=0x561dfc31d260, newChild=uno::Reference to (DOM::CElement *) 0x561dfdd847b8, oldChild=uno::Reference to (DOM::CElement *) 0x561dfc3dcbc8) at unoxml/source/dom/document.hxx:313 #3 0x00007fe1f1f74a97 in non-virtual thunk to DOM::CDocument::replaceChild(com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&, com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode> const&) () at /home/julien/lo/libreoffice/instdir/program/../program/libunoxmllo.so #4 0x00007fe1d72559b8 in CSubmission::replace(std::basic_string_view<char16_t, std::char_traits<char16_t> >, com::sun::star::uno::Reference<com::sun::star::xml::dom::XDocument> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) (this=0x561dfee62440, aReplace=u"instance", aDocument=uno::Reference to (DOM::CDocument *) 0x561dfc31d2b8, aFrame=empty uno::Reference) at forms/source/xforms/submission/replace.cxx:89 #5 0x00007fe1d724c65a in xforms::Submission::doSubmit(com::sun::star::uno::Reference<com::sun::star::task::XInteractionHandler> const&) (this=0x561dfc3ab710, xHandler=uno::Reference to (svxform::FormController *) 0x561dfc5d1568) at forms/source/xforms/submission.cxx:251 #6 0x00007fe1d724de3a in xforms::Submission::submitWithInteraction(com::sun::star::uno::Reference<com::sun::star::task::XInteractionHandler> const&) (this=0x561dfc3ab710, _rxHandler=uno::Reference to (svxform::FormController *) 0x561dfc5d1568) at forms/source/xforms/submission.cxx:456 #7 0x00007fe1d6f2d81f in frm::OClickableImageBaseControl::implSubmit(com::sun::star::awt::MouseEvent const&, com::sun::star::uno::Reference<com::sun::star::task::XInteractionHandler> const&) (this=0x561dfda94c10, _rEvent=..., _rxHandler=uno::Reference to (svxform::FormController *) 0x561dfc5d1568) at forms/source/component/clickableimage.cxx:392 #8 0x00007fe1d6f2c25b in frm::OClickableImageBaseControl::actionPerformed_Impl(bool, com::sun::star::awt::MouseEvent const&) (this=0x561dfda94c10, bNotifyListener=false, rEvt=...) at forms/source/component/clickableimage.cxx:240 #9 0x00007fe1d6f09184 in frm::OButtonControl::actionPerformed_Impl(bool, com::sun::star::awt::MouseEvent const&) (this=0x561dfda94bf0, _bNotifyListener=false, _rEvt=...) at forms/source/component/Button.cxx:514 #10 0x00007fe1d6f08fb5 in frm::OButtonControl::OnClick(void*) (this=0x561dfda94bf0) at forms/source/component/Button.cxx:489 #11 0x00007fe1d6f087bd in frm::OButtonControl::LinkStubOnClick(void*, void*) (instance=0x561dfda94bf0, data=0x0) at forms/source/component/Button.cxx:440 #12 0x00007fe20d9d8b88 in Link<void*, void>::Call(void*) const (this=0x561dfd97cbc8, data=0x0) at include/tools/link.hxx:111 #13 0x00007fe20d9d4c39 in ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x561dfd97cbc0) at vcl/source/window/winproc.cxx:2287 #14 0x00007fe20d9d1791 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x561df903fd00, nEvent=SalEvent::UserEvent, pEvent=0x561dfd97cbc0) at vcl/source/window/winproc.cxx:2857 #15 0x00007fe20e638b20 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x561df8f35660, nEvent=SalEvent::UserEvent, pEvent=0x561dfd97cbc0) at vcl/inc/salframe.hxx:306 #16 0x00007fe20e665b9f in SalGenericDisplay::ProcessEvent(SalUserEventList::SalUserEvent) (this=0x561df8ebcfa0, aEvent=...) at vcl/unx/generic/app/gendisp.cxx:66 #17 0x00007fe20e1545dd in SalUserEventList::DispatchUserEvents(bool)::$_0::operator()() const (this=0x7ffe239b60c0) at vcl/source/app/salusereventlist.cxx:119 #18 0x00007fe20e1544a4 in SalUserEventList::DispatchUserEvents(bool) (this=0x561df8ebcfa0, bHandleAllCurrentEvents=false) at vcl/source/app/salusereventlist.cxx:120 #19 0x00007fe20e665af5 in SalGenericDisplay::DispatchInternalEvent(bool) (this=0x561df8ebcfa0, bHandleAllCurrentEvent=false) at vcl/unx/generic/app/gendisp.cxx:51 #20 0x00007fe204d7a8c6 in call_userEventFn(void*) (data=0x561df7261360) at vcl/unx/gtk3/gtkdata.cxx:824 #21 0x00007fe20971c67f in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007fe20971ca38 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007fe20971cacc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007fe204d793df in GtkSalData::Yield(bool, bool) (this=0x561df7261360, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtkdata.cxx:405 #25 0x00007fe204d7ecd3 in GtkInstance::DoYield(bool, bool) (this=0x561df7261210, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtkinst.cxx:431 #26 0x00007fe20e233b3f in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at vcl/source/app/svapp.cxx:475 #27 0x00007fe20e2334ab in Application::Yield() () at vcl/source/app/svapp.cxx:559 #28 0x00007fe20e23327f in Application::Execute() () at vcl/source/app/svapp.cxx:453 #29 0x00007fe21692b00b in desktop::Desktop::Main() (this=0x7ffe239b7e18) at desktop/source/app/app.cxx:1604 #30 0x00007fe20e256534 in ImplSVMain() () at vcl/source/app/svmain.cxx:203 #31 0x00007fe20e2581a9 in SVMain() () at vcl/source/app/svmain.cxx:235 #32 0x00007fe2169aaa63 in soffice_main() () at desktop/source/app/sofficemain.cxx:94 #33 0x0000561df716fa6d in sal_main () at desktop/source/app/main.c:51 #34 0x0000561df716fa47 in main (argc=3, argv=0x7ffe239b8028) at desktop/source/app/main.c:49 (gdb) Pavel: IMHO this bugtracker needs to be split since it quotes 2 different bugs. This one should concern "PUT Method is performed instead of POST". You can submit a brand new bugtracker concerning the bug 2. Now I must recognize I'm quite stuck and wonder whom to ping for this kind of bug. -- You are receiving this mail because: You are the assignee for the bug.
