Hi all, I am having trouble running Pinot 0.11. I ...
# troubleshooting
k
Hi all, I am having trouble running Pinot 0.11. I get the following error, and would appreciate any help
Copy code
Failed to start a Pinot [CONTROLLER] at 7.722 since launch
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
Full log:
I tried adding versions to the dependencies like below, but that did not fix the error
Copy code
<dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>jaxb-api</artifactId>
    <version>2.3.0</version>
</dependency>
<dependency>
    <groupId>com.sun.xml.bind</groupId>
    <artifactId>jaxb-core</artifactId>
    <version>2.3.0</version>
</dependency>
<dependency>
    <groupId>com.sun.xml.bind</groupId>
    <artifactId>jaxb-impl</artifactId>
    <version>2.3.0</version>
</dependency>
n
is this from IDE? we were seeing similar issues recently, and the problem ended up being that the java used from IDE run profile was 17. can you check that?
k
No. But my system is using Java 17.
Missed mentioning this detail. Pinot 0.10 was working fine with Java 17 though
n
hmm, to get that out of the way, would you be able to confirm if it works with java 11?
then we can check the regression
k
I compiled it with java 11
Got a new error. Posting a bit.
Untitled.txt
Mine is the M1 mac. So to ensure that is not the culprit, currently building on an ubuntu machine.
It shouldn't be. Because I was able to run 0.10 on my mac, with java 17 🤷‍♀️
This worked with JDK 11 and on Ubuntu 👍
n
@Kartik Khare @Haitao Zhang there was something that you did to make this work on M1 right?
h