I added HTML to the list of supported types so I could try to, well, do HTML file comparisons. In the GetCompareResultResponse method in ComparisonServiceImpl.cs it throws an error in this line:
List pages = SaveImages(compareResult.GetImages(), guid);
On the GetImages() call. It returns an exception that says “Length cannot be less than zero.” and “Parameter name: length”.
Stack trace is:
" at System.String.Substring(Int32 startIndex, Int32 length)\r\n at \u000f .SaveImages(String \u0002)\r\n at \u000f .GetImages()\r\n at GroupDocs.Comparison.MVC.Products.Comparison.Service.ComparisonServiceImpl.GetCompareResultResponse(ICompareResult compareResult) in D:\Code\GroupDocs-MVC\src\Products\Comparison\Service\ComparisonServiceImpl.cs:line 354\r\n at GroupDocs.Comparison.MVC.Products.Comparison.Service.ComparisonServiceImpl.CompareFiles(Stream firstContent, String firstPassword, Stream secondContent, String secondPassword, String fileExt) in D:\Code\GroupDocs-MVC\src\Products\Comparison\Service\ComparisonServiceImpl.cs:line 207\r\n at GroupDocs.Comparison.MVC.Products.Comparison.Controllers.ComparisonApiController.CompareFiles() in D:\Code\GroupDocs-MVC\src\Products\Comparison\Controllers\ComparisonApiController.cs:line 218"
I’m just starting to evaluate the tool, so no experience with it other than this morning. Any idea how I can get beyond this?