'Error configuring pipeline debugger in Eclipse

enter image description hereI have been trying really hard to configure a pipeline debugger in eclipse. After using my digital server account in server configuration when i select my site and click 'Debug' button it gives me an error

Could not initialize class com.thoughtworks.xstream.converters.collections.TreeMapConverter

I couldn't find much help online. I even tried changing the JRE version to an older version 14.0.2 but it doesn't seem to help.

[![Image attached of error][2]][2]

enter image description here



Solution 1:[1]

That library seems to be a core component of the Pipeline editor. I would suggest that you ensure that your Eclipse version is compatible with the plugin if you haven't done so already.

Currently, according to the documentation it only supports:

  • Mars - Eclipse 4.5
  • Neon - Eclipse 4.6

Furthermore, you must install the correct version of the plugin for your version of Eclipse. (Though in the past I've found that older plugin versions may sometimes work in newer Eclipse builds.)

Solution 2:[2]

This error relates to discounted class from JRE.

So my recipe for solving the issue:

  • used OpenJDK v11
  • installed latest eclipce version
  • SFCC plugin v4.6

Some found issues:

  • with new eclipce version brakepoints are not set from JS editor only via ScriptEditor

Thank you, Aleksandr

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 sholsinger
Solution 2 Aleksandr Fedorov