Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BindingServiceProperties.bindings property should be thread-safe.
First, thanks for the excellent StreamBridge feature! I've found it very useful. However, I occasionally encounter the following exception during race conditions. ``` java.lang.NullPointerException: null at java.base/java.util.TreeMap.rotateRight(TreeMap.java:2240) at java.base/java.util.TreeMap.fixAfterInsertion(TreeMap.java:2272) at java.base/java.util.TreeMap.put(TreeMap.java:580) at org.springframework.cloud.stream.config.BindingServiceProperties.bindToDefault(BindingServiceProperties.java:397) at org.springframework.cloud.stream.config.BindingServiceProperties.bindIfNecessary(BindingServiceProperties.java:381) at org.springframework.cloud.stream.config.BindingServiceProperties.getBindingProperties(BindingServiceProperties.java:301) at org.springframework.cloud.stream.function.StreamBridge.send(StreamBridge.java:149) ``` BindingServiceProperties.bindings property should be thread-safe.
- Loading branch information