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

javax.management.RuntimeMBeanException: java.lang.NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 7883

    Description

      2017-03-01 12:03:31,584 | WARN | ntLoopGroup-13-2 | Get | 362 - org.opendaylight.netconf.monitoring - 1.2.0.SNAPSHOT | Get operation for netconf-state subtree failed
      javax.management.RuntimeMBeanException: java.lang.NullPointerException
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)[:1.8.0_121]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)[:1.8.0_121]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:651)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)[:1.8.0_121]
      at org.opendaylight.controller.config.util.ConfigRegistryJMXClient.getAttributeCurrentValue(ConfigRegistryJMXClient.java:218)[127:org.opendaylight.controller.config-util:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.mapping.config.InstanceConfig.getMappedConfiguration(InstanceConfig.java:74)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.mapping.config.InstanceConfig.toXml(InstanceConfig.java:93)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.runtime.InstanceRuntime.toXml(InstanceRuntime.java:94)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.runtime.InstanceRuntime.toXml(InstanceRuntime.java:111)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.runtime.InstanceRuntime.toXml(InstanceRuntime.java:89)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.runtime.ModuleRuntime.toXml(ModuleRuntime.java:48)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.runtime.Runtime.toXml(Runtime.java:89)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.get(ConfigSubsystemFacade.java:403)[133:org.opendaylight.controller.config-manager-facade-xml:0.6.0.SNAPSHOT]
      at org.opendaylight.netconf.confignetconfconnector.operations.get.Get.handleWithNoSubsequentOperations(Get.java:44)[361:org.opendaylight.netconf.config-netconf-connector:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.util.mapping.AbstractLastNetconfOperation.handle(AbstractLastNetconfOperation.java:33)[349:org.opendaylight.netconf.util:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.util.mapping.AbstractNetconfOperation.handle(AbstractNetconfOperation.java:101)[349:org.opendaylight.netconf.util:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:167)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.monitoring.Get.handle(Get.java:64)[362:org.opendaylight.netconf.monitoring:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:167)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.notifications.impl.ops.Get.handle(Get.java:57)[360:org.opendaylight.netconf.notifications-impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:167)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.executeOperationWithHighestPriority(NetconfOperationRouterImpl.java:111)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.onNetconfMessage(NetconfOperationRouterImpl.java:84)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.processDocument(NetconfServerSessionListener.java:122)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:87)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:33)[359:org.opendaylight.netconf.impl:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:64)[350:org.opendaylight.netconf.netty-util:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:35)[350:org.opendaylight.netconf.netty-util:1.2.0.SNAPSHOT]
      at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:53)[339:org.opendaylight.controller.protocol-framework:0.9.0.SNAPSHOT]
      at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)[143:io.netty.transport:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[145:io.netty.codec:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[145:io.netty.codec:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)[143:io.netty.transport:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[145:io.netty.codec:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[145:io.netty.codec:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:443)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.local.LocalChannel.access$500(LocalChannel.java:49)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:397)[143:io.netty.transport:4.1.8.Final]
      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)[142:io.netty.common:4.1.8.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)[142:io.netty.common:4.1.8.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445)[143:io.netty.transport:4.1.8.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)[142:io.netty.common:4.1.8.Final]
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)[142:io.netty.common:4.1.8.Final]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
      Caused by: java.lang.NullPointerException
      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)
      at org.opendaylight.bgpcep.pcep.topology.provider.SessionListenerState.getSessionState(SessionListenerState.java:111)
      at org.opendaylight.bgpcep.pcep.topology.provider.AbstractTopologySessionListener.getSessionState(AbstractTopologySessionListener.java:638)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_121]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_121]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_121]
      at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_121]
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)[:1.8.0_121]
      at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_121]
      at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_121]
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:83)[:1.8.0_121]
      at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:206)[:1.8.0_121]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)[:1.8.0_121]
      ... 53 more
      2017-03-01 12:03:31,612 | WARN | oupCloseable-3-1 | NetconfDeviceCommunicator | 356 - org.opendaylight.netconf.sal-netconf-connector - 1.5.0.SNAPSHOT | RemoteDevice

      {controller-config}

      : Error reply from remote device, request: <rpc message-id="m-1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <get>
      <filter xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:type="subtree">
      <netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
      <schemas/>
      </netconf-state>
      </filter>
      </get>
      </rpc>
      , response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-1">
      <rpc-error>
      <error-type>application</error-type>
      <error-tag>operation-failed</error-tag>
      <error-severity>error</error-severity>
      <error-message>Get operation for netconf-state subtree failed</error-message>
      <error-info>
      <ERROR>java.lang.NullPointerException</ERROR>
      </error-info>
      </rpc-error>
      </rpc-reply>

      NetconfDocumentedException{message=Get operation for netconf-state subtree failed, errorType=APPLICATION, errorTag=OPERATION_FAILED, errorSeverity=ERROR, errorInfo={ERROR=java.lang.NullPointerException}}
      at org.opendaylight.netconf.api.NetconfDocumentedException.fromXMLDocument(NetconfDocumentedException.java:46)[340:org.opendaylight.netconf.api:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.sal.connect.netconf.util.NetconfMessageTransformUtil.checkSuccessReply(NetconfMessageTransformUtil.java:206)[356:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.processMessage(NetconfDeviceCommunicator.java:314)[356:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:262)[356:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:49)[356:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:64)[350:org.opendaylight.netconf.netty-util:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:35)[350:org.opendaylight.netconf.netty-util:1.2.0.SNAPSHOT]
      at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:53)[339:org.opendaylight.controller.protocol-framework:0.9.0.SNAPSHOT]
      at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)[143:io.netty.transport:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[145:io.netty.codec:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[145:io.netty.codec:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)[143:io.netty.transport:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[145:io.netty.codec:4.1.8.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[145:io.netty.codec:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38)[143:io.netty.transport:4.1.8.Final]
      at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:354)[143:io.netty.transport:4.1.8.Final]
      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)[142:io.netty.common:4.1.8.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)[142:io.netty.common:4.1.8.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445)[143:io.netty.transport:4.1.8.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)[142:io.netty.common:4.1.8.Final]
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)[142:io.netty.common:4.1.8.Final]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

      Attachments

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

        Activity

          People

            jmorvay@cisco.com Jakub Morvay
            cdgasparini Claudio David Gasparini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: