wolfstudy commented on pull request #8014:
URL: https://github.com/apache/pulsar/pull/8014#issuecomment-689542344


   ```
   [INFO] Running org.apache.pulsar.functions.instance.JavaInstanceRunnableTest
   [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 
0.334 s <<< FAILURE! - in 
org.apache.pulsar.functions.instance.JavaInstanceRunnableTest
   [ERROR] 
testStatsManagerNull(org.apache.pulsar.functions.instance.JavaInstanceRunnableTest)
  Time elapsed: 0.018 s  <<< FAILURE!
   java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.pulsar.functions.proto.Function$SourceSpec$InputSpecsDefaultEntryHolder
        at 
org.apache.pulsar.functions.proto.Function$SourceSpec.internalGetInputSpecs(Function.java:8843)
        at 
org.apache.pulsar.functions.proto.Function$SourceSpec.getInputSpecsCount(Function.java:8850)
        at 
org.apache.pulsar.functions.instance.InstanceUtils.calculateSubjectType(InstanceUtils.java:98)
        at 
org.apache.pulsar.functions.instance.JavaInstanceRunnable.<init>(JavaInstanceRunnable.java:164)
        at 
org.apache.pulsar.functions.instance.JavaInstanceRunnableTest.createRunnable(JavaInstanceRunnableTest.java:61)
        at 
org.apache.pulsar.functions.instance.JavaInstanceRunnableTest.testStatsManagerNull(JavaInstanceRunnableTest.java:114)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
        at 
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
        at 
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   ```
   
   It seems that this problem is caused by the version conflict of protobuf. 
Currently, the protobuf version of pulsar uses 3.11.4, but the version used in 
bk is still 3.5.1


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to