Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
I made an extension to read excel data in java. It works well.
However, running this extension the next day results in a null.
I don't know if this is a bug or what causes it.
Please let me know if there is any opinion or solution to this phenomenon. For reference, I used thingworx 8.5.4
Solved! Go to Solution.
Hi @YC_9410522 ,
Since this is your custom code, you need to debug your code to see exactly why that happens.
Append to your Apache Tomcat Java options this line and restart the server after that:
-agentlib:jdwp=transport=dt_socket,address=1043,server=y,suspend=n
Then, debug your ThingWorx extension from Eclipse in this manner:
Note that this way to debug works only if you have access to the ThingWorx's instance port you set above (1043 in this case). There might be cases where access to this port is blocked by the infrastructure team where the platform is hosted.
An alternative to this is to add multiple logger statements in your extension that write lines in the Script/Application Log..
Hi @YC_9410522 ,
Since this is your custom code, you need to debug your code to see exactly why that happens.
Append to your Apache Tomcat Java options this line and restart the server after that:
-agentlib:jdwp=transport=dt_socket,address=1043,server=y,suspend=n
Then, debug your ThingWorx extension from Eclipse in this manner:
Note that this way to debug works only if you have access to the ThingWorx's instance port you set above (1043 in this case). There might be cases where access to this port is blocked by the infrastructure team where the platform is hosted.
An alternative to this is to add multiple logger statements in your extension that write lines in the Script/Application Log..
Hi @YC_9410522.
If you found the previous response helpful, please mark it as the Accepted Solution for the benefit of others with the same issue.
Regards.
--Sharon