Bug 143145 - crashes on copy and paste from a recorded macro
Summary: crashes on copy and paste from a recorded macro
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.0.5.2 release
Hardware: All All
: medium normal
Assignee: Mal Smith
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-01 09:32 UTC by Mal Smith
Modified: 2022-02-04 03:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Macro used for copying and pasting results for league table calculation (5.03 KB, text/plain)
2021-07-01 09:37 UTC, Mal Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mal Smith 2021-07-01 09:32:16 UTC
Description:
BASIC runtime error.
An exception occurred 
Type: com.sun.star.uno.RuntimeException
Message: [mscx_uno bridge error] UNO type of C++ exception unknown: "std.out_of_range", RTTI-name=".?AVout_of_range@std@@"!.

Macro crashes at line 39

Steps to Reproduce:
1.Create Button on calc sheet 1
2.assign attached macro
3.create a second sheet to copy to, macro is copying to sheet 7 of 9
run macro

Actual Results:
Score entry sheet is Sht1 and has 7 buttons for data entry and 7 buttons to copy data to league calculation sheets. On selection of data entry the sheet fetches the team names, (all  buttons work for this) Captains then enter results, then a save button is pressed for each set of results and a league table is calculated except for the button that has 13 team names. This crashes with a std.out_of_range exception.

Expected Results:
It should just produce the league table.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Have tried re-recording the macro several times to no avail.
If I step through the macro it fails at line 39. If I run the macro completely it becomes a fatal crash, L O crashes and will not reload! It can't synch the extensions so retries constantly, I have to restart the computer.
Comment 1 Mal Smith 2021-07-01 09:37:26 UTC
Created attachment 173304 [details]
Macro used for copying and pasting results for league table calculation
Comment 2 Xisco Faulí 2021-07-07 09:39:47 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 3 QA Administrators 2022-01-04 03:32:14 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2022-02-04 03:45:36 UTC
Dear Mal Smith,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp