You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
App Randomly Triggers Exceptions Between Page Loads #1194
Experiencing "soft" exceptions which seems to be happening randomly when I transition between tools. To be clear, these exceptions are being caught and the following message is displayed at the bottom of the app: "An unhandled error has occured. Reload"
Clicking the "Reload" link will reload the app but when switching between tool pages, the error will re-occur.
How to reproduce it (as minimally and precisely as possible)
Randomly select any tools from any of the major categories: Converters, Encoders/Decoders, Formatters and etc. (FYI, I'm not using the "quick shortcuts/history" links)
Can confirm same issue in PopOS. It is very random on which page/extension it happens. I have vanilla install using deb and no additional extension.
Is there a way to dump app log on what's throwing exception outside of what I found under /var/log below?
This is all the log I could find. Jun 11 22:24:37 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x6521e4066330] is on because it needs an allocation. Jun 11 22:24:37 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x6521e69eaf40] is on because it needs an allocation. Jun 11 22:24:37 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x6521e69eeda0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <panelBox>[<StBoxLayout>:0x6521e48088f0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <panel>[<Gjs_ui_panel_Panel>:0x6521e4cfc8d0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <panelRight>[<StBoxLayout>:0x6521e4bd0cc0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<StBin>:0x6521e4f9ac30] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<Gjs_ui_panel_AggregateMenu>:0x6521e4eed680] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<StBoxLayout>:0x6521e4c581a0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<Gjs_status_power_Indicator>:0x6521e463e640] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<StIcon>:0x6521e4fdc420] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<ClutterActor>:0x6521e3c07c20] is on because it needs an allocation. Jun 11 22:24:45 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x6521e4066330] is on because it needs an allocation. Jun 11 22:24:45 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x6521e69eaf40] is on because it needs an allocation. Jun 11 22:24:45 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x6521e69eeda0] is on because it needs an allocation. Jun 11 22:24:50 mylinuxbox systemd[1563]: Started Application launched by gnome-shell. Jun 11 22:24:51 mylinuxbox devtoys.desktop[12831]: (process:2): GLib-CRITICAL **: 22:24:51.358: Failed to set scheduler settings: Operation not permitted Jun 11 22:24:51 mylinuxbox rtkit-daemon[1199]: Failed to look up client: No such file or directory Jun 11 22:25:05 mylinuxbox systemd[1563]: app-gnome-devtoys-12770.scope: Consumed 22.086s CPU time.
Thanks for this information. I'm not familiar with PopOS. On Linux (at least Debian), logs are stored in home/.local/share/devtoys/Logs/. The folder home/.local/share may change based on the value of the XDG_DATA_HOME environment variable, if you have one.
Found the log however log is all INFO only, there is no error logs. App crashed right after JsonWebTokenEncoderDecoder was loaded.
2024-06-11T22:41:37.5006399-06:00 Information [DevToys.Blazor.Core.Services.FontService] [LogImportThirdPartyFontsAsync] Loaded 2 font(s) in 21.0786 ms and injected them in 301.446 ms 2024-06-11T22:41:39.3611345-06:00 Information [DevToys.Core.Tools.GuiToolProvider] [LogSetMostRecentUsedTool] Set 'Base64ImageEncoderDecoder' as the most recently used tool. 2024-06-11T22:41:39.3621636-06:00 Information [DevToys.Core.Tools.GuiToolInstance] [LogInstanceCreated] Instance of 'Base64ImageEncoderDecoder' tool created. 2024-06-11T22:41:41.1571385-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool2' changed to 'Base64ImageEncoderDecoder' 2024-06-11T22:41:41.1574107-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool1' changed to 'Settings' 2024-06-11T22:41:41.1574334-06:00 Information [DevToys.Core.Tools.GuiToolProvider] [LogSetMostRecentUsedTool] Set 'Settings' as the most recently used tool. 2024-06-11T22:41:41.1587355-06:00 Information [DevToys.Core.Tools.GuiToolInstance] [LogInstanceCreated] Instance of 'Settings' tool created. 2024-06-11T22:42:00.8325654-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool3' changed to 'Base64ImageEncoderDecoder' 2024-06-11T22:42:00.8333391-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool2' changed to 'Settings' 2024-06-11T22:42:00.8333590-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool1' changed to 'JsonWebTokenEncoderDecoder' 2024-06-11T22:42:00.8333744-06:00 Information [DevToys.Core.Tools.GuiToolProvider] [LogSetMostRecentUsedTool] Set 'JsonWebTokenEncoderDecoder' as the most recently used tool. 2024-06-11T22:42:00.8399005-06:00 Information [DevToys.Core.Tools.GuiToolInstance] [LogInstanceCreated] Instance of 'JsonWebTokenEncoderDecoder' tool created.
I also have this message when switching tools on PopOS. I have those errors logs:
JAVASCRIPT Exception caught:
MESSAGE: JS object instance with ID 2 does not exist (has it been disposed?).
w@app://localhost/_framework/blazor.webview.js:1:5282
@app://localhost/_framework/blazor.webview.js:1:3045
Promise@[native code]
beginInvokeJSFromDotNet@app://localhost/_framework/blazor.webview.js:1:3018
@app://localhost/_framework/blazor.webview.js:1:48025
@user-script:1:4:79
forEach@[native code]
@user-script:1:4:49
global code@app://localhost/:1:26
STACK TRACE:
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args)
at DevToys.Blazor.Core.Extensions.IJSRuntimeExtensions.InvokeVoidWithErrorHandlingAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args) in /home/etienne/RiderProjects/Publish/submodules/DevToys/src/app/dev/DevToys.Blazor/Core/Extensions/IJSRuntimeExtensions.cs:line 66
Getting the same behavior but with a different error message when navigating between pages
Received unexpected acknowledgement for render batch 295 (next batch should be 294)
at Microsoft.AspNetCore.Components.WebView.Services.WebViewRenderer.NotifyRenderCompleted(Int64 batchId)
at Microsoft.AspNetCore.Components.WebView.IpcReceiver.OnMessageReceivedAsync(PageContext pageContext, String message)
at Microsoft.AspNetCore.Components.WebView.WebViewManager.<>c__DisplayClass18_0.<<MessageReceived>b__0>d.MoveNext()
I'm running Linux Mint 21.3 (which is based on Ubuntu 22.04)
Hey everyone,
Thanks for your feedback here. I just published an update of DevToys, but it doesn't address this issue yet.
The issue you're facing is now my top priority. I will look at it closely in the next few days. Thank you in advance for your patience and sorry for the inconvenience.
Reacted by Marcel Tiede, Laszlo Szathmary, Saif Alaqqad, olivierwph and Tanguy Rossel
Activity
karkcoder commentedon Jun 12, 2024
Can confirm same issue in PopOS. It is very random on which page/extension it happens. I have vanilla install using deb and no additional extension.
Is there a way to dump app log on what's throwing exception outside of what I found under /var/log below?
This is all the log I could find.
Jun 11 22:24:37 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x6521e4066330] is on because it needs an allocation. Jun 11 22:24:37 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x6521e69eaf40] is on because it needs an allocation. Jun 11 22:24:37 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x6521e69eeda0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <panelBox>[<StBoxLayout>:0x6521e48088f0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <panel>[<Gjs_ui_panel_Panel>:0x6521e4cfc8d0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <panelRight>[<StBoxLayout>:0x6521e4bd0cc0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<StBin>:0x6521e4f9ac30] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<Gjs_ui_panel_AggregateMenu>:0x6521e4eed680] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<StBoxLayout>:0x6521e4c581a0] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<Gjs_status_power_Indicator>:0x6521e463e640] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<StIcon>:0x6521e4fdc420] is on because it needs an allocation. Jun 11 22:24:42 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<ClutterActor>:0x6521e3c07c20] is on because it needs an allocation. Jun 11 22:24:45 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x6521e4066330] is on because it needs an allocation. Jun 11 22:24:45 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x6521e69eaf40] is on because it needs an allocation. Jun 11 22:24:45 mylinuxbox gnome-shell[3051]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x6521e69eeda0] is on because it needs an allocation. Jun 11 22:24:50 mylinuxbox systemd[1563]: Started Application launched by gnome-shell. Jun 11 22:24:51 mylinuxbox devtoys.desktop[12831]: (process:2): GLib-CRITICAL **: 22:24:51.358: Failed to set scheduler settings: Operation not permitted Jun 11 22:24:51 mylinuxbox rtkit-daemon[1199]: Failed to look up client: No such file or directory Jun 11 22:25:05 mylinuxbox systemd[1563]: app-gnome-devtoys-12770.scope: Consumed 22.086s CPU time.veler commentedon Jun 12, 2024
Thanks for this information. I'm not familiar with PopOS. On Linux (at least Debian), logs are stored in
home/.local/share/devtoys/Logs/. The folderhome/.local/sharemay change based on the value of theXDG_DATA_HOMEenvironment variable, if you have one.karkcoder commentedon Jun 12, 2024
Found the log however log is all INFO only, there is no error logs. App crashed right after JsonWebTokenEncoderDecoder was loaded.
2024-06-11T22:41:37.5006399-06:00 Information [DevToys.Blazor.Core.Services.FontService] [LogImportThirdPartyFontsAsync] Loaded 2 font(s) in 21.0786 ms and injected them in 301.446 ms 2024-06-11T22:41:39.3611345-06:00 Information [DevToys.Core.Tools.GuiToolProvider] [LogSetMostRecentUsedTool] Set 'Base64ImageEncoderDecoder' as the most recently used tool. 2024-06-11T22:41:39.3621636-06:00 Information [DevToys.Core.Tools.GuiToolInstance] [LogInstanceCreated] Instance of 'Base64ImageEncoderDecoder' tool created. 2024-06-11T22:41:41.1571385-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool2' changed to 'Base64ImageEncoderDecoder' 2024-06-11T22:41:41.1574107-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool1' changed to 'Settings' 2024-06-11T22:41:41.1574334-06:00 Information [DevToys.Core.Tools.GuiToolProvider] [LogSetMostRecentUsedTool] Set 'Settings' as the most recently used tool. 2024-06-11T22:41:41.1587355-06:00 Information [DevToys.Core.Tools.GuiToolInstance] [LogInstanceCreated] Instance of 'Settings' tool created. 2024-06-11T22:42:00.8325654-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool3' changed to 'Base64ImageEncoderDecoder' 2024-06-11T22:42:00.8333391-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool2' changed to 'Settings' 2024-06-11T22:42:00.8333590-06:00 Information [DevToys.Core.Settings.SettingsProvider] [LogSetSetting] Setting 'DevToys.Core.RecentTool1' changed to 'JsonWebTokenEncoderDecoder' 2024-06-11T22:42:00.8333744-06:00 Information [DevToys.Core.Tools.GuiToolProvider] [LogSetMostRecentUsedTool] Set 'JsonWebTokenEncoderDecoder' as the most recently used tool. 2024-06-11T22:42:00.8399005-06:00 Information [DevToys.Core.Tools.GuiToolInstance] [LogInstanceCreated] Instance of 'JsonWebTokenEncoderDecoder' tool created.tyrossel commentedon Jun 12, 2024
I also have this message when switching tools on PopOS. I have those errors logs:
olivierwph commentedon Jun 17, 2024
i have the same problem in linux mint.
i cannot open ANY tool.
when i open devtoys, i have the log (i am not "etienne" !) there is a hard link to /home/etienne ?
beginInvokeJSFromDotNet@app://localhost/_framework/blazor.webview.js:1:3018
@app://localhost/_framework/blazor.webview.js:1:48025
@user-script:1:4:79
forEach@[native code]
@user-script:1:4:49
global code@app://localhost/:1:26
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at DevToys.Blazor.Core.Extensions.IJSRuntimeExtensions.InvokeVoidWithErrorHandlingAsync(IJSRuntime jsRuntime, String identifier, Object[] args) in /home/etienne/RiderProjects/Publish/submodules/DevToys/src/app/dev/DevToys.Blazor/Core/Extensions/IJSRuntimeExtensions.cs:line 23
then when i click on any tool (in menu), i have
"an unhandled error has occured. Reload"
no addition log !
SaifAqqad commentedon Jun 18, 2024
Getting the same behavior but with a different error message when navigating between pages
I'm running Linux Mint 21.3 (which is based on Ubuntu 22.04)
veler commentedon Jun 19, 2024
Hey everyone,
Thanks for your feedback here. I just published an update of DevToys, but it doesn't address this issue yet.
The issue you're facing is now my top priority. I will look at it closely in the next few days. Thank you in advance for your patience and sorry for the inconvenience.
veler commentedon Jun 22, 2024
Hello,
I think I have a fix: #1259
At least, I do not reproduce the issue anymore since this change :D
veler commentedon Jun 25, 2024
Hi,
I published a new update of DevToys. Please try it out and let me know if the problem still reproduce. Thanks :)
jt-kl commentedon Jun 26, 2024
My preliminary tests of 2.0-preview.3 indicates the problem has been resolved; at least for Ubuntu 22.04.4 LTS. Thank you
karkcoder commentedon Jun 26, 2024
Can confirm, its working fine in Pop!_OS 22.04 LTS now. Thank you for the fix!!