Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-4198

Build tests failure: Groovy can't compile scripts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Not Applicable
    • Fix Version/s: 6.5.3, 7.0.0
    • Component/s: Core
    • Labels:
      None
    • Sprint:
      2019.17 - IG / Microservices
    • Story Points:
      3
    • Flagged:
      Impediment

      Description

      Logs shows the following traces:

      10:10:56 shouldSupportGrapes(org.forgerock.openig.filter.GroovyScriptableFilterTest)  Time elapsed: 0.001 sec  <<< FAILURE!
      10:10:56 org.forgerock.json.JsonValueException: /: Unable to compile the script in file 'Grapes.groovy'
      10:10:56 	at groovy.util.GroovyScriptEngine.getResourceConnection(GroovyScriptEngine.java:400)
      10:10:56 	at groovy.util.GroovyScriptEngine.loadScriptByName(GroovyScriptEngine.java:535)
      10:10:56 	at org.forgerock.openig.script.Script$GroovyImpl.<init>(Script.java:45)
      10:10:56 	at org.forgerock.openig.script.Script.fromFile(Script.java:100)
      10:10:56 	at org.forgerock.openig.script.AbstractScriptableHeapObject$AbstractScriptableHeaplet.compileScript(AbstractScriptableHeapObject.java:154)
      10:10:56 	at org.forgerock.openig.script.AbstractScriptableHeapObject$AbstractScriptableHeaplet.create(AbstractScriptableHeapObject.java:90)
      10:10:56 	at org.forgerock.openig.filter.ScriptableFilter$Heaplet.create(ScriptableFilter.java:57)
      10:10:56 	at org.forgerock.openig.heap.GenericHeaplet.create(GenericHeaplet.java:75)
      10:10:56 	at org.forgerock.openig.filter.GroovyScriptableFilterTest.shouldSupportGrapes(GroovyScriptableFilterTest.java:825)
      

        Attachments

          Activity

            People

            Assignee:
            guillaume.sauthier Guillaume Sauthier
            Reporter:
            guillaume.sauthier Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: