Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1252

MetaDataParser will stack overflow when parsing circle references recursively

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • (Java) V4 4.4.0
    • (Java) V4 4.5.0
    • odata4-server
    • None

    Description

      It is a follow up of https://issues.apache.org/jira/browse/OLINGO-861. The fix introduce the recursively resolving of SchemaBasedEdmProvider. But it will have stack overflow when schema are referencing in circle.

      It is easy to reproduce, just update the test case 

      org.apache.olingo.server.core.MetadataParserTest#testReferenceLoad

      and change 

      parser.recursivelyLoadReferences(false);

      to 

      parser.recursivelyLoadReferences(true);

      and run it.

       

      Attachments

        Activity

          People

            rareddy Ramesh Reddy
            rogerc Roger Che
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: