Article - CS300578

Error "Unable to find a hyperlink for path" is returned when attempting to import an entity containing a anomaly alert model in ThingWorx 8.4

Modified: 16-Apr-2019   


Applies To

  • ThingWorx Platform 8.4 F000 to SP2
  • ThingWorx Platform 8.4 F000 to SP2

Description

  • Following error is returned when attempting to import an entity containing a anomaly alert model in
 Unable to process import com.google.common.util.concurrent.UncheckedExecutionException: java.lang.Exception: Unable to import anomalyAlert pmml model content: com.thingworx.common.exceptions.GenericHTTPException: Unable to find a hyperlink for path /\AnomalyDetectionModelFor_XXXX.xml
  • ErrorLog.log reports
java.lang.Exception: Unable to import anomalyAlert pmml model content: com.thingworx.common.exceptions.GenericHTTPException: Unable to find a hyperlink for path /\AnomalyDetectionModelFor_2201c0a1-f7d3-4671-b9a6-ffa184555fd6_1549451838330.xml] java.lang.Exception: Unable to import anomalyAlert pmml model content: com.thingworx.common.exceptions.GenericHTTPException: Unable to find a hyperlink for path /\AnomalyDetectionModelFor_2201c0a1-f7d3-4671-b9a6-ffa184555fd6_1549451838330.xml
    at com.thingworx.system.subsystems.alerts.anomalyalert.PmmlModelImportExportUtilities.fromXML(PmmlModelImportExportUtilities.java:38)
    at com.thingworx.system.subsystems.alerts.data.AlertDefinition.fromXML(AlertDefinition.java:270)
    at com.thingworx.system.subsystems.alerts.data.AlertDefinitionCollection.fromXML(AlertDefinitionCollection.java:50)
    at com.thingworx.system.subsystems.alerts.data.AlertConfigurationCollection.fromXML(AlertConfigurationCollection.java:46)
    at com.thingworx.things.Thing.lambda$fromXML$12(Thing.java:9480)
    ... 59 common frames omitted
Wrapped by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.Exception: Unable to import anomalyAlert pmml model content: com.thingworx.common.exceptions.GenericHTTPException: Unable to find a hyperlink for path /\AnomalyDetectionModelFor_2201c0a1-f7d3-4671-b9a6-ffa184555fd6_1549451838330.xml
    at com.thingworx.things.Thing.lambda$fromXML$12(Thing.java:9515)
    at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
    at java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614)
    at java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1983)
    at com.thingworx.things.Thing.fromXML(Thing.java:9393)
    at com.thingworx.system.managers.ThingManager.fromXML(ThingManager.java:137)

 
This is a printer-friendly version of Article 300578 and may be out of date. For the latest version click CS300578