Git Product home page Git Product logo

Comments (4)

aruld avatar aruld commented on May 27, 2024

I still see this problem with Play 1.2.5. Any idea?

play.exceptions.UnexpectedException: Unexpected Error
at play.modules.orientdb.Model.edit(Model.java:168)
at play.modules.orientdb.ODBPlugin.bind(ODBPlugin.java:111)
at play.PlayPlugin.bindBean(PlayPlugin.java:86)
at play.plugins.PluginCollection.bindBean(PluginCollection.java:589)
at play.data.binding.Binder.bindBean(Binder.java:288)
at controllers.CRUD.create(CRUD.java:142)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:557)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:508)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:484)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:479)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:161)
at Invocation.HTTP Request(Play!)
Caused by: play.exceptions.UnexpectedException: Unexpected Error
at play.modules.orientdb.Model.edit(Model.java:168)
at play.modules.orientdb.Model.edit(Model.java:151)
... 11 more
Caused by: java.lang.NullPointerException
at play.data.binding.Binder.internalBindBean(Binder.java:314)
at play.data.binding.Binder.bindBean(Binder.java:307)
at play.data.binding.BeanWrapper.bind(BeanWrapper.java:241)
at play.modules.orientdb.Model.edit(Model.java:165)
... 12 more

from orientdb.

aruld avatar aruld commented on May 27, 2024

I figured this out. I had to fix ODBPlugin to run with Play 1.2.5.

from orientdb.

mfornos avatar mfornos commented on May 27, 2024

Cool. Please, do a pull a request and i'll merge the changes.

You know if it still works with older versions (<1.2.5)?

Many thanks

from orientdb.

aruld avatar aruld commented on May 27, 2024

I made a number of changes to make the plugin work with the latest OrientDB 1.3.0 and Play 1.2.5. I haven't tested with earlier Play releases though, the deprecated Play APIs are retained for compatibility, so I believe it should still work. I will submit a PR and let me know if it looks good to you.

from orientdb.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.