OS: Windows 10
Build: https://vscjavaci.cloudapp.net/job/vscode-java-debug.vsix/16/Azure/
VSCode: 1.16.1 x86
JDK: 1.8.0.14 x64
Repro Steps:


[Error - 10:23:54 PM] Sep 19, 2017 10:18:52 PM An internal error occurred during: "Periodic workspace save.".
org/eclipse/core/runtime/Plugin$2
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Plugin$2
at org.eclipse.core.runtime.Plugin.savePluginPreferences(Plugin.java:385)
at org.eclipse.core.internal.resources.SaveManager.saveMetaInfo(SaveManager.java:1310)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1233)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1165)
at org.eclipse.core.internal.resources.DelayedSnapshotJob.run(DelayedSnapshotJob.java:52)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.Plugin$2 cannot be found by org.eclipse.core.runtime_3.13.0.v20170207-1030
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 6 more
OS: Windows 10
Build: https://vscjavaci.cloudapp.net/job/vscode-java-debug.vsix/17/Azure/
VSCode: 1.16.1 x86/x64
JDK: 1.8.0.14 x64
Sometimes, when you uninstall Java debugging extensions for Visual Studio code, it is always in the uninstalling state.But when you restart vscode you will find that the plugin has been uninstalled.

@yaohaizh please take a look at this issue. If this is vscode issue, open the issue in their repo.
OS: Windows 10
Build: 43
VSCode: 1.17.0 (x86/x64)
JDK: 1.8.0.14 x64
uninstall plugin:

This issue is not tracked and was closed by bots at vscode side. @yaohaizh please check the vscode side to see whether further fix is needed.
Microsoft/vscode#34794
The original is fixed.
For this one, it will pop up about the file is been locked, which is a common handling mechanism for locked resources that found on windows/linux.
So close this issue as by design.
Uninstall Java Extension Pack first if you want to uninstall Java Debug
Most helpful comment
Uninstall Java Extension Pack first if you want to uninstall Java Debug