sijie commented on issue #5577: Fix schema static initialization sequence
URL: https://github.com/apache/pulsar/pull/5577#issuecomment-550967760
 
 
   @merlimat this doesn't work unfortunately. but the error message I added in 
this pull request indicated that schema is not initialized correctly.
   
   ```
   [ERROR] 
allSchemasShouldSupportNull(org.apache.pulsar.client.impl.schema.PrimitiveSchemaTest)
  Time elapsed: 0.02 s  <<< FAILURE!
   java.lang.NullPointerException: NPE when using schema null : null
        at 
org.apache.pulsar.client.impl.schema.PrimitiveSchemaTest.allSchemasShouldSupportNull(PrimitiveSchemaTest.java:102)
        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)
   ```
   
   See: https://github.com/apache/pulsar/pull/5574/checks?check_run_id=291380872

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to