Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9580

Tessellator failure for a certain polygon

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.5, 8.6
    • 9.0
    • None
    • None
    • New

    Description

      This bug was discovered while using ElasticSearch (checked with versions 7.6.2 and 7.9.2).
      But I've created an isolated test case just for Lucene: https://github.com/apache/lucene-solr/pull/2006/files
       
      The unit test fails with "java.lang.IllegalArgumentException: Unable to Tessellate shape".
       
      The polygon contains two holes that share the same vertex and one more standalone hole.
      Removing any of them makes the unit test pass. 
       
      Changing the least significant digit in any coordinate of the "common vertex" in any of two first holes, so that these vertices become different in each hole - also makes unit test pass.

      Attachments

        Activity

          People

            ivera Ignacio Vera
            ivyshnevskyi Iurii Vyshnevskyi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m