Soluzione # - CS294946

Error "java.lang.IllegalArgumentException: Could not extract threshold value for the specified model with goal" is reported when generating a model with boolean goal

Modifica: 24-Jun-2021   

Si applica a

  • ThingWorx Analytics 8.3.1 to 8.5 SP4


  • Anomaly Alert fails when transitioning from collecting state to training state. Underneath error is found in ApplicationLog.log
ERROR] [O: c.t.a.t.ThingWatcherInternal] [I: ] [U: Administrator] [S: ] [T: TWEventProcessor-7] Returning a FAILED state for TimedValue [timestamp=1553691514699, value=16.0]. ThingWatcherMessage [timestamp=2019-03-27T13:58:35.543, severity=ERROR, state=ThingWatcherInternalState [internal=OBTAINING_MODEL, external=TRAINING], messageCode=WAT1001E, messageText=Operation exception. {Throwable=[GenericHTTPException: Error returned from service [500]: Exception encountered: class java.time.format.DateTimeParseException.  Log tag: c07c8f49-276f-4049-8f26-898d3708cecb}]] Error accessing PMML Model URI, cannot download model__    at
  • Following error is reported (in UI and worker.log) when generating a model with boolean goal
java.lang.IllegalArgumentException: Could not extract threshold value for the specified model with goal XXXX
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at net.dempsy.cluster.zookeeper.ZookeeperSession$WatcherProxy.process(
    at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(
    at org.apache.zookeeper.ClientCnxn$
  • training and validation log files have
io.dropwizard.jersey.jackson.JsonProcessingExceptionMapper: Encountered exception while processing a request.  Tag: cd2c0753-5495-48c1-b18f-020128442d58
! java.time.format.DateTimeParseException: Text '10/11/18 11:23:40.582 MESZ' could not be parsed at index 22
! at java.time.format.DateTimeFormatter.parseResolved0(
! at java.time.format.DateTimeFormatter.parse(
! at java.time.ZonedDateTime.parse(
! at$getStatus$7(
! at
! at
! at
! at com.thingworx.
This is a PDF version of Article 294946 and may be out of date. For the latest version CS294946