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

Initialization in sal failed, disconnecting from device

    XMLWordPrintable

Details

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

    • 8150

    Description

      2017-03-27 08:43:54,840 | INFO | sing-executor-11 | MasterSalFacade | 289 - org.opendaylight.netconf.topology-singleton - 1.2.0.SNAPSHOT | RemoteDevice

      {test-device}: Creating master data broker for device
      2017-03-27 08:43:54,845 | ERROR | sing-executor-11 | NetconfDevice | 286 - org.opendaylight.netconf.sal-netconf-connector - 1.5.0.SNAPSHOT | RemoteDevice{test-device}

      : Initialization in sal failed, disconnecting from device
      java.lang.NullPointerException: Closed
      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)[57:com.google.guava:18.0.0]
      at org.opendaylight.netconf.sal.connect.netconf.sal.NetconfDeviceSalProvider$MountInstance.onTopologyDeviceConnected(NetconfDeviceSalProvider.java:139)[286:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.MasterSalFacade.registerMasterMountPoint(MasterSalFacade.java:150)[289:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.MasterSalFacade.onDeviceConnected(MasterSalFacade.java:91)[289:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.MasterSalFacade.onDeviceConnected(MasterSalFacade.java:44)[289:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice.handleSalInitializationSuccess(NetconfDevice.java:213)[286:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice$SchemaSetup.setUpSchema(NetconfDevice.java:461)[286:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice$SchemaSetup.run(NetconfDevice.java:426)[286:org.opendaylight.netconf.sal-netconf-connector:1.5.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

      NetconfDeviceSalProvider MountInstace close() must be called before onTopologyDeviceConnected is called, causing it to fail with this message.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              miroslav.kovac@pantheon.tech Miroslav Kovac
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: