groovy.lang.MissingFieldException: No such field: $spock_sharedField__browser for class: org.codehaus.groovy.runtime.NullObject

Stack Overflow | paul | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Invoke browser in Geb is not working

    Stack Overflow | 8 months ago | paul
    groovy.lang.MissingFieldException: No such field: $spock_sharedField__browser for class: org.codehaus.groovy.runtime.NullObject
  2. 0

    Setting up cucumber plugin with grails 2.3.8

    Stack Overflow | 2 years ago
    groovy.lang.MissingFieldException: No such field: $spock_sharedField__browser for class: org.codehaus.groovy.runtime.NullObject
  3. 0

    Grails User (Old Archive) - Urgent help ..error while running project in netbeans

    nabble.com | 2 years ago
    groovy.lang.MissingFieldException: No such field: name for class: org.codehaus.groovy.runtime.NullObject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Pipeline with single "forward" module crashes

    GitHub | 2 years ago | lonsbio
    java.lang.reflect.InvocationTargetException

    1 unregistered visitors

    Root Cause Analysis

    1. groovy.lang.MissingFieldException

      No such field: $spock_sharedField__browser for class: org.codehaus.groovy.runtime.NullObject

      at groovy.lang.MetaClassImpl.getAttribute()
    2. Groovy
      ScriptBytecodeAdapter.getField
      1. groovy.lang.MetaClassImpl.getAttribute(MetaClassImpl.java:2823)
      2. groovy.lang.MetaClassImpl.getAttribute(MetaClassImpl.java:3759)
      3. org.codehaus.groovy.runtime.InvokerHelper.getAttribute(InvokerHelper.java:145)
      4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getField(ScriptBytecodeAdapter.java:306)
      4 frames
    3. Geb for Spock
      GebSpec.get_browser
      1. geb.spock.GebSpec.get_browser(GebSpec.groovy)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. Groovy
      AbstractCallSite.callGroovyObjectGetProperty
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:76)
      4. org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:85)
      5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307)
      5 frames
    6. Geb for Spock
      GebSpec.propertyMissing
      1. geb.spock.GebSpec.getBrowser(GebSpec.groovy:42)
      2. geb.spock.GebSpec.propertyMissing(GebSpec.groovy:60)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    8. Groovy
      AbstractCallSite.callGroovyObjectGetProperty
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaClassImpl.invokeMissingProperty(MetaClassImpl.java:880)
      3. groovy.lang.MetaClassImpl$12.getProperty(MetaClassImpl.java:2026)
      4. org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:85)
      5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307)
      5 frames
    9. Rough
      InvokeBrowser.$spock_feature_1_0
      1. Rough.InvokeBrowser.$spock_feature_1_0(InvokeBrowserTest.groovy:26)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    11. TestNG
      RemoteTestNG.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      7. org.testng.TestRunner.privateRun(TestRunner.java:782)
      8. org.testng.TestRunner.run(TestRunner.java:632)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:268)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      17. org.testng.TestNG.run(TestNG.java:1064)
      18. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:113)
      19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:206)
      20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:177)
      20 frames