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

Stack Overflow | Ruzard | 6 years ago
  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

    NewTips | Hibernate DAO setting object value as object

    newtips.co | 7 months ago
    org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.util.Date centaurus.domain.User.created] by reflection for persistent property [centaurus.domain.User#created] : User{id=0, email='test', created=Wed Jun 08 13:06:53 BST 2016}
  3. 0

    Solr query to beans - java.lang.IllegalArgumentException

    Stack Overflow | 2 years ago | Brooks
    org.apache.solr.client.solrj.beans.BindingException: Could not instantiate object of class com.mycompany.MyProject.twitter.util.TwitterStatusModel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hibernate ogm mongodb Timestamp

    Stack Overflow | 2 weeks ago | Med Besbes
    javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Could not set field value [TS time:Mon Jun 27 16:46:59 CEST 2016 inc:83] value by reflection : [class com.energielibre.middleware.service.mongodatalayergeneric.beans.EnlFluxF12Entry.sysReadDateTime] setter of com.energielibre.middleware.service.mongodatalayergeneric.beans.EnlFluxF12Entry.sysReadDateTime
  6. 0

    Solr - Can not set java.sql.Timestamp field ...created to java.util.Date

    Stack Overflow | 4 years ago | user1731299
    java.lang.IllegalArgumentException: Can not set java.sql.Timestamp field com.solr.SearchRequestResponseObject.created to java.util.Date

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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