Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with JIT-Compiler #6152

Closed
RongePartner opened this issue Sep 18, 2023 · 9 comments · Fixed by #6158
Closed

Bug with JIT-Compiler #6152

RongePartner opened this issue Sep 18, 2023 · 9 comments · Fixed by #6158
Labels
bug Identifies work items for known bugs

Comments

@RongePartner
Copy link

Rubberduck version information

Rubberduck version [2.5.9.6294]
Operating System: [Microsoft Windows NT 10.0.14393.0, x64]
Host Product: [Microsoft Office x64]
Host Version: [16.0.14332.20546]
Host Executable: [MSACCESS.EXE]

Description
A few seconds after switching to the VBA-Window a Window with the title "Microsoft .NET Framework" pops up.

To Reproduce
Steps to reproduce the behavior:

  1. Office is installed on a Terminal-Server. I start Access, open my program, start the VBA-Window and then the error-message pops up.

Expected behavior
There should be no error message

Screenshots
image

Logfile
JIT_ErrorMessages.txt
RubberduckLog.txt

@RongePartner RongePartner added the bug Identifies work items for known bugs label Sep 18, 2023
@Crazylegs85
Copy link

I've experienced the same issue on version 2.5.9.6291. I've included the error message within the pop-up box. There was no log on my local Rubberduck-VBA install.

Rubberduck version [2.5.9.6291]
Operating System: [Windows 10 Enterprise, x64]
Host Product: [Microsoft Office x64]
Host Version: [22H2 Build: 19045.3324]
Host Executable: [EXCEL.EXE]

Rubberduck_Error_Message.txt

@vba-excel
Copy link

Having same issue.
Just upgraded to version 2.5.9.6291.
Also attempted to uninstall first then after restart reinstalled again, and this issue occurs.
In my case it only happens "once per run" a few seconds after opening the MS VBE from Excel.

Version 2.5.9.6291
OS: Microsoft Windows NT 10.0.19044.0, x64
Host Product: Microsoft Office x64
Host Version: 16.0.13127.21216
Host Executable: EXCEL.EXE

image

RubberduckLog.txt

@vba-excel
Copy link

vba-excel commented Sep 20, 2023

About this issue, on a run i noticed on the RubberduckLog file that the moment the error occurs it was checking for a newer version.

2023-09-20 12:55:12.9398;INFO-2.5.9.6291;Rubberduck.UI.Command.VersionCheckCommand;Executing version check...;

image

the Version Check gets Canceled (after 5 seconds) and since it is not handled the error dialog is shown.
Why the Version Check is taking longer then 5 seconds, i have no idea.

As a workaround i disabled the option to check for a newer version and the error message is no longer displayed.

image

As a fix i would suggest increasing the CancellationToken TimeSpan and handle the exception with t.isCanceled

@retailcoder
Copy link
Member

No idea why, but the site suddenly died last weekend; the URL being hit by the version check service was responding with HTTP500.
I've configured the website to query the backend API hosted on Azure (.net6 running on Linux in a Docker container) and the version check URL is now returning the expected version string; the site itself is still broken in several places, but it's at least serving a home page and fetching the download URLs.

@retailcoder
Copy link
Member

The version check service definitely needs to handle exceptions, gosh what an oversight!

@RongePartner
Copy link
Author

@vba-excel: Thanks for the investigation and the screenshots how to fix it. Great job!
@retailcoder: When something always works I wouldn´t write an errorhandler as well. So I understand. Despite of all: Rubberduck is a great product!

@retailcoder
Copy link
Member

retailcoder commented Sep 21, 2023

Nah, this is network I/O, it can reasonably fail for any random reason... I have no excuse here! 😅 thanks for the kind words!

@vba-excel
Copy link

vba-excel commented Sep 25, 2023

Just tried out Rubberduck v2.5.9.6296-pre

Its working fine, no longer shows the popup error.
The Exception occurs and its properly logged.

image

@retailcoder Ty for you great work, and Ty for Rubberduck !

RubberduckLog.txt

@DominicYing
Copy link

@RongePartner Thanks it works! @retailcoder Excellent product, you really understand VBAers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants