Open
Description
root ERROR Arduino: 2019/12/09 13:35:43 Command error: e:\BOY\dev\Arduino PRO IDE\resources\app\node_modules\arduino-ide
-extension\build\arduino-cli.exe exit status 1
2019/12/09 13:35:43 ------------------------------BEGIN STDOUT
Updating index: library_index.json downloaded ? 60523.50%
------------------------------END STDOUT
2019/12/09 13:35:43 ------------------------------BEGIN STDERR
Error during build: platform not installed
------------------------------END STDERR
root ERROR Arduino: 2019/12/09 13:36:55 Command error: e:\BOY\dev\Arduino PRO IDE\resources\app\node_modules\arduino-ide
-extension\build\arduino-cli.exe exit status 1
2019/12/09 13:36:55 ------------------------------BEGIN STDERR
Error during build: platform not installed
------------------------------END STDERR
root ERROR Arduino: panic: runtime error: slice bounds out of range
goroutine 41 [running]:
github.com/bcmi-labs/arduino-language-server/handler.applyTextChange(0x69cd76, 0x1, 0x0, 0x5, 0x0, 0x5, 0x69cd73, 0x1, 0
x1, 0x0)
D:/a/1/s/handler/sourcemap.go:128 +0x2de
github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).updateFileData(0xc00009a000, 0xc00008e2d0, 0xc00008a3
80, 0x53, 0xc00004eb20)
D:/a/1/s/handler/handler.go:356 +0x609
root ERROR Arduino: github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).ino2cppDidChangeTextDocumentParam
s(0xc00009a000, 0xc00006aba0, 0x16, 0x1)
D:/a/1/s/handler/handler.go:435 +0x110
root ERROR Arduino:
github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).transformParamsToClangd(0xc00009a000, 0x5b7ac0
root ERROR Arduino: , 0xc0000560d0, 0xc000288cc0, 0x16, 0x544c20, 0xc00006aba0, 0x20f3838, 0x4, 0xc000224c30, ...)
D:/a/1/s/handler/handler.go:219 +0x49e
github.com/bcmi-labs/arduino-language-server/handler.(*InoHandler).FromStdio(0xc00009a000, 0x5b7ac0, 0xc0000560d0, 0xc00
008a180, 0xc000116550, 0x0, 0x0, 0x0, 0x0)
D:/a/1/s/handler/handler.go:119 +0x59c
github.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc000042420, 0x5b7ac0, 0xc0000560d0, 0xc00008a180,
0xc000116550)
C:/Users/VssAdministrator/go/pkg/mod/github.com/sourcegraph/[email protected]/handler_
with_error.go:21 +0x7a
created by github.com/sourcegraph/jsonrpc2.asyncHandler.Handle
C:/Users/VssAdministrator/go/pkg/mod/github.com/sourcegraph/[email protected]/async.go
:16 +0x72