4 Replies Latest reply on Dec 14, 2013 5:06 AM by rohitk RSS
    rohitk Explorer

    Not able to delete the Extension Package after removing dependency

    We are facing error while deleting the “Sampler ExtensionPackage”. we have tried all options, but not able to found the appropriate clean option to perform this action. Kindly help and let us know if we are missing anything.

    We have import one extension(any extension e.g. Twilio) and then we use/implement that extension in the Newly Created “Thing” and after that we have deleted that particular “Thing” and trying to remove the extension. We are getting error and Thingworx not deleting that extension but its showing message “Extension Package Successfully Removed”.



    followed the below steps.
    • Create the new thing “MySampleThing” implements “SamplerThing” Thing Template (comes automatically with the extension)
    • Method/Services has been executed successfully under the “MySampleThing”

    1. Delete the “MySampleThing” (To remove the dependency)
    2. Try to delete the “Sampler_ExtensionPackage.zip” (Configuration  Manage Extension)
    3. Getting Message “Extension Package Successfully Removed” (Screen Shot Attached)
    4. Still we able to see that ThingTemplate (“SamplerThing”)  and it does not have any dependency  (It should have deleted automatically with extension)
    The only option I have found to delete the extension is to “stop the Tomcat, un-deploy the thingworx.war and remove the storage. Setup again the thingworx.“


    Environment:
    Windows 7
    Firefox 26.0
    Tomcat 7.0
    ThingWorx4.2
    java version "1.7.0_45"


    Below are the log messages





















    Unable to get
    Extension details: null
    Unable to get Extension details: null
    [context: [ method = POST, action =
    INVOKE, target =
    /Thingworx/Resources/ServerPlatformServices/Services/GetExtensionPackageDetails
    ]][message: Unable to Invoke Service GetExtensionPackageDetails on
    ServerPlatformServices : null]
    [context: [ method = POST, action =
    INVOKE, target =
    /Thingworx/Resources/ServerPlatformServices/Services/GetExtensionPackageDetails
    ]][message: Unable to Invoke Service GetExtensionPackageDetails on
    ServerPlatformServices : null]
    Unable to get Extension details: null
    [context: [ method = POST, action =
    INVOKE, target =
    /Thingworx/Resources/ServerPlatformServices/Services/GetExtensionPackageDetails
    ]][message: Unable to Invoke Service GetExtensionPackageDetails on
    ServerPlatformServices : null]
    Unable to delete Extension:  Cannot Delete This Entity - It Is Referenced By 1  Other Entities