groovy.lang.MissingFieldException: No such field: integer for class: org.facboy.MySubBean

GitHub | facboy | 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

    ObjectRendererService fails to render objects with fields defined in a superclass

    GitHub | 8 months ago | facboy
    groovy.lang.MissingFieldException: No such field: integer for class: org.facboy.MySubBean
  2. 0

    Ebean Groovy getAttribute: No such field in class

    Stack Overflow | 3 years ago | TIMBERings
    groovy.lang.MissingFieldException: No such field: id for class: com.bloomhealthco.fixtures.entities.MemberEventEntity$$EntityBean$default

    Root Cause Analysis

    1. groovy.lang.MissingFieldException

      No such field: integer for class: org.facboy.MySubBean

      at groovy.lang.MetaClassImpl.getAttribute()
    2. Groovy
      InvokerHelper.getAttribute
      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:147)
      3 frames
    3. Spock Framework - Core Module
      Sputnik.run
      1. org.spockframework.runtime.GroovyRuntimeUtil.getAttribute(GroovyRuntimeUtil.java:295)
      2. org.spockframework.runtime.condition.DiffedObjectAsBeanRenderer.render(DiffedObjectAsBeanRenderer.java:28)
      3. org.spockframework.runtime.condition.ObjectRendererService.render(ObjectRendererService.java:45)
      4. org.spockframework.runtime.JUnitSupervisor.renderValue(JUnitSupervisor.java:148)
      5. org.spockframework.runtime.JUnitSupervisor.convertToComparisonFailure(JUnitSupervisor.java:135)
      6. org.spockframework.runtime.JUnitSupervisor.error(JUnitSupervisor.java:86)
      7. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:483)
      8. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
      9. org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:406)
      10. org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:324)
      11. org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:309)
      12. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:481)
      13. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
      14. org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:288)
      15. org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:278)
      16. org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:269)
      17. org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:263)
      18. org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:246)
      19. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:481)
      20. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
      21. org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:238)
      22. org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:188)
      23. org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:98)
      24. org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:84)
      25. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:481)
      26. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:464)
      27. org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:76)
      28. org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:67)
      29. org.spockframework.runtime.Sputnik.run(Sputnik.java:63)
      29 frames
    4. JUnit
      JUnitCore.run
      1. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      1 frame
    5. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
      2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      2 frames
    6. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)
      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:498)
      4 frames
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame