[NUI] Add try-catch block in New function (#2119)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / Interop / NDalicPINVOKE.cs
index 6c3577f..82b197e 100755 (executable)
@@ -193,6 +193,10 @@ namespace Tizen.NUI
                         }
                     }
                 }
+                if (e == null)
+                {
+                    e = new global::System.ApplicationException($"FATAL: Exception e is null, numExceptionsPending : {numExceptionsPending}");
+                }
                 return e;
             }
         }