解決方法:
コードを修正してから再コンパイルします。
例:
次の例で、AS の正しい使用法および AS IS の誤った使用法を示します。
       class-id A.
       method-id main static.
           declare o1 as object = type System.DateTime::Now
           declare dt1 = o1 as type System.DateTime       *> ok, will unbox o1
           declare dt2 = o1 as if type System.DateTime    *> Error, as there is no null value
           display dt1
       end method.
       end class.