java.lang.RuntimeException: Cannot load fixture data.yml: play.exceptions.UnexpectedException: Unexpected Error

Stack Overflow | Ruzard | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Can't load "data.yml" in tests, java.lang.RuntimeException

    Stack Overflow | 6 years ago | Ruzard
    java.lang.RuntimeException: Cannot load fixture data.yml: play.exceptions.UnexpectedException: Unexpected Error
  2. 0

    Invalid version format with WS

    Google Groups | 6 years ago | Nicholas C. Zakas
    java.lang.IllegalArgumentException: invalid version format: ??? ????? 9??3?? N►Q E:⌂?R???#?? ♠>?? ?O?<XO??'?
  3. 0

    IllegalArgumentException with WS.url() and pipe character

    Google Groups | 6 years ago | Nicholas C. Zakas
    java.lang.IllegalArgumentException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can not set java.sql.Date field models.Post.postedAt to java.util.Date

      at play.data.binding.BeanWrapper$Property.setValue()
    2. Play
      Binder.bind
      1. play.data.binding.BeanWrapper$Property.setValue(BeanWrapper.java:225)
      2. play.data.binding.BeanWrapper.bind(BeanWrapper.java:70)
      3. play.db.jpa.GenericModel.edit(GenericModel.java:153)
      4. play.db.jpa.GenericModel.create(GenericModel.java:48)
      5. play.db.jpa.JPAPlugin.bind(JPAPlugin.java:81)
      6. play.plugins.PluginCollection.bind(PluginCollection.java:469)
      7. play.data.binding.Binder.bind(Binder.java:309)
      8. play.data.binding.Binder.bind(Binder.java:302)
      8 frames
    3. Play Test
      Fixtures.loadModels
      1. play.test.Fixtures.loadModels(Fixtures.java:196)
      1 frame
    4. Unknown
      BasicTest.fullTest
      1. BasicTest.fullTest(BasicTest.java:137)
      1 frame
    5. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      5 frames
    6. Play Test
      PlayJUnitRunner$StartPlay$2$1.evaluate
      1. play.test.PlayJUnitRunner$StartPlay$2$1.evaluate(PlayJUnitRunner.java:98)
      1 frame
    7. JUnit
      ParentRunner.run
      1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      8. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      8 frames
    8. Play Test
      PlayJUnitRunner.run
      1. play.test.PlayJUnitRunner.run(PlayJUnitRunner.java:48)
      1 frame
    9. JUnit
      JUnitCore.run
      1. org.junit.runners.Suite.runChild(Suite.java:128)
      2. org.junit.runners.Suite.runChild(Suite.java:24)
      3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      8. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      9. org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      10. org.junit.runner.JUnitCore.run(JUnitCore.java:136)
      11. org.junit.runner.JUnitCore.run(JUnitCore.java:117)
      11 frames
    10. Play Test
      TestEngine.run
      1. play.test.TestEngine.run(TestEngine.java:101)
      1 frame
    11. controllers
      TestRunner.run
      1. controllers.TestRunner.run(TestRunner.java:67)
      1 frame
    12. Play
      ActionInvoker.invoke
      1. play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:540)
      2. play.mvc.ActionInvoker.invoke(ActionInvoker.java:498)
      3. play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:474)
      4. play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:469)
      5. play.mvc.ActionInvoker.invoke(ActionInvoker.java:157)
      5 frames