All Widgets imported from Extensions are not displaying correctly in Mashups at Runtime on ThingWorx Platform
Applies To
- ThingWorx Platform 8.4 to 9.3
Description
- Cannot use any Widget that was imported via Extension in ThingWorx Platform
- Extension Widgets do not load in ThingWorx Platform
- Out-of-the-box Widgets work as expected but Widgets import from Extensions fail
- Seeing the following error for the non-working Widget within F12/Dev Tools console:
- Uncaught Error: Script error for "<Widget>"
- Exception: def.widgetsInvoking is undefined on line number <Line> in file mashup-runtime.js?_v=<ThingWorx Version>
- Unable to import new Extensions or delete existing ones with the following error appearing in the Composer UI and in the <ThingworxStorage>\logs\ApplicationLog.log:
- Unable To Register All UI Resources : An error occurred while generating JavsScript resources for <Extension>. Check the application log for more details.
- Following a ThingWorx Platform restart some or all of the following messages are being logged for multiple Extensions within the <ThingworxStorage>\logs\ApplicationLog.log:
- [L: ERROR] [O: c.t.s.m.ExtensionPackageManager] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Unable To UnDeploy <Extension> : Failed to list contents of <Apache Tomcat>/webapps/Thingworx/Common/extensions/<Extension>
- [L: ERROR] [O: c.t.s.m.ExtensionPackageManager] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Unable To Deploy PagingWidget-extension : Destination '<Apache Tomcat>/webapps/Thingworx/Common/extensions/<Extension>/ui' directory cannot be created
- [L: ERROR] [O: c.t.s.m.ExtensionPackageManager] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Unable To Deploy TWX_Converge_Core_ExtensionPackage : Destination '<Apache Tomcat>/webapps/Thingworx/Common/extensions/<Extension>' cannot be written to
- [L: ERROR] [O: c.t.e.r.UIResourceCollection] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] <Apache Tomcat>/webapps/Thingworx/Common/extensions/<Extension>/ui/<Extension>/<Extension>.ide.js (Permission denied)