Hello,
 
When  I run gendarme exe from command line I get the below error
 
*Genderme Command:*
**C:\Users\Harish>"C:\Program Files (x86)\Gendarme\gendarme.exe" --config 
E:\FMRI\O2R\target\sonar\sonar.Gendarme --xml 
E:\FMRI\O2R\target\sonar\gendarme-report.xml --quiet --confidence normal+ 
--severity all E:\FMRI\O2R\bin\O2RWebApp.dll
 
Error message 
 
An uncaught exception occured. Please fill a bug report at *
https://bugzilla.novell.com/* <https://bugzilla.novell.com/>
Stack trace: System.ArgumentOutOfRangeException: Specified argument was out 
of the range of valid values.
   at Gendarme.Framework.Symbols.ExtractFirst(MethodDefinition method)
   at Gendarme.Framework.Symbols.ExtractFirst(TypeDefinition type)
   at Gendarme.Framework.Symbols.GetSource(Defect defect)
   at Gendarme.XmlResultWriter.CreateElement(Defect defect)
   at Gendarme.XmlResultWriter.CreateDefects()
   at Gendarme.ResultWriter.Report()
   at Gendarme.ConsoleRunner.Report()
   at Gendarme.ConsoleRunner.Execute(String[] args)
 
When I add a limit field to this command line argument it goes through till 
value 2740. I fould from genderme wizard that the command found 2757 
defects/violations. Please suggest on how to get around this issue.
 
The below command works retuning me a report.xml with 2740 defects
 

"C:\Program Files\gendarme-2.10-bin\gendarme.exe" --config 
E:\FMRI\O2R\target\sonar\sonar.Gendarme --xml 
E:\FMRI\O2R\target\sonar\gendarme-report.xml --limit *2740* --confidence 
normal+ --severity all E:\FMRI\O2R\bin\O2RWebApp.dll

 

The below command is failing with  System.ArgumentOutOfRangeException

 

"C:\Program Files\gendarme-2.10-bin\gendarme.exe" --config 
E:\FMRI\O2R\target\sonar\sonar.Gendarme --xml 
E:\FMRI\O2R\target\sonar\gendarme-report.xml --limit *2745* --confidence 
normal+ --severity all E:\FMRI\O2R\bin\O2RWebApp.dll

 

Please let me know if anyone has faced this issue.

 

 

 

 

 
 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Gendarme" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/gendarme/-/yH2r5uk9sTEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gendarme?hl=en.

Reply via email to