You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by GitBox <gi...@apache.org> on 2020/07/18 18:06:27 UTC

[GitHub] [incubator-streampipes] amkcpu opened a new pull request #21: Clear sortedEventKeys before adding new keys

amkcpu opened a new pull request #21:
URL: https://github.com/apache/incubator-streampipes/pull/21


   ### Purpose
   Fixes an issue that appears when more than one stream is connected to a Siddhi processing element.
   Before, when the second stream is added to Siddhi by creating the "define stream..." string, keys from the first stream remained in the `sortedEventKeys` ArrayList.
   This resulted in a `NullPointerException` because these keys could not be found in the `typeMap` HashMap.
   
   ### Approach
   Clear `sortedEventKeys` before adding new keys by calling the `ArrayList.clear()` method.
   


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

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



[GitHub] [incubator-streampipes] amkcpu closed pull request #21: [WIP] Clear sortedEventKeys before adding new keys

Posted by GitBox <gi...@apache.org>.
amkcpu closed pull request #21:
URL: https://github.com/apache/incubator-streampipes/pull/21


   


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

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