Bug 107809 - An event still pointing to deleted library module creates an infinite error loop
Summary: An event still pointing to deleted library module creates an infinite error loop
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
5.2.5.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-12 21:05 UTC by Howard Johnson
Modified: 2017-11-13 17:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
#1 of 3 (18.28 KB, image/png)
2017-05-12 21:05 UTC, Howard Johnson
Details
#2 of 3 (9.38 KB, image/png)
2017-05-12 21:06 UTC, Howard Johnson
Details
#3 of 3 (10.77 KB, image/png)
2017-05-12 21:07 UTC, Howard Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Howard Johnson 2017-05-12 21:05:51 UTC
Created attachment 133279 [details]
#1 of 3

If a Base form is opened which has an event which points to a shared MyMacros&Dialogs, Standard, module that has been deleted, (as part of a normal design re-structuring process), this can put the system into a state where you can no longer shutdown LO normally.  

Rather you get caught in an infinite error loop consisting of the following attached screens:

1) You get, "A Scripting Framework error occurred while running the Basic script."  You can click Ok, but the same screen just re-appears.

2) Also you get, "The window cannot be closed while BASIC is running."  This if you try to close the basic window.

3) Also in another window is, "BASIC runtime error.
An exception occured
Type: com.sun.star.container.NoSuchElementException".  You can't click anything on it without getting bumped back to #1 above.

I would expect that the system should halt after the #1 error, to allow design editing to correct the issue.
Comment 1 Howard Johnson 2017-05-12 21:06:57 UTC
Created attachment 133280 [details]
#2 of 3
Comment 2 Howard Johnson 2017-05-12 21:07:49 UTC
Created attachment 133281 [details]
#3 of 3
Comment 3 Buovjaga 2017-05-14 11:23:39 UTC
Please attach an example document, where we can do the deletion an test.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 4 Howard Johnson 2017-05-15 01:06:48 UTC
Embarrassed to say that I am unable to recreate it now.  Perhaps it had to do with a focus event, in which case I would expect a loop.
Comment 5 Xisco Faulí 2017-11-13 17:05:04 UTC
(In reply to Howard Johnson from comment #4)
> Embarrassed to say that I am unable to recreate it now.  Perhaps it had to
> do with a focus event, in which case I would expect a loop.

Closing as RESOLVED WORKSFORME