You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by GitBox <gi...@apache.org> on 2022/11/26 13:44:37 UTC

[GitHub] [streampipes] dominikriemer opened a new issue, #463: Error when using RuntimeResolvableStaticProperty in an alternative

dominikriemer opened a new issue, #463:
URL: https://github.com/apache/streampipes/issues/463

   When adding the this code to the declareModel:
   
   Alternatives.from(Labels.withId(ENABLE_GROUPING),
    StaticProperties.group(Labels.withId(GROUP_CONFIG),
    StaticProperties.singleValueSelectionFromContainer(Labels.withId(GROUP_ID_STREAM_1)),
    StaticProperties.singleValueSelectionFromContainer(Labels.withId(GROUP_ID_STREAM_2)))))
   
    
   
   the following error occurs when the UI tries to resolve the options:
   
   Caused by: org.apache.http.ProtocolException: Target host is not specifiedCaused by: org.apache.http.ProtocolException: Target host is not specified at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71) at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ... 80 moreorg.apache.http.client.ClientProtocolException at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
   
    
   
   It seems that the variable this.pipelineElement in BaseRuntimeResolvableInput in the ui is not initialized correctly.
   
   All values of of the REST request in fetchRemoteOptionsForPipelineElement are undefined.
   
    
   
   Imported from Jira [STREAMPIPES-261](https://issues.apache.org/jira/browse/STREAMPIPES-261). Original Jira may contain additional context.
   Reported by: zehnder.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org