Roblox / Core-Scripts

All of ROBLOX's core client scripts.
Apache License 2.0
254 stars 183 forks source link

attempt to index upvalue 'outputMessageSync' #536

Closed einsteinK closed 4 years ago

einsteinK commented 8 years ago
21:34:52.31840 (1618.9503372) Error:   CoreGui.RobloxGui.Modules.DeveloperConsoleModule:781: attempt to index upvalue 'outputMessageSync' (a nil value)
21:34:52.31840 (1618.9503372)          Stack Begin
21:34:52.31840 (1618.9503372)          Script 'CoreGui.RobloxGui.Modules.DeveloperConsoleModule', Line 781 - field OpenCallback
21:34:52.31840 (1618.9513379)          Script 'CoreGui.RobloxGui.Modules.DeveloperConsoleModule', Line 2241 - method SetOpen
21:34:52.31840 (1618.9513379)          Script 'CoreGui.RobloxGui.Modules.DeveloperConsoleModule', Line 845 - field new
21:34:52.31840 (1618.9513379)          Script 'CoreGui.RobloxGui.Modules.DeveloperConsoleModule', Line 2998 - upvalue getDeveloperConsole
21:34:52.31840 (1618.9523386)          Script 'CoreGui.RobloxGui.Modules.DeveloperConsoleModule', Line 3009 - method GetVisibility
21:34:52.31840 (1618.9523386)          Script 'CoreGui.RobloxGui.Modules.Settings.SettingsHub', Line 516
21:34:52.31840 (1618.9523386)          Stack End

Happens when pressing F9 quickly several times. Opening the developer console will work, but the local log won't be created yet. Here's a screenshot: http://prntscr.com/cho2nf/direct

Seems like a racing condition. To replicate in studio:

spawn(function()
    DevConsoleModuleTable:GetVisibility()
end)
spawn(function()
    DevConsoleModuleTable:SetVisibility(true)
end)
loadstring(workspace.TheScript.Source)()

I might fix this in the next 10m or tomorrow if I don't have enough time.

ghost commented 8 years ago

This issue was moved to GitBlox/Core-Scripts#25

cliffchapmanrbx commented 4 years ago

Hi there, thank you for your feedback. We're going to be closing this repository as we've chosed the Roblox Dev Forum as our venue for developer feedback. Please feel free to migrate your feedback to a DevForum post if you feel it is still relevant.