You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "tenthe (via GitHub)" <gi...@apache.org> on 2025/10/14 12:23:44 UTC

[I] Pipeline Live Preview Fails When the Same Data Stream Is Selected Twice

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

   ### Body
   
   When a user selects the same data stream multiple times in the live preview, the application throws a java.lang.IllegalStateException due to a duplicate key error. This prevents the live preview from functioning correctly.
   ```
   java.lang.IllegalStateException: Duplicate key sp:spdatastream:dzxHfS (attempted merging values org.apache.streampipes.model.SpDataStream@21010bb2 and org.apache.streampipes.model.SpDataStream@2687acb2)
   	at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:135)
   	at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:182)
   	at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
   	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
   	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
   	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
   	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
   	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
   	...
   ```
   
   <img width="875" height="708" alt="Image" src="https://github.com/user-attachments/assets/34054626-792a-419b-a819-bcd85edd6ce7" />
   
   ### StreamPipes Committer
   
   I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.


-- 
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


Re: [I] Pipeline Live Preview Fails When the Same Data Stream Is Selected Twice

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe closed issue #3833: Pipeline Live Preview Fails When the Same Data Stream Is Selected Twice
URL: https://github.com/apache/streampipes/issues/3833


-- 
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

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