Article - CS337524

Can't delete extension and it fails with message:"An error occurred while generating JavsScript resources for AnalyticsSmartGrid_ExtensionPackage" in ThingWorx Platform

Modified: 19-Jan-2021   


Applies To

  • ThingWorx Platform 9.0 to 9.1

Description

  • Can't delete extension and it fails with message:Unable to delete Extension: [Mail_Extensions] An error occurred while generating JavsScript resources for AnalyticsSmartGrid_ExtensionPackage:1.1.6. Check the application log for more details.
  • The complete error messages in ApplicationLog.log is below
2021-01-18 14:41:44.009+0800 [L: ERROR] [O: c.t.e.r.UIResourceCollection] [I: ] [U: SuperUser] [S: ] [P: ] [T: http-nio-80-exec-4] /data/tomcat9.0/9.0.39/webapps/Thingworx/Common/extensions/AnalyticsSmartGrid_ExtensionPackage/ui/analyticsSmartGrid/analyticsSmartGridWidget.ide.js (Permission denied)
2021-01-18 14:41:44.009+0800 [L: ERROR] [O: c.t.e.r.UIResourceCollection] [I: ] [U: SuperUser] [S: ] [P: ] [T: http-nio-80-exec-4] Error processing analyticsSmartGridWidget.ide.js. Please check file content and file name for errors.
2021-01-18 14:41:44.009+0800 [L: ERROR] [O: c.t.e.u.ExtensionPackageUtilities] [I: ] [U: SuperUser] [S: ] [P: ] [T: http-nio-80-exec-4] ERROR - un-installing Extension Package: Mail_Extensions
2021-01-18 14:41:44.009+0800 [L: WARN] [O: c.t.s.m.ExtensionPackageManager] [I: ] [U: SuperUser] [S: ] [P: ] [T: http-nio-80-exec-4] Unable to delete Extension: [Mail_Extensions] An error occurred while generating JavsScript resources for AnalyticsSmartGrid_ExtensionPackage:1.1.6. Check the application log for more details.
2021-01-18 14:41:44.011+0800 [L: ERROR] [O: c.t.w.Subsystems] [I: ] [U: SuperUser] [S: ] [P: ] [T: http-nio-80-exec-4] Unable to Invoke Service DeleteExtensionPackage on PlatformSubsystem : An error occurred while generating JavsScript resources for AnalyticsSmartGrid_ExtensionPackage:1.1.6. Check the application log for more details.
2021-01-18 14:41:44.011+0800 [L: WARN] [O: c.t.w.BaseService] [I: ] [U: SuperUser] [S: ] [P: ] [T: http-nio-80-exec-4] Transaction has been marked as a failure for request /Thingworx/Subsystems/PlatformSubsystem/Services/DeleteExtensionPackage
  • After importing Mail Extension, the import was successful but no MailServer entity exist in the system, so tried to delete the extension but it fails to delete it and raises above error
This is a printer-friendly version of Article 337524 and may be out of date. For the latest version click CS337524