Description
org.apache.knox.gateway.services.topology.DefaultTopologyServiceTest#testTopologyDiscoveryTriggerHandlesInvalidDescriptorContent
java.lang.NullPointerException at org.apache.knox.gateway.services.topology.DefaultTopologyServiceTest.testTopologyDiscoveryTriggerHandlesInvalidDescriptorContent(DefaultTopologyServiceTest.java:649)
This line in DefaultTopologyService class returns null because the mock setup is done after the logic is actually called.
ClusterConfigurationMonitorService ccms = gwServices.getService(ServiceType.CLUSTER_CONFIGURATION_MONITOR_SERVICE);
Attachments
Issue Links
- links to