Error: Tests run: 92, Failures: 2, Errors: 0, Skipped: 89, Time elapsed: 12.782 s <<< FAILURE! - in org.apache.pulsar.broker.admin.TopicsTest
[753](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:754)
Error: cleanup(org.apache.pulsar.broker.admin.TopicsTest) Time elapsed: 2.227 s <<< FAILURE!
[754](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:755)
java.lang.ClassCastException: class org.apache.pulsar.broker.namespace.NamespaceService cannot be cast to class org.apache.pulsar.broker.ServiceConfiguration (org.apache.pulsar.broker.namespace.NamespaceService and org.apache.pulsar.broker.ServiceConfiguration are in unnamed module of loader 'app')
[755](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:756)
at org.apache.pulsar.broker.PulsarService.getConfiguration(PulsarService.java:640)
[756](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:757)
at org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest.stopBroker(MockedPulsarServiceBaseTest.java:315)
[757](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:758)
at org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest.internalCleanup(MockedPulsarServiceBaseTest.java:254)
[758](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:759)
at org.apache.pulsar.broker.admin.TopicsTest.cleanup(TopicsTest.java:123)
[759](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:760)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[760](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:761)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[761](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:762)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[762](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:763)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[763](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:764)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
[764](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:765)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
[765](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:766)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)
[766](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:767)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)
[767](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:768)
at org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)
[768](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:769)
at org.testng.internal.invokers.TestInvoker.runAfterConfigurations(TestInvoker.java:785)
[769](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:770)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:761)
[770](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:771)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
[771](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:772)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
[772](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:773)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)
[773](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:774)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
[774](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:775)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
[775](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:776)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
[776](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:777)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[777](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:778)
at org.testng.TestRunner.privateRun(TestRunner.java:806)
[778](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:779)
at org.testng.TestRunner.run(TestRunner.java:601)
[779](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:780)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:433)
[780](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:781)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)
[781](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:782)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)
[782](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:783)
at org.testng.SuiteRunner.run(SuiteRunner.java:330)
[783](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:784)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
[784](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:785)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
[785](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:786)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
[786](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:787)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
[787](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:788)
at org.testng.TestNG.runSuites(TestNG.java:1099)
[788](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:789)
at org.testng.TestNG.run(TestNG.java:1067)
[789](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:790)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
[790](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:791)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
[791](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:792)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeLazy(TestNGDirectoryTestSuite.java:123)
[792](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:793)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:90)
[793](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:794)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
[794](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:795)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
[795](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:796)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
[796](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:797)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
[797](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:798)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[798](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:799)
[799](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:800)
Error: testLookUpWithException(org.apache.pulsar.broker.admin.TopicsTest) Time elapsed: 0.008 s <<< FAILURE!
[800](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:801)
java.lang.NullPointerException: Cannot invoke "org.apache.pulsar.client.admin.PulsarAdmin.topics()" because "this.admin" is null
[801](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:802)
at org.apache.pulsar.broker.admin.TopicsTest.testLookUpWithException(TopicsTest.java:345)
[802](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:803)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[803](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:804)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[804](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:805)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[805](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:806)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[806](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:807)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
[807](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:808)
at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
[808](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:809)
at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
[809](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:810)
at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
[810](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:811)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[811](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:812)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[812](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:813)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[813](https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888#step:10:814)
at java.base/java.lang.Thread.run(Thread.java:833)
Search before asking
Example failure
https://github.com/apache/pulsar/actions/runs/3714413035/jobs/6298515888
Exception stacktrace
Are you willing to submit a PR?