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
Exception when using Alt-C to bring up Colorise window and then selecting a language and confirming.
To Reproduce
Steps to reproduce the behavior:
Select text
Press Alt-C
Use the Select Language popup window to select any language
Press return or click OK
Error pops up
The same error doesn't popup if I use the ribbon (e.g. More->Colorize->C#)
Expected Behavior
The selected text has the syntax highlighting applied without an error
Screenshots
Environment (if applicable)
Microsoft® OneNote® for Microsoft 365 MSO (Version 2410 Build 16.0.18129.20100) 32-bit
Additional Context
Add any other context about the problem here. Attach page XML file or the app log file as appropriate. You can find the log file here: %localappdata%\temp\OneMore.log
01|07:59:07.570| Starting dllhost 22240, 1700 Mhz, 31 MB, en-US/en-US, v6.6.1, OneNote 15.0, Office 16.0, 2024-11-06 07:59
01|07:59:07.578| ..Windows 11 Professional, Version 24H2, Build 26100, 64 bit
01|07:59:07.591| ..C:\Program Files (x86)\Microsoft Office\root\Office16\ONENOTE.EXE (16.0.18129.20116)
01|07:59:07.644| ..OnConnection(ConnectionMode:ext_cm_Startup,custom[1:Int32])
01|07:59:07.645| ..OneAddInsUpdate(custom[])
03|07:59:09.016| ..building ribbon
03|07:59:09.034| ..building ribbon colorizer commands
03|07:59:09.588| ..building ribbon groups
03|07:59:09.593| ..building context menu
01|07:59:09.779| ..OnStartupComplete(custom[])
01|07:59:09.782| ..starting command service
01|07:59:09.785| ..starting reminder service
01|07:59:09.788| ..starting navigation service
01|07:59:09.792| ..hashtag service is disabled
01|07:59:09.792| ..ready
10|07:59:09.807| Running command UpdateCommand
04|07:59:10.741| ..defined 51 hotkeys for input locale 2057
05|11:04:22.426| Running command CommandPaletteCommand
05|11:04:22.635| ..discovered 185 commands, 4 mru
06|11:04:27.568| ..Running command InsertTextBoxCommand
10|11:04:32.224| Running command ChooseColorizerCommand
10|11:04:35.700| Error running command ChooseColorizerCommand
10|11:04:35.700| System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: River.OneMoreAddIn
StackTrace: at River.OneMoreAddIn.Commands.ChooseColorizerCommand.<Execute>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at River.OneMoreAddIn.CommandFactory.<Run>d__6.MoveNext()
TargetSite: [River.OneMoreAddIn] River.OneMoreAddIn.Commands.ChooseColorizerCommand+<Execute>d__2::MoveNext()
THE FINE PRINT This is a hobby project that I started for myself. I'm happy to take requests and will promise to
consider each one carefully but offer no guarantees that I will ultimately agree to their
usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around
then I will probably reject the request - you've been warned!
The text was updated successfully, but these errors were encountered:
Problem to Solve
Exception when using Alt-C to bring up Colorise window and then selecting a language and confirming.
To Reproduce
Steps to reproduce the behavior:
The same error doesn't popup if I use the ribbon (e.g. More->Colorize->C#)
Expected Behavior
The selected text has the syntax highlighting applied without an error
Screenshots
Environment (if applicable)
Microsoft® OneNote® for Microsoft 365 MSO (Version 2410 Build 16.0.18129.20100) 32-bit
Additional Context
Add any other context about the problem here. Attach page XML file or the app log file as appropriate. You can find the log file here: %localappdata%\temp\OneMore.log
THE FINE PRINT This is a hobby project that I started for myself. I'm happy to take requests and will promise to
consider each one carefully but offer no guarantees that I will ultimately agree to their
usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around
then I will probably reject the request - you've been warned!
The text was updated successfully, but these errors were encountered: