Please Help Xojo crashes on run/compile with Unhandled IOException

No idea what’s happening but just trying to run my app causes this weird IO Exception

Has anyone seen this before or does anyone know how to resolve it?

65544 - Unhandled IOException in TextInputStream.!Open%o%o

Stack Trace:
RuntimeRaiseException
TextInputStream.!Open%o%o
RBPlist.LoadPlist%%o
RBPlist.Keys%A1s%o
SpawnCompiler.GetAllUserKeyValues%o%oo
SpawnCompiler.GeneratePlist%s%ooi8i8ssb
SpawnCompiler.PrepareBuildSettings%o%ooi8i8ob
DebugCompileThread.Run%%o
StudioMainWindow.StudioMainWindow.RunApp%b%o<StudioMainWindow.StudioMainWindow>bbi8<DebuggerUtilities.OSDebugger>
StudioMainWindow.StudioMainWindow.HandleCommand%b%o<StudioMainWindow.StudioMainWindow>o<Commands.Command>
Commands.Dispatch%%o<Commands.Command>
Commands.Dispatch%%s
StudioMainWindow.StudioMainWindow.ToolbarAction%%o<StudioMainWindow.StudioMainWindow>o
StudioMainWindow.StudioMainWindow.MainToolBar_Action%%o<StudioMainWindow.StudioMainWindow>oo
-[NSToolbarButton sendAction:to:]
-[NSToolbarItemViewer mouseDown:]
-[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:]
-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]
-[NSWindow(NSEventRouting) sendEvent:]
XojoFramework$5201
-[NSApplication(NSEvent) sendEvent:]
XojoFramework$4744
Application._CallFunctionWithExceptionHandling%%op
_Z33CallFunctionWithExceptionHandlingPFvvE
XojoFramework$4744
-[NSApplication _handleEvent:]
-[NSApplication run]
RuntimeRun
REALbasic._RuntimeRun
_Main
main

Looks like a problem attempting to load a plist that has been dropped into the project.

It also looks like this was addressed in <https://xojo.com/issue/60980> for 2020r1.

Yeah, I don’t have any plist files in the project :frowning:

Screen Shot 2021-08-13 at 12.17.13 PM

There was some weird plist file getting added that I needed to delete to fix it. No idea where this came from but it’s working now!

2 Likes

Plists do allow comments in them, albeit they are a security risk, as some Apple API recognizes comments and some do not.