question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cant initialize workspace (wurstscript problem?)

See original GitHub issue

This is the continuation of peq/wurst4vscode#23

problem still exists.

Wurst0 log:

2017-06-27 22:30:38 INFO   ### Started wurst version: (1.7.0.0-jenkins-Wurst-342)
2017-06-27 22:30:38 INFO   ### With wurst-args -languageServer

VScode console log when I open VScode:

/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] Wurst extension activated!!
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] Server started 10668!
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] setup file logging
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] stderr: Exception in thread "main" 
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] stderr: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] stderr: 
	at de.peeeq.wurstio.Main.main(Main.java:65)
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] stderr: 

/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 [Extension Host] child process exited with code 1
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29 This socket has been ended by the other party: Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:294:12)
    at Promise (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:225:39)
    at WurstServer.sendRequest (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:213:16)
    at WurstHoverProvider.provideHover (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\features\hoverProvider.js:8:32)
    at c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:352279
    at c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:57373
    at new n.Class.derive._oncancel (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:46346)
    at Object.d [as asWinJsPromise] (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:57336)
    at e.provideHover (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:352233)
    at c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:362450
e.onUnexpectedError @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29

When I try to open a map using VScode, I get:

shell.ts:445 This socket has been ended by the other party: Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:294:12)
    at Promise (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:225:39)
    at WurstServer.sendRequest (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:213:16)
    at WurstServer.startMapIntern (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:268:55)
    at mapPromise.then.path (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:264:25)
    at Object.m [as _notify] (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:39252)
    at Object.enter (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:42826)
    at n.Class.derive._oncancel._run (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:44654)
    at n.Class.derive._oncancel._completed (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:44095)
    at c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:57805
e.onUnexpectedError	@	shell.ts:445
(anonymous)	@	shell.ts:405
e.onUnexpectedError	@	errors.ts:68
o	@	errors.ts:88
(anonymous)	@	winjs.base.js:43
(anonymous)	@	winjs.base.js:38
winjs.base.js:45 WARNING: Promise with no error callback:69
winjs.base.js:46 
Object
error
:
Error: This socket has been ended by the other party at Socket.writeAfterFIN [as write] (net.js:294:12) at Promise (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:225:39) at WurstServer.sendRequest (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:213:16) at WurstServer.startMapIntern (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:268:55) at mapPromise.then.path (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:264:25) at Object.m [as _notify] (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:39252) at Object.enter (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:42826) at n.Class.derive._oncancel._run (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:44654) at n.Class.derive._oncancel._completed (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:44095) at c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:57805
exception
:
null
handler
:
undefined
id
:
69
parent
:
undefined
promise
:
n.Class.derive._oncancel
__proto__
:
Object

when I try to clean wurst workspace, I get:

shell.ts:445 This socket has been ended by the other party: Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:294:12)
    at Promise (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:225:39)
    at WurstServer.sendRequest (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:213:16)
    at WurstServer.clean (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:230:61)
    at vscode.Disposable.from.vscode.commands.registerCommand (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\features\commands.js:5:169)
    at t.$executeContributedCommand (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:330741)
    at t.e.handle (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:312304)
    at s (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:176531)
    at h (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:177208)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
e.onUnexpectedError	@	shell.ts:445
(anonymous)	@	shell.ts:405
e.onUnexpectedError	@	errors.ts:68
o	@	errors.ts:88
(anonymous)	@	winjs.base.js:43
(anonymous)	@	winjs.base.js:38
winjs.base.js:45 WARNING: Promise with no error callback:71
winjs.base.js:46 
Object
error
:
Error: This socket has been ended by the other party at Socket.writeAfterFIN [as write] (net.js:294:12) at Promise (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:225:39) at WurstServer.sendRequest (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:213:16) at WurstServer.clean (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\WurstServer.js:230:61) at vscode.Disposable.from.vscode.commands.registerCommand (C:\Users\vital\.vscode\extensions\peterzeller.wurst-0.0.13\out\features\commands.js:5:169) at t.$executeContributedCommand (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:330741) at t.e.handle (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:312304) at s (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:176531) at h (c:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:177208) at _combinedTickCallback (internal/process/next_tick.js:67:7)
exception
:
null
handler
:
undefined
id
:
71
parent
:
undefined
promise
:
n.Class.derive._oncancel
__proto__
:
Object

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
vitalexbelcommented, Jun 27, 2017

after 343 build now everything completely works without any errors! many thanks

0reactions
Frottycommented, Jun 27, 2017

good.

Read more comments on GitHub >

github_iconTop Results From Across the Web

runmap error · Issue #29 · wurstscript/wurst4vscode - GitHub
Hello, this is my first experience using wurst and I got some troubles with runmap/build for the map: " Command 'wurst: Run a...
Read more >
Couldn't start client wurstLanguageServer | HIVE
Edit: Running VSCode as admin makes the error go away. This should be written in the instructions. ... initializing workspace initialization done!
Read more >
Manual - WurstScript
If an issue occurs inside the package init (exception, excessive computation) the map initialization will stop and an error is displayed.
Read more >
BadgeApp - OpenSSF Best Practices Badge Program
https://github.com/wurstscript/wurst-jar-wrapper ... In particular, the project MUST be able to create and close issues, accept proposed changes, ...
Read more >
Practically Joker - TV Tropes
VideoExamples; Create New. - Create New -, Analysis · Characters · FanficRecs ... The only problem here? Ledger's Joker has become the go-to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found