improve ROV robustness in the face of mismatched rov.js and executable
diff --git a/src/packages/xdc/rov/Program.xs b/src/packages/xdc/rov/Program.xs
index c6c7648..51cad89 100644
--- a/src/packages/xdc/rov/Program.xs
+++ b/src/packages/xdc/rov/Program.xs
@@ -501,7 +501,9 @@
          * Run from the context of an object the module writer can assign 
          * stuff to.
          */
-        viewInitFunc.call(mod.userPrivate, view, desc.state);
+	if (desc.state != null) {
+            viewInitFunc.call(mod.userPrivate, view, desc.state);
+	}
     }
     catch (e) {
         var exception = "Caught exception in view init code: " + Program.exToString(e);
@@ -1005,7 +1007,7 @@
  */
 function filterSymbols(jSyms)
 {
-    if (jSyms.length == 0) {
+    if (jSyms == null || jSyms.length == 0) {
         return (new Array());
     }