Polatis netconf: fix the default device

Change-Id: Ib466a8e71a3f25d859b5dffeefc0d1bfc46674f1
diff --git a/drivers/polatis/netconf/src/main/java/org/onosproject/drivers/polatis/netconf/PolatisDeviceDescription.java b/drivers/polatis/netconf/src/main/java/org/onosproject/drivers/polatis/netconf/PolatisDeviceDescription.java
index 76c8bdb..21519ef 100644
--- a/drivers/polatis/netconf/src/main/java/org/onosproject/drivers/polatis/netconf/PolatisDeviceDescription.java
+++ b/drivers/polatis/netconf/src/main/java/org/onosproject/drivers/polatis/netconf/PolatisDeviceDescription.java
@@ -33,6 +33,7 @@
 
 import static org.onosproject.net.optical.device.OmsPortHelper.omsPortDescription;
 
+import org.onlab.packet.ChassisId;
 import org.onlab.util.Frequency;
 import org.onlab.util.Spectrum;
 
@@ -95,10 +96,10 @@
         DeviceId devid = handler().data().deviceId();
         Device dev = devsvc.getDevice(devid);
         if (dev == null) {
-            return new DefaultDeviceDescription(dev.id().uri(), FIBER_SWITCH,
+            return new DefaultDeviceDescription(devid.uri(), FIBER_SWITCH,
                     DEFAULT_MANUFACTURER, DEFAULT_DESCRIPTION_DATA,
                     DEFAULT_DESCRIPTION_DATA, DEFAULT_DESCRIPTION_DATA,
-                    dev.chassisId());
+                    new ChassisId());
         }
         String reply = netconfGet(handler(), getProductInformationFilter());
         HierarchicalConfiguration cfg = configAt(reply, KEY_DATA_PRODINF);