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

Cannot read property 'text' of undefined #29

Closed
selcuksarikoz opened this issue Jun 17, 2017 · 1 comment
Closed

Cannot read property 'text' of undefined #29

selcuksarikoz opened this issue Jun 17, 2017 · 1 comment
Labels

Comments

@selcuksarikoz
Copy link

Cannot read property 'text' of undefined: TypeError: Cannot read property 'text' of undefined
at TagManager.updatePairedTag (/Users/imac/.vscode/extensions/formulahendry.auto-rename-tag-0.0.12/out/src/tagManager.js:64:70)
at vscode.workspace.onDidChangeTextDocument.event (/Users/imac/.vscode/extensions/formulahendry.auto-rename-tag-0.0.12/out/src/tagManager.js:14:18)
at e.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:14715)
at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:53565)
at t.$acceptDirtyStateChanged (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:343547)
at t.$acceptModelSaved (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:343330)
at t.e.handle (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:312304)
at s (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:176531)
at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:177208)
at _combinedTickCallback (internal/process/next_tick.js:67:7)


Illegal value for line: Error: Illegal value for line
at t._lineAt (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:254412)
at Object.lineAt (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:253202)
at TagManager.getWordAtPosition (/Users/imac/.vscode/extensions/formulahendry.auto-rename-tag-0.0.12/out/src/tagManager.js:33:33)
at TagManager.getCurrentWord (/Users/imac/.vscode/extensions/formulahendry.auto-rename-tag-0.0.12/out/src/tagManager.js:29:25)
at vscode.window.onDidChangeTextEditorSelection.event (/Users/imac/.vscode/extensions/formulahendry.auto-rename-tag-0.0.12/out/src/tagManager.js:11:18)
at e.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:14715)
at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:53565)
at t.$acceptSelectionsChanged (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:391342)
at t.e.handle (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:312304)
at s (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:23:176531)

@formulahendry
Copy link
Owner

This issue should be fixed in latest version. Let me know if you meet with the error again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants