mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 23:16:52 +00:00
Merge pull request #829 from jbonofre/AMQ-8518
[AMQ-8518] Avoid NPE if path is null (at startup)
This commit is contained in:
commit
d09fe45695
@ -235,7 +235,7 @@ public class DestinationMapNode implements DestinationNode {
|
||||
int size = paths.length;
|
||||
for (int i = startIndex; i < size && node != null; i++) {
|
||||
String path = paths[i];
|
||||
if (deep && path.equals(ANY_DESCENDENT)) {
|
||||
if (deep && path != null && path.equals(ANY_DESCENDENT)) {
|
||||
answer.addAll(node.getDesendentValues());
|
||||
couldMatchAny = false;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user