Bug 48634 - FILEOPEN: Import Excel VBA basic runtime error
Summary: FILEOPEN: Import Excel VBA basic runtime error
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL: https://www.dropbox.com/s/gbgzfte6j4j...
Whiteboard: BSA target:6.4.0
Keywords:
Depends on:
Blocks: Macro-VBA
  Show dependency treegraph
 
Reported: 2012-04-13 00:07 UTC by brajalle
Modified: 2023-04-29 03:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
xls spreadsheet (2.42 MB, application/vnd.ms-excel)
2014-05-20 16:58 UTC, Elias K Gardner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brajalle 2012-04-13 00:07:47 UTC
Problem description: Opening Excel spreadsheet with VBA macros results in message - BASIC runtime error '423' find control.  Macro attempts to call a DeleteControl but apparently fails.  Works in Excel fine.

Steps to reproduce:
1. Open Excel file in LibreOffice
2. Allow Macros
3. Error message pops up on both open of file and close.

Current behavior:  Error message pops up

Expected behavior:  Proper macro call and no error message

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.15 Safari/536.5
Comment 1 Sören 2012-08-14 14:47:40 UTC
Could you please attach a file, in which the problem occurs?
Comment 2 Joel Madero 2013-05-28 15:37:47 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2013-07-08 21:20:58 UTC Comment hidden (obsolete)
Comment 4 Elias K Gardner 2014-05-20 16:58:22 UTC
Created attachment 99432 [details]
xls spreadsheet

This file causes the BASIC runtime error. '423' FindControl
Comment 5 Elias K Gardner 2014-05-20 17:00:31 UTC
I just attached a document that causes this error in LibreOffice Version: 4.2.3.3
Build ID: 420m0(Build:3) on Ubuntu 14.04 x64.

Not sure if its appropriate to reopen this old bug but it appears to be the exact same error.

I'm happy to help in any way I can.

What does the error even mean?
Comment 6 Joel Madero 2014-11-05 23:59:58 UTC
Never confirmed by QA team - moving to UNCONFIRMED to get confirmation. Thanks
Comment 7 Buovjaga 2014-11-16 11:09:30 UTC
(In reply to Elias K Gardner from comment #4)
> Created attachment 99432 [details]
> xls spreadsheet
> 
> This file causes the BASIC runtime error. '423' FindControl

BASIC runtime error.
'1'

Type: com.sun.star.uno.DeploymentException
Message: component context fails to supply singleton com.sun.star.ui.theModuleUIConfigurationManagerSupplier of type com.sun.star.ui.XModuleUIConfigurationManagerSupplier

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 8 brajalle 2014-11-17 10:52:30 UTC
Added original file dropbox URL - https://www.dropbox.com/s/gbgzfte6j4jo1mb/Financials%20Projections%20Template.xls?dl=0
Comment 9 Buovjaga 2014-11-17 12:11:42 UTC
(In reply to brajalle from comment #8)
> Added original file dropbox URL -
> https://www.dropbox.com/s/gbgzfte6j4jo1mb/
> Financials%20Projections%20Template.xls?dl=0

Same message:

BASIC runtime error.
'1'

Type: com.sun.star.uno.DeploymentException
Message: component context fails to supply singleton com.sun.star.ui.theModuleUIConfigurationManagerSupplier of type com.sun.star.ui.XModuleUIConfigurationManagerSupplier

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 10 QA Administrators 2016-09-20 10:26:00 UTC Comment hidden (obsolete)
Comment 11 Nico 2016-12-28 11:31:55 UTC Comment hidden (obsolete, off-topic)
Comment 12 Buovjaga 2016-12-28 13:16:18 UTC Comment hidden (off-topic)
Comment 13 QA Administrators 2017-12-29 03:28:48 UTC Comment hidden (obsolete)
Comment 14 Thomas Lendo 2018-10-08 00:22:56 UTC
Still reproducible.

Version: 6.2.0.0.alpha0+
Build ID: 6dacf9ec5455bdad82e78470a1a7cb6d2271bec7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: threaded
from yesterday
Comment 15 QA Administrators 2019-10-09 02:29:48 UTC Comment hidden (obsolete)
Comment 16 Commit Notification 2019-10-31 16:32:03 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/20bca05a8e5a07c21451e4c62064d1a5680611d9

crashtesting: null deref on import of fdo48634-1.xls

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 17 Julien Nabet 2021-04-28 10:14:28 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I still got the same error message as comment 7 and noticed these logs on console:
warn:sc:11440:11440:sc/source/filter/excel/xlroot.cxx:157: XclRootData::XclRootData - cannot get output device info com.sun.star.uno.RuntimeException message: invalid attempt to assign an empty interface of type com.sun.star.frame.XFrame! /home/julien/lo/libreoffice/include/com/sun/star/uno/Reference.hxx:105
warn:sfx.control:11440:11440:sfx2/source/control/dispatch.cxx:1206: Childwindow slot missing: 25917
warn:sfx.control:11440:11440:sfx2/source/control/dispatch.cxx:1206: Childwindow slot missing: 25917
warn:i18nlangtag:11440:11440:i18nlangtag/source/languagetag/languagetag.cxx:1648: LanguageTag::getRegionFromLangtag: pRegionT==NULL for 'eo-EO'
warn:i18nlangtag:11440:11440:i18nlangtag/source/languagetag/languagetag.cxx:1648: LanguageTag::getRegionFromLangtag: pRegionT==NULL for 'eo-EO'
warn:legacy.tools:11440:11440:svx/source/form/fmvwimp.cxx:437: FmXFormView::~FmXFormView: Window list not empty!
warn:scripting:11440:11440:scripting/source/basprov/basprov.cxx:309: LibraryName VBAProject is part of the url VBAProject.ThisWorkbook.Workbook_Open
warn:legacy.osl:11440:11440:sfx2/source/control/shell.cxx:209: SfxShell::SetUndoManager: exchanging one non-NULL manager with another non-NULL manager? Suspicious!
Comment 18 QA Administrators 2023-04-29 03:29:33 UTC
Dear brajalle,

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 https://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://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug