You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[renderer1] [error] Cannot read property 'slice' of undefined: TypeError: Cannot read property 'slice' of undefined
at l.printTask (<projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:646781)
at <projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:646660
at Array.forEach (<anonymous>)
at l.printTasks (<projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:646643)
at <projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:646591
at a.fire (<projectpath>\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:66:1712)
at Object.u.updateServerTask (<projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:648566)
at <projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:666970
at <projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:893886
at <projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:894104
at Immediate._onImmediate (<projectpath>\data\extensions\redhat.java-1.0.0\dist\extension.js:2:895652)
at processImmediate (internal/timers.js:461:21)
Environment
Operating System: Windows 10 Latest
JDK version: 1.8-14
Visual Studio Code version: 1.61.2
Java extension version: v1.0.0
Steps To Reproduce
Start VSCode with Language Support for Java(TM) by Red Hat extension
Activity
fbricon commentedon Nov 10, 2025
I believe this was fixed 3 years ago, by eclipse-jdtls/eclipse.jdt.ls@e64c205#diff-fd5c56b9cb5b5d6284eb995eb75b220631d55836ed4d7c5bc123bca9c7e1dbb9R184, which guarantees the token is non-null in all situations.