epam / sap-commerce-intellij-idea-plugin

A plugin for integration of SAP Commerce (aka Hybris) platform with JetBrains IntelliJ IDEA
https://plugins.jetbrains.com/plugin/12867-sap-commerce-developers-toolset/
GNU Lesser General Public License v3.0
54 stars 41 forks source link

Plugin causing an ERROR on sonarlint - ECJ: Unable to parse file #1248

Open brilliant-dolby opened 1 month ago

brilliant-dolby commented 1 month ago

Hi Dear Team from EPAM,

I'm having an issue with my SonarLint in IntelliJ while using your plugin to organize and manage my SAP Commerce local development. Please, see more details on the issue that I have raised with SonarLint.

[sonarlint-analysis-engine] ERROR sonarlint - ECJ: Unable to parse file

image

image

Please, let me know if you would like more information.

Hope it helps!

mlytvyn commented 1 month ago

@brilliant-dolby , please include version details of the IntelliJ IDEA and both plugins.

You can also try latest versions.

Sadly, but WSL is not fully supported by the plugin and I do not have Windows laptop to reproduce such issues.

I see various reference issues on your screenshots, can we have a short session so you can show me your issue in details? Feel free to join project Slack and drop me a private message.

brilliant-dolby commented 1 month ago

Thanks @mlytvyn ,

The code base and the server are in the WSL, but IntelliJ is running on Windows. If I load my project without the sap commerce tool plugin, I can scan the files with SonarLint, but when I use the plugin, I get this error, ERROR sonarlint - ECJ: Unable to parse file.

I was wondering if there are some settings that we could adjust to make it work. Your plugin works great with my project in WSL, just this conflict with SonarLint caught my attention.

Follow the details from my setup :

mlytvyn commented 1 month ago

@brilliant-dolby , at this point it will be challenging to figure out what is actually wrong for SonarLint, let's wait for their investigation results.