Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime errors in 3.0.0 #1037

Closed
sumneko opened this issue Apr 11, 2022 · 13 comments
Closed

Runtime errors in 3.0.0 #1037

sumneko opened this issue Apr 11, 2022 · 13 comments
Labels
bug Something isn't working telemetry Related to the telemetry feature

Comments

@sumneko
Copy link
Collaborator

sumneko commented Apr 11, 2022

Thanks for enabling telemetry.

@sumneko sumneko added bug Something isn't working telemetry Related to the telemetry feature labels Apr 11, 2022
@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
script\core\diagnostics\circle-doc-class.lua:41: table index is nil
stack traceback:
script\core\diagnostics\init.lua:76: in upvalue 'check'
script\core\diagnostics\init.lua:117: in function 'core.diagnostics'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:268: in function 'provider.diagnostic.doDiagnostic'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:397: in function 'provider.diagnostic.awaitDiagnosticsScope'
script\provider\diagnostic.lua:420: in function <script\provider\diagnostic.lua:419>

version: 3.0.0
client: Visual Studio Code 1.66.1
script\core\diagnostics\circle-doc-class.lua:41: table index is nil
stack traceback:
script\core\diagnostics\init.lua:76: in upvalue 'check'
script\core\diagnostics\init.lua:117: in function 'core.diagnostics'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:268: in function 'provider.diagnostic.doDiagnostic'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:438: in upvalue 'callback'
script\files.lua:759: in function <script\files.lua:758>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
script\vm\global-manager.lua:102: attempt to concatenate a boolean value (local 'name')
stack traceback:
script\vm\global-manager.lua:102: in function <script\vm\global-manager.lua:94>
(...tail calls...)
script\vm\global-manager.lua:302: in function 'vm.global-manager.compileObject'
script\vm\global-manager.lua:112: in function <script\vm\global-manager.lua:94>
(...tail calls...)
script\vm\global-manager.lua:302: in function 'vm.global-manager.compileObject'
script\vm\global-manager.lua:59: in function <script\vm\global-manager.lua:50>
(...tail calls...)
script\vm\global-manager.lua:302: in function 'vm.global-manager.compileObject'
script\vm\global-manager.lua:27: in function <script\vm\global-manager.lua:21>
(...tail calls...)
script\vm\global-manager.lua:302: in function 'vm.global-manager.compileObject'
script\vm\global-manager.lua:308: in function 'vm.global-manager.compileAst'
script\vm\manager.lua:21: in upvalue 'callback'
script\files.lua:759: in function <script\files.lua:758>
stack traceback:
script\files.lua:758: in function 'files.onWatch'
script\files.lua:216: in function 'files.setText'
script\workspace\loading.lua:97: in function <script\workspace\loading.lua:80>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.65.2
script/vm/local-id.lua:124: attempt to index a nil value (local 'root')
stack traceback:
script/vm/local-id.lua:21: in function <script/vm/local-id.lua:15>
(...tail calls...)
script/vm/local-id.lua:119: in function 'vm.local-id.compileLocalID'
script/vm/local-id.lua:142: in function 'vm.local-id.getID'
script/vm/local-id.lua:150: in function 'vm.local-id.getSources'
script/vm/def.lua:181: in upvalue 'searchByLocalID'
script/vm/def.lua:239: in function 'vm.getDefs'
script/vm/doc.lua:113: in function 'vm.isDeprecated'
script/core/diagnostics/deprecated.lua:37: in local 'callback'
script/parser/guide.lua:706: in function 'parser.guide.eachSourceTypes'
script/core/diagnostics/deprecated.lua:21: in function 'core.diagnostics.deprecated'
script/core/diagnostics/init.lua:76: in upvalue 'check'
script/core/diagnostics/init.lua:117: in function 'core.diagnostics'
[C]: in function 'xpcall'
script/provider/diagnostic.lua:268: in function 'provider.diagnostic.doDiagnostic'
[C]: in function 'xpcall'
script/provider/diagnostic.lua:303: in function <script/provider/diagnostic.lua:299>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
script\vm\global-manager.lua:340: attempt to index a nil value (local 'global')
stack traceback:
script\vm\global-manager.lua:340: in function 'vm.global-manager.dropUri'
script\vm\manager.lua:17: in upvalue 'callback'
script\files.lua:759: in function <script\files.lua:758>
stack traceback:
script\files.lua:758: in function 'files.onWatch'
script\files.lua:218: in function 'files.setText'
script\provider\provider.lua:268: in function <script\provider\provider.lua:259>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
script\vm\compiler.lua:333: attempt to index a nil value (local 'args')
stack traceback:
script\vm\compiler.lua:881: in function <script\vm\compiler.lua:878>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:680: in function <script\vm\compiler.lua:663>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:741: in function <script\vm\compiler.lua:740>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\def.lua:199: in upvalue 'searchByNode'
script\vm\def.lua:241: in function 'vm.getDefs'
script\core\diagnostics\redundant-parameter.lua:43: in upvalue 'getFuncArgs'
script\core\diagnostics\redundant-parameter.lua:81: in local 'callback'
script\parser\guide.lua:690: in function 'parser.guide.eachSourceType'
script\core\diagnostics\redundant-parameter.lua:74: in function 'core.diagnostics.redundant-parameter'
script\core\diagnostics\init.lua:76: in upvalue 'check'
script\core\diagnostics\init.lua:117: in function 'core.diagnostics'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:268: in function 'provider.diagnostic.doDiagnostic'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:303: in function <script\provider\diagnostic.lua:299>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
script\core\matchkey.lua:72: attempt to get length of a number value (local 'other')
stack traceback:
script\core\completion\completion.lua:1379: in upvalue 'checkTableLiteralField'
script\core\completion\completion.lua:1466: in upvalue 'tryTable'
script\core\completion\completion.lua:1922: in upvalue 'tryCompletions'
script\core\completion\completion.lua:1937: in function 'core.completion.completion.completion'
script\provider\provider.lua:551: in function <script\provider\provider.lua:516>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.0
attempt to compare string with number
stack traceback:
script\utility.lua:339: in function 'utility.sortPairs'
script\core\completion\completion.lua:601: in upvalue 'checkFieldOfRefs'
script\core\completion\completion.lua:623: in upvalue 'checkField'
script\core\completion\completion.lua:1263: in upvalue 'tryWord'
script\core\completion\completion.lua:1923: in upvalue 'tryCompletions'
script\core\completion\completion.lua:1937: in function 'core.completion.completion.completion'
script\provider\provider.lua:551: in function <script\provider\provider.lua:516>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

