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

Mountpoints cannot connect due to BaseSchema failing to initialize

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Aluminium
    • Aluminium
    • None
    • None

      When creating a mountpoint the connection seems to always fail with:

       

      2020-05-11T11:55:15,686 | WARN | nioEventLoopGroupCloseable-3-1 | AbstractNetconfSessionNegotiator | 272 - org.opendaylight.netconf.netty-util - 1.9.0.SNAPSHOT | An exception occurred during negotiation with null
       io.netty.channel.ChannelPipelineException: org.opendaylight.netconf.client.NetconfClientSession.handlerAdded() has thrown an exception; removed.
       at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:624) [bundleFile:4.1.48.Final]
       at io.netty.channel.DefaultChannelPipeline.replace(DefaultChannelPipeline.java:572) [bundleFile:4.1.48.Final]
       at io.netty.channel.DefaultChannelPipeline.replace(DefaultChannelPipeline.java:509) [bundleFile:4.1.48.Final]
       at org.opendaylight.netconf.nettyutil.AbstractNetconfSessionNegotiator.negotiationSuccessful(AbstractNetconfSessionNegotiator.java:283) [bundleFile:?]
       at org.opendaylight.netconf.client.NetconfClientSessionNegotiator.access$100(NetconfClientSessionNegotiator.java:43) [bundleFile:?]
       at org.opendaylight.netconf.client.NetconfClientSessionNegotiator$ExiConfirmationInboundHandler.channelRead(NetconfClientSessionNegotiator.java:216) [bundleFile:?]
       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [bundleFile:4.1.48.Final]
       at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321) [bundleFile:4.1.48.Final]
       at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [bundleFile:4.1.48.Final]
       at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321) [bundleFile:4.1.48.Final]
       at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) [bundleFile:4.1.48.Final]
       at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:370) [bundleFile:4.1.48.Final]
       at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [bundleFile:4.1.48.Final]
       at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [bundleFile:4.1.48.Final]
       at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) [bundleFile:4.1.48.Final]
       at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [bundleFile:4.1.48.Final]
       at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [bundleFile:4.1.48.Final]
       at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [bundleFile:4.1.48.Final]
       at java.lang.Thread.run(Thread.java:834) [?:?]
       Caused by: java.util.ServiceConfigurationError: org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory: Provider org.opendaylight.yangtools.yang.parser.impl.YangParserFactoryImpl could not be instantiated
       at java.util.ServiceLoader.fail(ServiceLoader.java:581) ~[?:?]
       at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:803) ~[?:?]
       at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:721) ~[?:?]
       at java.util.ServiceLoader$3.next(ServiceLoader.java:1394) ~[?:?]
       at java.util.ServiceLoader.findFirst(ServiceLoader.java:1809) ~[?:?]
       at org.opendaylight.binding.runtime.spi.ServiceLoaderState$ParserFactory.<clinit>(ServiceLoaderState.java:27) ~[bundleFile:?]
       at org.opendaylight.binding.runtime.spi.BindingRuntimeHelpers.createEffectiveModel(BindingRuntimeHelpers.java:43) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.schema.mapping.BaseSchema.<init>(BaseSchema.java:44) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.schema.mapping.BaseSchema.<clinit>(BaseSchema.java:27) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.resolveBaseSchema(NetconfDevice.java:370) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.onRemoteSessionUp(NetconfDevice.java:159) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.onRemoteSessionUp(NetconfDevice.java:85) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onSessionUp(NetconfDeviceCommunicator.java:132) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onSessionUp(NetconfDeviceCommunicator.java:48) ~[bundleFile:?]
       at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.sessionUp(AbstractNetconfSession.java:101) ~[bundleFile:?]
       at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handlerAdded(AbstractNetconfSession.java:192) ~[bundleFile:?]
       at io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:971) [bundleFile:4.1.48.Final]
       at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) [bundleFile:4.1.48.Final]
       ... 25 more
       Caused by: java.lang.ExceptionInInitializerError: No YangXPathParserFactory found
       at org.opendaylight.yangtools.yang.parser.rfc7950.reactor.ServiceLoaderState$XPath.lambda$static$0(ServiceLoaderState.java:32) ~[bundleFile:?]
       at java.util.Optional.orElseThrow(Optional.java:408) ~[?:?]
       at org.opendaylight.yangtools.yang.parser.rfc7950.reactor.ServiceLoaderState$XPath.<clinit>(ServiceLoaderState.java:32) ~[bundleFile:?]
       at org.opendaylight.yangtools.yang.parser.rfc7950.reactor.RFC7950Reactors.vanillaReactorBuilder(RFC7950Reactors.java:326) ~[bundleFile:?]
       at org.opendaylight.yangtools.yang.parser.rfc7950.reactor.RFC7950Reactors.defaultReactorBuilder(RFC7950Reactors.java:289) ~[bundleFile:?]
       at org.opendaylight.yangtools.yang.parser.impl.DefaultReactors.defaultReactorBuilder(DefaultReactors.java:70) ~[bundleFile:?]
       at org.opendaylight.yangtools.yang.parser.impl.DefaultReactors$DefaultReactor.<clinit>(DefaultReactors.java:39) ~[bundleFile:?]
       at org.opendaylight.yangtools.yang.parser.impl.DefaultReactors.defaultReactor(DefaultReactors.java:60) ~[bundleFile:?]
       at org.opendaylight.yangtools.yang.parser.impl.YangParserFactoryImpl.<init>(YangParserFactoryImpl.java:43) ~[bundleFile:?]
       at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
       at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
       at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
       at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:779) ~[?:?]
       at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:721) ~[?:?]
       at java.util.ServiceLoader$3.next(ServiceLoader.java:1394) ~[?:?]
       at java.util.ServiceLoader.findFirst(ServiceLoader.java:1809) ~[?:?]
       at org.opendaylight.binding.runtime.spi.ServiceLoaderState$ParserFactory.<clinit>(ServiceLoaderState.java:27) ~[bundleFile:?]
       at org.opendaylight.binding.runtime.spi.BindingRuntimeHelpers.createEffectiveModel(BindingRuntimeHelpers.java:43) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.schema.mapping.BaseSchema.<init>(BaseSchema.java:44) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.schema.mapping.BaseSchema.<clinit>(BaseSchema.java:27) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.resolveBaseSchema(NetconfDevice.java:370) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.onRemoteSessionUp(NetconfDevice.java:159) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.onRemoteSessionUp(NetconfDevice.java:85) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onSessionUp(NetconfDeviceCommunicator.java:132) ~[bundleFile:?]
       at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onSessionUp(NetconfDeviceCommunicator.java:48) ~[bundleFile:?]
       at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.sessionUp(AbstractNetconfSession.java:101) ~[bundleFile:?]
       at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handlerAdded(AbstractNetconfSession.java:192) ~[bundleFile:?]
       at io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:971) [bundleFile:4.1.48.Final]
       at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) ~[bundleFile:4.1.48.Final]
       ... 25 more
       
      

       

            rovarga Robert Varga
            tcere Tomas Cere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: