com.fasterxml.jackson.databind.JsonMappingException

tip

Specify the order of serializing object field with the @JsonPropertyOrder annotation.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 1312#232840160
    via GitHub by sethrosetter
    ,
  • GitHub comment 1312#229568047
    via GitHub by hideki
    ,
  • JsonMappingException
    via GitHub by HanzhiDou
    ,
  • GitHub comment 924#229744559
    via GitHub by israelidanny
    ,
  • Jackson @JsonFilter Annotation
    via Stack Overflow by Jonas
    ,
  • Mixin Issue
    via GitHub by mnadeem
    ,
    • com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class org.mozilla.javascript.Undefined and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:59) at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:26) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:129) at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3383) at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:2777) at com.couchbase.lite.store.SQLiteViewStore.emit(SQLiteViewStore.java:588) at com.couchbase.lite.store.SQLiteViewStore$2.emit(SQLiteViewStore.java:372) at com.couchbase.lite.javascript.scopes.MapGlobalScope.emit(MapGlobalScope.java:39) at java.lang.reflect.Method.invoke(Native Method) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:476) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at com.couchbase.lite.javascript.ViewMapBlockRhino.map(ViewMapBlockRhino.java:66) at com.couchbase.lite.store.SQLiteViewStore.updateIndexes(SQLiteViewStore.java:545) at com.couchbase.lite.View.updateIndexes(View.java:321) at com.couchbase.lite.View.updateIndex(View.java:294) at com.couchbase.lite.router.Router.queryDesignDoc(Router.java:2401) at com.couchbase.lite.router.Router.do_GET_DesignDocument(Router.java:2433) at java.lang.reflect.Method.invoke(Native Method) at com.couchbase.lite.router.Router.start(Router.java:570) at com.couchbase.lite.listener.LiteServlet.service(LiteServlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2251) at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2176) at Acme.Serve.Serve$ServeConnection.run(Serve.java:1988) at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223) at java.lang.Thread.run(Thread.java:818)

    Users with the same issue

    rp
    1 times, last one,
    Andreas Häber
    1 times, last one,
    tomthomas
    2 times, last one,
    richard77
    2 times, last one,
    Luka
    1 times, last one,
    28 more bugmates