quarkiverse / quarkus-bon-jova-rockstar

An implementation of Rockstar as a JVM language
https://codewithrockstar.com/
3 stars 2 forks source link

Intermittent test failure in RemoteLyricsReader #140

Closed holly-cummins closed 7 months ago

holly-cummins commented 7 months ago
Caused by: org.codehaus.groovy.GroovyBugError: BUG! exception in phase 'class generation' in source unit 'Script1.groovy' unexpected NullPointerException
    at org.codehaus.groovy.control.CompilationUnit$IPrimaryClassNodeOperation.doPhaseOperation (CompilationUnit.java:943)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations (CompilationUnit.java:692)
    at org.codehaus.groovy.control.CompilationUnit.compile (CompilationUnit.java:666)
    at groovy.lang.GroovyClassLoader.doParseClass (GroovyClassLoader.java:373)
    at groovy.lang.GroovyClassLoader.lambda$parseClass$2 (GroovyClassLoader.java:316)
    at org.codehaus.groovy.runtime.memoize.StampedCommonCache.compute (StampedCommonCache.java:163)
    at org.codehaus.groovy.runtime.memoize.StampedCommonCache.getAndPut (StampedCommonCache.java:154)
    at groovy.lang.GroovyClassLoader.parseClass (GroovyClassLoader.java:314)
    at groovy.lang.GroovyShell.parseClass (GroovyShell.java:572)
    at groovy.lang.GroovyShell.parse (GroovyShell.java:585)
    at groovy.lang.GroovyShell.parse (GroovyShell.java:597)
    at groovy.lang.GroovyShell.evaluate (GroovyShell.java:459)
    at groovy.lang.GroovyShell.evaluate (GroovyShell.java:495)
    at groovy.lang.GroovyShell.evaluate (GroovyShell.java:469)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke (PlainObjectMetaMethodSite.java:43)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke (PogoMetaMethodSite.java:186)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call (PogoMetaMethodSite.java:75)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call (AbstractCallSite.java:139)
    at io.restassured.internal.path.json.JSONAssertion.eval (JSONAssertion.groovy:84)
    at io.restassured.internal.path.json.JSONAssertion.this$2$eval (JSONAssertion.groovy)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke (PlainObjectMetaMethodSite.java:43)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke (PogoMetaMethodSite.java:198)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent (PogoMetaMethodSite.java:62)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent (AbstractCallSite.java:203)
    at io.restassured.internal.path.json.JSONAssertion.getAsJsonObject (JSONAssertion.groovy:46)
    at io.restassured.internal.path.json.JSONAssertion$getAsJsonObject.callCurrent (Unknown Source)
    at io.restassured.internal.path.json.JSONAssertion.getResult (JSONAssertion.groovy:28)
    at io.restassured.path.json.JsonPath.get (JsonPath.java:203)
    at io.quarkiverse.bonjova.lyrics.RemoteLyricsReader$OvhLyricsProvider.provideLyrics (RemoteLyricsReader.java:219)
    at io.quarkiverse.bonjova.lyrics.RemoteLyricsReader.readRemoteLyrics (RemoteLyricsReader.java:187)
    at io.quarkiverse.bonjova.lyrics.RemoteLyricsReader.lambda$readRemoteLyrics$0 (RemoteLyricsReader.java:145)
hannotify commented 7 months ago

Fixed.