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) )

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by ghost

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

Solutions on the web

via GitHub by sethrosetter
, 1 year ago
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) )
via GitHub by israelidanny
, 1 year ago
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) )
via GitHub by hideki
, 1 year ago
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) )
via GitHub by timukas
, 2 years ago
No serializer found for class org.graylog2.restclient.models.UserService$1 and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) )
via GitHub by timukas
, 2 years ago
No serializer found for class org.graylog2.restclient.models.api.requests.SessionCreateRequest and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) )
via GitHub by drcrallen
, 1 year ago
No serializer found for class io.druid.query.aggregation.datasketches.theta.SketchEstimateWithErrorBounds and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) )
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.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 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 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 java.lang.Thread.run(Thread.java:818)

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
2 times, 9 months ago
28 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.