RStudio startup error but only for one specific project

I just upgraded Rstudio to 2023.03.0+386. During my update process, I had dragged the app to "Applications" but had not realized a small box opened way off center screen asking how I wanted to handle the existing file. I opened one of my R projects and then I choose "replace", while also quitting the RSTudio instance for the project I just opened (Exact timing of the chain of these events I don't recall).

After the RStudio app finished copying, I then opened the same project and got the error below.

Error Information:

Description of issue -

R Session Startup Failure Report

RStudio Version

RStudio 2023.03.0+386 "Cherry Blossom " (3c53477a, 2023-03-09) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.03.0+386 Chrome/108.0.5359.179 Electron/22.0.3 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 1.

Error output:

[No errors emitted]

Standard output:

[No output emitted]

Logs

/Users/jzadra41/.local/share/rstudio/log/rsession-jzadra41.log

2023-03-22T01:02:34.356955Z [rsession-jzadra41] ERROR CLIENT EXCEPTION (rsession-jzadra41): (TypeError) : Cannot read properties of null (reading 'b');|||org/rstudio/studio/client/workbench/views/console/shell/assist/CompletionList.java#180::moveSelection|||org/rstudio/studio/client/workbench/views/console/shell/assist/CompletionManagerBase.java#514::previewKeyDown|||org/rstudio/studio/client/workbench/views/console/shell/assist/DelegatingCompletionManager.java#82::previewKeyDown|||org/rstudio/studio/client/workbench/views/source/editors/text/AceKeyboardPreviewer.java#88::onKeyDown|||rstudio-0.js#-1::eval|||com/google/gwt/core/client/impl/Impl.java#306::apply|||com/google/gwt/core/client/impl/Impl.java#345::entry0|||rstudio-0.js#-1::eval|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::callKeyboardHandlers|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::onCommandKey|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::onCommandKey|||com/google/gwt/animation/client/Animation.java#29::this$01|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::<anonymous>|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36
2023-03-22T01:02:34.359647Z [rsession-jzadra41] ERROR CLIENT EXCEPTION (rsession-jzadra41): (TypeError) : Cannot read properties of null (reading 'b');|||org/rstudio/studio/client/workbench/views/console/shell/assist/CompletionList.java#180::moveSelection|||org/rstudio/studio/client/workbench/views/console/shell/assist/CompletionManagerBase.java#514::previewKeyDown|||org/rstudio/studio/client/workbench/views/console/shell/assist/DelegatingCompletionManager.java#82::previewKeyDown|||org/rstudio/studio/client/workbench/views/source/editors/text/AceKeyboardPreviewer.java#88::onKeyDown|||rstudio-0.js#-1::eval|||com/google/gwt/core/client/impl/Impl.java#306::apply|||com/google/gwt/core/client/impl/Impl.java#345::entry0|||rstudio-0.js#-1::eval|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::callKeyboardHandlers|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::onCommandKey|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::onCommandKey|||com/google/gwt/animation/client/Animation.java#29::this$01|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::<anonymous>|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36
2023-03-22T01:02:34.359647Z [rsession-jzadra41] ERROR CLIENT EXCEPTION (rsession-jzadra41): (TypeError) : Cannot read properties of null (reading 'b');|||org/rstudio/studio/client/workbench/views/console/shell/assist/CompletionList.java#180::moveSelection|||org/rstudio/studio/client/workbench/views/console/shell/assist/CompletionManagerBase.java#514::previewKeyDown|||org/rstudio/studio/client/workbench/views/console/shell/assist/DelegatingCompletionManager.java#82::previewKeyDown|||org/rstudio/studio/client/workbench/views/source/editors/text/AceKeyboardPreviewer.java#88::onKeyDown|||rstudio-0.js#-1::eval|||com/google/gwt/core/client/impl/Impl.java#306::apply|||com/google/gwt/core/client/impl/Impl.java#345::entry0|||rstudio-0.js#-1::eval|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::callKeyboardHandlers|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::onCommandKey|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::onCommandKey|||com/google/gwt/animation/client/Animation.java#29::this$01|||http://127.0.0.1:24627/rstudio/BAC511A51BF31BEF7D9C5DFA48D12BFA.cache.js#-1::<anonymous>|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36

Attempted steps taken to fix -

  1. Quit R Studio, and reinstalled the application - same issue.
  2. Tried opening RStudio without a project, and with a different project, and it worked normally.
  3. Tried a full restart

System Information:

  • RStudio Edition: "Cherry Blossom "
  • RStudio Version: 2023.03.0+386
  • OS Version: Ventura 13.3
  • R Version: 4.2.2

From RStudio Desktop Will Not Start on support.rstudio.com

I still need help on this.

Hi @jzadra
It sounds like that particular project setup is corrupted. After checking that your script and data files are intact and backed up, I suggest you manually delete the Proj directory and the .Proj file. Then try recreating the project by pointing to the existing directory.
HTH

That worked. Hopefully I didn't have any unsaved files!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.