Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi all,
I'm trying to create new Thingworx Widget using Apache echarts. I have created simple chart and imported into Thingworx. I'm able to see widget in Composer but when I try to see chart in runtime I'm getting below error :
17:54:40 ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget {
name: Error,
message: simplechartdoesn't exist
}
I checked JAVA OPTIONS everything looks fine.
Thingworx Version : 9.2 ( Fresh Instance)
Could any one help me to solve this issue.
Thanks,
VR
Article - CS345409
Error - 'TW.Runtime.Workspace.Mashups.getWidget exception loading widget' is seen on loading mashup with widgets imported as extension
https://www.ptc.com/en/support/article/CS345409
Check java path in tomcat properties
Article - CS246176
ThingWorx Widget is not displayed causing "ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget"
https://www.ptc.com/en/support/article/CS246176
Just a few other items to check.
Hi @PEHOWE
It looks like both Java and Java encoding option are set properly in tomcat. Please below image for your reference
Still I don't know why it is not working.
/VR
Hello Velkumar,
From your screen capture it is not possible to verify that the -Djava.library.path variable is pointing to the proper location. It should point to
-Djava.library.path=/opt/tomcat/latest/webapps/Thingworx/WEB-INF/extensions
Peter
Here are a few things you can check:
TW.IDE.Widgets.simplechart = function () { ... }
It should have the same name in the runtime file:
TW.Runtime.Widgets.simplechart = function () { ... }