Need further investigation

version: 3.0.0
client: Visual Studio Code 1.66.1
script\workspace\require-path.lua:155: attempt to index a nil value
stack traceback:
script\workspace\require-path.lua:155: in upvalue 'removeVisiblePath'
script\workspace\require-path.lua:193: in upvalue 'callback'
script\files.lua:759: in function <script\files.lua:758>
stack traceback:
script\files.lua:758: in function 'files.onWatch'
script\files.lua:407: in function 'files.remove'
script\files.lua:85: in function 'files.close'
script\provider\provider.lua:250: in function <script\provider\provider.lua:246>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
[string "PUSH [===[---@meta
..."]:172: attempt to compare number with nil
stack traceback:
script\library.lua:185: in function <script\library.lua:184>
[C]: in function 'xpcall'
script\library.lua:184: in upvalue 'compileSingleMetaDoc'
script\library.lua:247: in upvalue 'initBuiltIn'
script\library.lua:514: in function 'library.init'
script\provider\provider.lua:141: in function <script\provider\provider.lua:121>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
attempt to index a nil value
stack traceback:
[C]: in for iterator 'for iterator'
script\vm\compiler.lua:932: in function <script\vm\compiler.lua:918>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:730: in function <script\vm\compiler.lua:663>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:741: in function <script\vm\compiler.lua:740>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\def.lua:199: in upvalue 'searchByNode'
script\vm\def.lua:241: in function 'vm.getDefs'
script\vm\doc.lua:153: in function 'vm.isAsync'
script\vm\doc.lua:254: in function 'vm.isAsyncCall'
script\core\hint.lua:230: in local 'callback'
script\parser\guide.lua:646: in function 'parser.guide.eachSourceBetween'
script\core\hint.lua:224: in upvalue 'awaitHint'
script\core\hint.lua:247: in function 'core.hint'
script\provider\provider.lua:1182: in upvalue 'updateHint'
script\provider\provider.lua:1203: in function <script\provider\provider.lua:1202>
stack traceback:
script\await.lua:216: in function 'await.step'
script\service\service.lua:169: in local 'doSomething'
script\service\service.lua:188: in function 'service.eventLoop'
script\service\service.lua:256: in function 'service.start'
***:78: in main chunk
***:82: in main chunk
[C]: in ?

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
script\vm\compiler.lua:148: attempt to index a nil value (local 'class')
stack traceback:
script\vm\compiler.lua:205: in function 'vm.compiler.getClassFields'
script\vm\compiler.lua:90: in function <script\vm\compiler.lua:87>
(...tail calls...)
script\vm\compiler.lua:451: in function 'vm.compiler.compileByParentNode'
script\vm\compiler.lua:774: in function <script\vm\compiler.lua:765>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:352: in upvalue 'getReturn'
script\vm\compiler.lua:881: in function <script\vm\compiler.lua:878>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
... (skipping 5 levels)
script\vm\doc.lua:113: in function 'vm.vm.isDeprecated'
script\core\diagnostics\deprecated.lua:37: in local 'callback'
script\parser\guide.lua:706: in function 'parser.guide.eachSourceTypes'
script\core\diagnostics\deprecated.lua:21: in function 'core.diagnostics.deprecated'
script\core\diagnostics\init.lua:76: in upvalue 'check'
script\core\diagnostics\init.lua:117: in function 'core.diagnostics'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:268: in function 'provider.diagnostic.doDiagnostic'
[C]: in function 'xpcall'
script\provider\diagnostic.lua:397: in function 'provider.diagnostic.awaitDiagnosticsScope'
script\provider\diagnostic.lua:420: in function <script\provider\diagnostic.lua:419>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.0
script\vm\def.lua:175: attempt to index a nil value (local 'source')
stack traceback:
script\vm\def.lua:238: in function 'vm.vm.getDefs'
script\core\hover\description.lua:152: in upvalue 'buildEnumChunk'
script\core\hover\description.lua:209: in upvalue 'getBindEnums'
script\core\hover\description.lua:294: in function <script\core\hover\description.lua:241>
(...tail calls...)
script\core\hover\description.lua:361: in function 'core.hover.description'
script\core\hover\init.lua:34: in local 'addHover'
script\core\hover\init.lua:52: in function 'core.hover.get'
script\core\completion\completion.lua:237: in upvalue 'buildDesc'
script\core\completion\completion.lua:504: in function <script\core\completion\completion.lua:501>
(...tail calls...)
script\core\completion\completion.lua:1949: in function 'core.completion.completion.resolve'
script\provider\provider.lua:642: in function <script\provider\provider.lua:634>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>

@sumneko
Copy link
Collaborator Author

sumneko commented Apr 11, 2022

version: 3.0.0
client: Visual Studio Code 1.66.1
script\vm\compiler.lua:1350: attempt to divide by zero
stack traceback:
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:1428: in upvalue 'compileByGlobal'
script\vm\compiler.lua:1496: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:1456: in upvalue 'compileByGlobal'
script\vm\compiler.lua:1496: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:445: in function 'vm.compiler.compileByParentNode'
script\vm\compiler.lua:774: in function <script\vm\compiler.lua:765>
(...tail calls...)
script\vm\compiler.lua:1407: in upvalue 'compileByNode'
script\vm\compiler.lua:1497: in function 'vm.compiler.compileNode'
... (skipping 26 levels)
script\vm\compiler.lua:1496: in function 'vm.compiler.compileNode'
script\vm\compiler.lua:1456: in upvalue 'compileByGlobal'
script\vm\compiler.lua:1496: in function 'vm.compiler.compileNode'
script\vm\infer.lua:162: in function 'vm.infer.getInfer'
script\core\semantic-tokens.lua:20: in function <script\core\semantic-tokens.lua:15>
(...tail calls...)
script\core\semantic-tokens.lua:790: in local 'callback'
script\parser\guide.lua:646: in function 'parser.guide.eachSourceBetween'
script\core\semantic-tokens.lua:789: in function 'core.semantic-tokens'
script\provider\provider.lua:911: in function <script\provider\provider.lua:905>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>

sumneko added a commit that referenced this issue Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working telemetry Related to the telemetry feature
Projects
None yet
Development

No branches or pull requests

1 participant