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

--- Comment #4 from Julien Nabet <serval2...@yahoo.fr> ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

After some investigation, the problem seems here:
#0  0x00002aaacfb50fe8 in ScDataPilotTablesObj::hasByName(rtl::OUString const&)
(this=0x361de90, aName="Tabella_pivot")
    at
/home/julien/compile-libreoffice/libreoffice/sc/source/ui/unoobj/dapiuno.cxx:568
#1  0x00002aaacfb4fc85 in
ScDataPilotTablesObj::GetObjectByName_Impl(rtl::OUString const&)
(this=0x361de90, rName="Tabella_pivot")
    at
/home/julien/compile-libreoffice/libreoffice/sc/source/ui/unoobj/dapiuno.cxx:342
#2  0x00002aaacfb50c01 in ScDataPilotTablesObj::getByName(rtl::OUString const&)
(this=0x361de90, aName="Tabella_pivot")
    at
/home/julien/compile-libreoffice/libreoffice/sc/source/ui/unoobj/dapiuno.cxx:513
#3  0x00002aaadb752ca0 in
ScVbaCollectionBase<cppu::WeakImplHelper<ooo::vba::excel::XPivotTables>
>::getItemByStringIndex(rtl::OUString const&) (this=0x35f2800,
sIndex="Tabella_pivot") at
/home/julien/compile-libreoffice/libreoffice/include/vbahelper/vbacollectionimpl.hxx:253
#4  0x00002aaadb7531dc in
ScVbaCollectionBase<cppu::WeakImplHelper<ooo::vba::excel::XPivotTables>
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
(this=0x35f2800, Index1=uno::Any "Tabella_pivot") at
/home/julien/compile-libreoffice/libreoffice/include/vbahelper/vbacollectionimpl.hxx:301
#5  0x00002aaadb7c76f0 in ScVbaWorksheet::PivotTables(com::sun::star::uno::Any
const&) (this=0x2f7f980, Index=uno::Any "Tabella_pivot")
    at
/home/julien/compile-libreoffice/libreoffice/sc/source/ui/vba/vbaworksheet.cxx:762

pColl is empty, so ScDataPilotTablesObj::hasByName returns false
ScDataPilotTablesObj::GetObjectByName_Impl returns 0
ScDataPilotTablesObj::getByName throws NoSuchElementException()

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to