Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-481

The MonitoringSchema should have a default constructor

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Duplicate
    • None
    • None
    • netconf
    • None

    Description

      The MonitoringSchema should have a default constructor like the MonitoringSession, otherwise, it will fail while execute the following code in JaxBSerializer
      JAXB_CONTEXT = JAXBContext.newInstance(NetconfState.class);

      it will result in
      java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.netconf.monitoring.xml.JaxBSerializer
      at org.opendaylight.netconf.monitoring.Get.handle(Get.java:67)
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:182)
      at org.opendaylight.netconf.notifications.impl.ops.Get.handle(Get.java:56)
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:182)
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.executeOperationWithHighestPriority(NetconfOperationRouterImpl.java:111)
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.onNetconfMessage(NetconfOperationRouterImpl.java:84)
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.processDocument(NetconfServerSessionListener.java:113)
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:86)
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:29)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivanm1996 Ivan Martiniak
              HeYunBo YunBo He
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: