Created attachment 107465 [details] The file triggering the bug Steps to reproduce: 1. Open the document, allow macros Current behavior: Internal error Expected behavior: A working macro, or a different error
On pc Debian x86-64 with LO 4.3.2.2.0+ Debian package, I could reproduce this.
Created attachment 107526 [details] console bt On pc Debian x86-64 with master sources updated today, I even had a crash (might be related since with 4.3 sources updated yesterday, I had also a crash, however didn't check if it was the same bt).
Noel: one for you? (bt shows vbahelper part)
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()
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.6 or 5.2.3 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170103
I confirn that the bug is still present, same behavior. OpenSuse Leap 42.2 LibreOffice Version: 5.2.3.3 Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; Locale: en-US (en_US.UTF-8); Calc: CL
Thank you Marco for your feedback. (Version must correspond to the earliest one, so I reverted back version).
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I confirm that the bug is still present. Version: 5.4.4.2 Build ID: 2524958677847fb3bb44820e40380acbe820f960 CPU threads: 8; OS: Linux 4.4; UI render: default; VCL: kde4; Locale: en-US (en_US.UTF-8); Calc: CL
Marco: I suppose it works now with a recent LO version. Since there's no specific fix, let's put this one to WFM then.