Article - CS270006

Training fails with "UnrecognizedPropertyException: Unrecognized field" in ThingWorx Analytics

Modified: 22-Jan-2019   


Applies To

  • ThingWorx Analytics 8.0 to 8.3.2
  • ThingWorx Platform 8.0 to 8.3

Description

  • Training fails in ThingWatcher / Anomaly detection
  • Error thrown in Application logs:
 
        },
            "id": 1
            "resultUri": null,
            "queuedDuration": "0:00:00.005",
            "queuedStartDateTime": "2017-08-25T07:34:01.641Z",
            "runTime": "0:00:43.744",
            "endDateTime": "2017-08-25T07:34:45.39Z",
            "startDateTime": "2017-08-25T07:34:01.646Z",
            "message": "UnrecognizedPropertyException: Unrecognized field \"code\" (class com.thingworx.analytics.results.api.ResultResponse), not marked as ignorable (7 known properties: \"status\", \"tags\", \"id\", \"description\", \"lastModified\", \"name\", \"resultUri\"])\n at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@3aaeccf5; line: 1, column: 12] (through reference chain: com.thingworx.analytics.results.api.ResultResponse[\"code\"])",
            "state": "FAILED",
        "status": {
    "values": [{
{
 
  • Other Related Error thrown in Application logs:
io.dropwizard.jersey.jackson.JsonProcessingExceptionMapper: Mapping exception: class javax.ws.rs.WebApplicationException
! java.lang.IllegalArgumentException: Failed to upload results document: Unsupported scheme C for URI C:AnomalyMicroservices/23.xml.gz
! at com.thingworx.analytics.results.core.ResultsService.saveResult(ResultsService.java:227)
! at com.thingworx.analytics.results.resources.ModelResource.createModel(ModelResource.java:101)

com.thingworx.analytics.results.resources.ModelResource: Failed to create model AnomalyDetectionModelFor_0f55b7eb-b2a0-4fdc-b63a-0f86c85d3bc1_1515405441375 with description ... 
! java.lang.NullPointerException: NeuronPath cannot lookup the virtual filesystem because the uri given by (modelstorage/162.xml.gz) has no schema.
 
This is a printer-friendly version of Article 270006 and may be out of date. For the latest version click CS270006