Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8344

[Broker-J] Generation of virtal host registry dump fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-broker-7.1.0, qpid-java-broker-7.1.1, qpid-java-broker-7.1.2, qpid-java-broker-7.1.3, qpid-java-broker-7.1.4
    • qpid-java-broker-7.1.5
    • Broker-J
    • None

    Description

      Generation of link registry dump fail with the following stack trace

      2019-07-20 18:44:44,378 WARN  [qtp505675560-137] (o.a.q.s.m.p.s.r.AbstractServlet) - Unexpected exception processing request
      com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.apache.qpid.server.protocol.v1_0.LinkRegistryImpl$LinkRegistryDump$ContainerDump and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: java.util.Collections$SingletonMap["containers"]->java.util.Collections$UnmodifiableMap["testContainer-31"])
              at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:77)
              at com.fasterxml.jackson.databind.SerializerProvider.reportBadDefinition(SerializerProvider.java:1191)
              at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:313)
              at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:71)
              at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:33)
              at com.fasterxml.jackson.databind.ser.std.MapSerializer.serializeFields(MapSerializer.java:722)
              at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:643)
              at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:33)
              at com.fasterxml.jackson.databind.ser.std.MapSerializer.serializeFields(MapSerializer.java:722)
              at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:643)
              at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:33)
              at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
              at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
              at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3906)
              at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3177)
              at org.apache.qpid.server.protocol.v1_0.LinkRegistryImpl$LinkRegistryDump.write(LinkRegistryImpl.java:279)
              at org.apache.qpid.server.management.plugin.servlet.rest.AbstractServlet.writeTypedContent(AbstractServlet.java:296)
              at org.apache.qpid.server.management.plugin.servlet.rest.RestServlet.sendResponse(RestServlet.java:251)
              at org.apache.qpid.server.management.plugin.servlet.rest.RestServlet.doGet(RestServlet.java:119)
              at org.apache.qpid.server.management.plugin.servlet.rest.AbstractServlet.doGet(AbstractServlet.java:128)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
      

      Attachments

        Activity

          People

            orudyy Alex Rudyy
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: