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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to