This message was deleted.
# dev
s
This message was deleted.
g
possibly try a
mvn clean
first? Also, do you see more details about the error? Like a stack trace?
l
Copy code
mvn -T 8 -DskipTests -Dforbiddenapis.skip=true -Dcheckstyle.skip=true -Dpmd.skip=true -Dmaven.javadoc.skip=true -Danimal.sniffer.skip=true -Denforcer.skip=true -Dspotbugs.skip=true clean install`
I use this command to build Druid from source
s
Hi, Took a fresh update today, same error. My Env is as follows. OS: Kubuntu 22.04.3 JDK- openjdk version "11.0.20.1" 2023-08-24 Maven 3.9.5
l
Does this happen during the execution?
s
More Test failures. I had to cut short the build.
Debug logs from maven build.
Ok, I installed Eclipse Temurin jdk-17.0.9+9. Fortunately it's giving out additional stack trace. OpenJdk 11 somehow din't give out this info. java.lang.NoClassDefFoundError: Could not initialize class org.apache.druid.query.QueryRunnerTestHelper Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: NullHandling module not initialized, call NullHandling.initializeForTests() [in thread "main"] Any ideas why NullHandling is not being initialized? Here is the build debug logs.
l
seems like a test case problem. The one writing the test has to initialize it. Which class is causing this? And I don’t know why this is causing an issue while running the program
s
@Laksh Singla I have attached the build failure logs in my previous message. Many test cases are failing. For ex: SchemaEvolutionTest, DefaultQueryMetricsTest, ResultGranularTimestampComparatorTest and many more testcases fails.
Can anyone point me to Druid Full CI-builds?
Hi @Gian Merlino, Can you help me out with these build errors. My brief lookup at the code indicates that the Testcases are missing explicit calls to initialization of NullHandling. They are being initialized in a static block across many other test cases. Wondering how are these test cases even passing in CI-Builds, or are they being ignored? Kindly let me know if that's not the case and I have a screwed up DEV Env.