jiazhai commented on issue #3157: Refactored PulsarRecordCursor to avoid intermediate thread URL: https://github.com/apache/pulsar/pull/3157#issuecomment-449949249 @merlimat Here is the error in the report: ``` org.apache.pulsar.sql.presto.TestPulsarRecordCursor.setup java.lang.NullPointerException at java.util.concurrent.ConcurrentLinkedQueue.checkNotNull(ConcurrentLinkedQueue.java:920) at java.util.concurrent.ConcurrentLinkedQueue.offer(ConcurrentLinkedQueue.java:327) at java.util.concurrent.ConcurrentLinkedQueue.add(ConcurrentLinkedQueue.java:297) at org.mockito.internal.stubbing.StubbedInvocationMatcher.addAnswer(StubbedInvocationMatcher.java:38) at org.mockito.internal.stubbing.InvocationContainerImpl.addAnswer(InvocationContainerImpl.java:65) at org.mockito.internal.stubbing.InvocationContainerImpl.setMethodForStubbing(InvocationContainerImpl.java:110) at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:54) at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38) at org.powermock.api.mockito.repackaged.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:60) at org.apache.pulsar.client.admin.PulsarAdmin$$EnhancerByMockitoWithCGLIB$$b47fd21.namespaces(<generated>) at org.apache.pulsar.sql.presto.TestPulsarConnector.setup(TestPulsarConnector.java:765) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services