org.codehaus.jackson.map.JsonMappingException: No serializer found for class org.json.JSONObject and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )

Stack Overflow | Syed | 4 months ago
  1. 0

    Not able to send JSON object to Ajax from Jersey REST web service

    Stack Overflow | 4 months ago | Syed
    org.codehaus.jackson.map.JsonMappingException: No serializer found for class org.json.JSONObject and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )
  2. 0

    Odd error when attempting to serialize to application/rdf+json

    GitHub | 3 years ago | cjcolvar
    javax.servlet.ServletException: javax.servlet.ServletException: org.codehaus.jackson.map.JsonMappingException: No serializer found for class com.hp.hpl.jena.shared.LockMRSW and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: com.hp.hpl.jena.sparql.core.DatasetImpl["lock"])
  3. 0

    query exception

    Google Groups | 4 years ago | warnero
    org.codehaus.jackson.map.JsonMappingException: No serializer found for class org.elasticsearch.common.BytesHolder and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.elasticsearch.action.search.SearchResponse["hits"]->org.elasticsearch.search.internal.InternalSearchHits["hits"]->org.elasticsearch.search.internal.InternalSearchHit["sourceRef"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Performing a REST API call to get a file revision with {{revisionInfo}} is successful if the output is set to XML: {noformat} https://fisheye.inst.com/crucible/rest-service-fe/revisionData-v1/revisionInfo/FE-hg?path=buildit.xml&revision=489fa21 {noformat} However, for JSON it [fails|^screenshot.png]: {noformat} https://fisheye.inst.com/crucible/rest-service-fe/revisionData-v1/revisionInfo/FE-hg.json?path=buildit.xml&revision=489fa21 {noformat} In FishEye the following stacktrace can be seen: {noformat} 2012-11-22 10:55:12,694 ERROR [btpool0-39 ] fisheye.app com.cenqua.fisheye.web.filters.TotalityFilter-logExceptionDetails - Exception "Conflicting getter definitions for property "ancestor": com.atlassian.fisheye.spi.data.FileRevisionData#getAncestor(0 params) vs com.atlassian.fisheye.spi.data.FileRevisionData#getAncestors(0 params)" (org.codehaus.jackson.map.JsonMappingException) while processing "/fisheye/rest/api/1.0/rest-service-fe/revisionData-v1/revisionInfo/FE-hg" (Referer:"null") org.codehaus.jackson.map.JsonMappingException: Conflicting getter definitions for property "ancestor": com.atlassian.fisheye.spi.data.FileRevisionData#getAncestor(0 params) vs com.atlassian.fisheye.spi.data.FileRevisionData#getAncestors(0 params) at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:740) at org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:344) at org.codehaus.jackson.map.ser.StdSerializerProvider.findTypedValueSerializer(StdSerializerProvider.java:420) at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:601) at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256) at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1604) at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:558) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) {noformat}

    Atlassian JIRA | 4 years ago | Ricardo Martins [Atlassian]
    org.codehaus.jackson.map.JsonMappingException: Conflicting getter definitions for property "ancestor": com.atlassian.fisheye.spi.data.FileRevisionData#getAncestor(0 params) vs com.atlassian.fisheye.spi.data.FileRevisionData#getAncestors(0 params)
  6. 0

    There is an error on the node page when displaying IP interfaces. See screenshot. Here is the stack trace: 2014-02-19 21:51:12,315 WARN [qtp795563034-544 - /opennms/rest/nodes/646/snmpinterfaces?limit=0] o.e.j.s.ServletHandler: /opennms/rest/nodes/646/snmpinterfaces org.codehaus.jackson.map.JsonMappingException: Problem introspecting bean properties: type mismatch between read and write methods (through reference chain: org.opennms.netmgt.model.OnmsSnmpInterfaceList[0]->org.opennms.netmgt.model.OnmsSnmpInterface["ipInterfaces"]->org.hibernate.collection.PersistentSet[0]) at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:736) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:369) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.impl.PropertySerializerMap.findAndAddSerializer(PropertySerializerMap.java:39) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.ContainerSerializers$AsArraySerializer._findAndAddDynamic(ContainerSerializers.java:221) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:437) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:383) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.ContainerSerializers$AsArraySerializer.serialize(ContainerSerializers.java:142) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:430) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializer.serializeFields(BeanSerializer.java:175) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializer.serialize(BeanSerializer.java:142) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:442) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:383) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.ContainerSerializers$AsArraySerializer.serialize(ContainerSerializers.java:142) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:606) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:280) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1345) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:527) ~[jackson-jaxrs-1.8.3.jar:1.8.3] at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) ~[jersey-server-1.10.jar:1.10] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437) ~[jersey-server-1.10.jar:1.10] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) ~[jersey-server-1.10.jar:1.10] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) ~[jersey-server-1.10.jar:1.10] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) ~[jersey-servlet-1.10.jar:1.10] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) ~[jersey-servlet-1.10.jar:1.10] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) ~[jersey-servlet-1.10.jar:1.10] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:?] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:654) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1320) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.opennms.container.web.felix.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:53) ~[?:?] at org.opennms.container.web.felix.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:35) ~[?:?] at org.opennms.container.web.felix.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:50) ~[?:?] at org.opennms.container.web.felix.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:42) ~[?:?] at org.opennms.container.web.bridge.internal.DispatcherFilter.doFilter(DispatcherFilter.java:72) ~[?:?] at org.opennms.container.web.ProxyFilter.doFilter(ProxyFilter.java:56) ~[org.opennms.container.servlet-1.13.1-SNAPSHOT.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExportFilter.java:49) ~[extremecomponents-1.0.1.jar:1.0.1] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.opennms.web.servlet.AddAccessControlHeaderFilter.doFilter(AddAccessControlHeaderFilter.java:55) ~[opennms-web-api-1.13.1-SNAPSHOT.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.opennms.web.servlet.StoreRequestPropertiesFilter.doFilter(StoreRequestPropertiesFilter.java:79) ~[opennms-web-api-1.13.1-SNAPSHOT.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.opennms.web.springframework.security.AuthFilterEnabler.doFilter(AuthFilterEnabler.java:108) ~[org.opennms.features.springframework-security-1.13.1-SNAPSHOT.jar:?] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233) ~[org.springframework.orm-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443) [jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) [jetty-security-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) [jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.Server.handle(Server.java:365) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-7.6.12.v20130726.jar:7.6.12.v20130726] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-7.6.12.v20130726.jar:7.6.12.v20130726] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45] Caused by: java.lang.IllegalArgumentException: Problem introspecting bean properties: type mismatch between read and write methods at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.getDescriptors(JaxbAnnotationIntrospector.java:973) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findPropertyDescriptor(JaxbAnnotationIntrospector.java:990) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findGettablePropertyName(JaxbAnnotationIntrospector.java:594) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.AnnotationIntrospector$Pair.findGettablePropertyName(AnnotationIntrospector.java:1230) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.introspect.BasicBeanDescription.findGetters(BasicBeanDescription.java:164) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:574) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:436) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:349) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:295) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:778) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:731) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] ... 93 more Caused by: java.beans.IntrospectionException: type mismatch between read and write methods at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:674) ~[?:1.7.0_45] at java.beans.PropertyDescriptor.setReadMethod(PropertyDescriptor.java:255) ~[?:1.7.0_45] at org.codehaus.jackson.xc.JaxbAnnotationIntrospector$PropertyDescriptors._processReadMethod(JaxbAnnotationIntrospector.java:1334) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.xc.JaxbAnnotationIntrospector$PropertyDescriptors.find(JaxbAnnotationIntrospector.java:1297) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.getDescriptors(JaxbAnnotationIntrospector.java:971) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findPropertyDescriptor(JaxbAnnotationIntrospector.java:990) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findGettablePropertyName(JaxbAnnotationIntrospector.java:594) ~[jackson-xc-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.AnnotationIntrospector$Pair.findGettablePropertyName(AnnotationIntrospector.java:1230) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.introspect.BasicBeanDescription.findGetters(BasicBeanDescription.java:164) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:574) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:436) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:349) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:295) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:778) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:731) ~[jackson-mapper-asl-1.8.3.jar:1.8.3] ... 93 more

    The OpenNMS Issue Tracker | 3 years ago | David Hustace
    org.codehaus.jackson.map.JsonMappingException

    16 unregistered visitors
    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. org.codehaus.jackson.map.JsonMappingException

      No serializer found for class org.json.JSONObject and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )

      at org.codehaus.jackson.map.ser.StdSerializerProvider$1.failForEmpty()
    2. Data Mapper for Jackson
      ObjectMapper.writeValue
      1. org.codehaus.jackson.map.ser.StdSerializerProvider$1.failForEmpty(StdSerializerProvider.java:90)
      2. org.codehaus.jackson.map.ser.StdSerializerProvider$1.serialize(StdSerializerProvider.java:63)
      3. org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:587)
      4. org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:245)
      5. org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1145)
      5 frames
    3. JAX-RS provider for JSON content type
      JacksonJsonProvider.writeTo
      1. org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:520)
      1 frame
    4. jersey-json
      JacksonProviderProxy.writeTo
      1. com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy.writeTo(JacksonProviderProxy.java:160)
      1 frame
    5. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
      2. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437)
      3. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
      4. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
      4 frames
    6. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    9. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
      10 frames
    11. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      3 frames
    12. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    13. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame