fundacionjala / enforce-sonarqube-plugin

Apex static code analyzer.
MIT License
39 stars 38 forks source link

ERROR: Unable to parse file #132

Open nikunjgupta2190 opened 6 years ago

nikunjgupta2190 commented 6 years ago

Hi @goldmane,

I am getting following error for all the classes in my repository ERROR: Unable to parse file: d:\jenkins\workspace\src\classes\Test_case.cls ERROR: Parse error at line 656 column 115:

--> Map<Id, Case> mapCases = new Map<Id, Case>([SELECT Id, OwnerId FROM Case WHERE Id IN :cases]);

Please confirm how can we resolve this issue. It is impacting our entire code analysis as there many occurrences of the above error.

It is very urgent to be resolved.

Thanks

nikunjgupta2190 commented 6 years ago

Hi,

I kindly help in addressing the issue as it is a blocker for us. Looking for a positive workaround in the situation.

Thanks Nikunj Gupta

nikunjgupta2190 commented 6 years ago

Hi,

Is there anybody who can respond to this issue. It is really urgent and a blocker for us.

Kindly respond.

Thanks

rahulAppirio commented 6 years ago

Hi Nikunj,

We are working on resolving some apex parsing issues. We will take this also in our list and try to resolve it asap. Once we resolved will update you.

Thanks for logging this issue.

Regards, Rahul Agrawal

raja-M1993 commented 5 years ago

Hi,

We are facing the same issue. It is impacting most of the classes and triggers. So most of the files are ignored. Please resolve this asap.

Kindly respond.

Thanks