RoundedTB
RoundedTB copied to clipboard
RoundedTB not launching on startup
I have this problem where my laptop starts but then I wait for RoundedTB to launch but when I check in the system tray it just closes and when I try to run it from file explorer it also crashes. I hope this problem is fixable, pls help me.
If this is happening, that means its silently crashing. I assume you've installed it from GitHub; can you send me your config file? (located at %localappdata%/rtb.json)
If this is happening, that means its silently crashing. I assume you've installed it from GitHub; can you send me your config file? (located at
%localappdata%/rtb.json)
How should I send the file @torchgm
You can just post it here, that's fine!
@torchgm I tried dragging and dropping it, it said that the file is not supported.
If you drag-and-drop the rtb.json file into Notepad, you can then copy-and-paste the contents of it here.
@torchgm I just did what you said and there was nothing inside of the file.
Ah, well that's probably the issue! Delete the file entirely, close RoundedTB, then try re-opening RoundedTB. It should recreate the file and start normally.
@torchgm ok I'll try that
@torchgm Thank you for helping me
I'll reopen this since it is still an issue! Having the app silently crash if the config is blank isn't normal behaviour lol; I'll try and get it fixed for the next release. Thanks for bringing it to my attention!
I am experiencing the same issue, I can't even launch the app after auto start fails.
Application: RoundedTB.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at RoundedTB.MainWindow..ctor()
Exception Info: System.Reflection.TargetInvocationException
at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.Activator.CreateInstance(System.Type, Boolean)
at System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[], System.Threading.StackCrawlMark ByRef)
at System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[])
at System.Activator.CreateInstance(System.Type, System.Object[])
at System.Xaml.Schema.SafeReflectionInvoker.CreateInstanceCritical(System.Type, System.Object[])
at System.Xaml.Schema.SafeReflectionInvoker.CreateInstance(System.Type, System.Object[])
at System.Xaml.Schema.XamlTypeInvoker.CreateInstance(System.Object[])
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(System.Xaml.XamlType, System.Object[])
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(System.Xaml.XamlType, System.Object[])
at System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(MS.Internal.Xaml.Context.ObjectWriterContext)
at System.Xaml.XamlObjectWriter.WriteStartMember(System.Xaml.XamlMember)
at System.Xaml.XamlWriter.WriteNode(System.Xaml.XamlReader)
at System.Windows.Markup.WpfXamlLoader.TransformNodes(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter, Boolean, Boolean, Boolean, System.Xaml.IXamlLineInfo, System.Xaml.IXamlLineInfoConsumer, MS.Internal.Xaml.Context.XamlContextStack`1<System.Windows.Markup.WpfXamlFrame>, System.Windows.Markup.IStyleConnector)
at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
at System.Windows.Application.LoadComponent(System.Uri, Boolean)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run(System.Windows.Window)
at RoundedTB.App.Main()
Deleting rtb.json from %localappdata% and restarting worked for me! Definitely try it if you are having trouble.
For those who are working on this: for some reason when I opened rtb.json in a text editor it showed up as missing unicode characters like this:

Upon deleting and restarting, the file was fine again.
Here is my rtb.log after the delete:
rtb.log
rtb.log[5/26/2022 2:29:03 PM] RoundedTB started!
[5/26/2022 2:29:03 PM] Settings loaded:
[5/26/2022 2:29:03 PM]
CornerRadius: 7
MarginBasic: 3
MarginBottom: 0
MarginLeft: 0
MarginRight: 0
MarginTop: 0
IsDynamic: False
IsCentred: False
ShowTray: False
CompositionCompat: False
IsNotFirstLaunch: False
FillOnMaximise: False
FillOnTaskSwitch: False
ShowTrayOnHover: False
[5/26/2022 2:29:03 PM] Taskbar centred? True
[5/26/2022 2:29:03 PM] in bw
[5/26/2022 2:29:28 PM] cancelling
[5/26/2022 2:29:29 PM] in bw
[5/26/2022 2:29:29 PM] Taskbar: 0 - AppList ends: 1896 - Tray starts: 3181 - Total gap: 1285
[5/26/2022 2:29:29 PM] Updated taskbar 0 dynamically
[5/26/2022 2:29:33 PM] cancelling
[5/26/2022 2:29:33 PM] in bw
[5/26/2022 2:30:26 PM] cancelling
[5/26/2022 2:30:26 PM] in bw
[5/26/2022 2:30:27 PM] Taskbar: 0 - AppList ends: 1874 - Tray starts: 3181 - Total gap: 1307
[5/26/2022 2:30:27 PM] Updated taskbar 0 dynamically
%localappdata% is not where this file is located on win11 22h2 with the windows store app. Does anyone know the new location of the file?
on my pc its at: %localappdata%\Packages\14082CryzenTechnologies.RoundedTB_6b5yntewjra3r\RoamingState
There is a program from voidtools called "Everything" that allows you to search the entire system.... Pretty handy for this type of cases :)