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


Reply via email to