yanghua opened a new issue #817:
URL: https://github.com/apache/incubator-kyuubi/issues/817


   ### 1. Describe the bug
   
   Run `KyuubiDriverSuite` in my local IDE, but failed because of NPE.
   
   ### 2. Environments
   
   - Mac OS X 10.14.5
   - Intellij IDEA 19.2
   - Java 1.8
   
   #### 2.1 Versions
   
   - Kyuubi
     - [ ] 1.1.0
     - [ ] 1.0.3
     - [ ] 0.8.x and earlier <!-- Please update Kyuubi, versions of 0.x are no 
longer supported by the community -->
   
   - Spark
     - [ ] 3.1.x
     - [ ] 3.0.x
     - [ ] 2.4.x and earlier <!-- Please update Spark, versions of 2.x are no 
longer supported by the community -->
   
   #### 2.2 Kyuubi Configurations
   
   #### 2.3 Spark Configurations
   
   
   ### 3. Steps to reproduce
   
   #### 3.1 Operations
   
   #### 3.2 Expected behavior
   
   <!-- A clear and concise description of what you expected to happen. -->
   
   #### 3.3 Actual behavior
   
   ### 4. Additional context
   
   ```
   An exception or error caused a run to abort: Failed to initialize frontend 
service on /127.0.0.1:0. 
   org.apache.kyuubi.KyuubiException: Failed to initialize frontend service on 
/127.0.0.1:0.
        at 
org.apache.kyuubi.service.FrontendService.initialize(FrontendService.scala:102)
        at 
org.apache.kyuubi.service.CompositeService.$anonfun$initialize$1(CompositeService.scala:40)
        at 
org.apache.kyuubi.service.CompositeService.$anonfun$initialize$1$adapted(CompositeService.scala:40)
        at 
scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
        at 
scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
        at 
org.apache.kyuubi.service.CompositeService.initialize(CompositeService.scala:40)
        at org.apache.kyuubi.service.Serverable.initialize(Serverable.scala:44)
        at 
org.apache.kyuubi.engine.spark.SparkSQLEngine.initialize(SparkSQLEngine.scala:50)
        at 
org.apache.kyuubi.engine.spark.SparkSQLEngine$.startEngine(SparkSQLEngine.scala:108)
        at 
org.apache.kyuubi.engine.spark.WithSparkSQLEngine.startSparkEngine(WithSparkSQLEngine.scala:57)
        at 
org.apache.kyuubi.engine.spark.WithSparkSQLEngine.startSparkEngine$(WithSparkSQLEngine.scala:39)
        at 
org.apache.kyuubi.jdbc.KyuubiDriverSuite.startSparkEngine(KyuubiDriverSuite.scala:25)
        at 
org.apache.kyuubi.engine.spark.WithSparkSQLEngine.beforeAll(WithSparkSQLEngine.scala:35)
        at 
org.apache.kyuubi.engine.spark.WithSparkSQLEngine.beforeAll$(WithSparkSQLEngine.scala:34)
        at 
org.apache.kyuubi.jdbc.KyuubiDriverSuite.beforeAll(KyuubiDriverSuite.scala:25)
        at 
org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
        at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
        at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
        at 
org.apache.kyuubi.jdbc.KyuubiDriverSuite.run(KyuubiDriverSuite.scala:25)
        at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
        at 
org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13(Runner.scala:1322)
        at 
org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13$adapted(Runner.scala:1316)
        at scala.collection.immutable.List.foreach(List.scala:431)
        at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1316)
        at 
org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:993)
        at 
org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:971)
        at 
org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1482)
        at 
org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:971)
        at org.scalatest.tools.Runner$.run(Runner.scala:798)
        at org.scalatest.tools.Runner.run(Runner.scala)
        at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:133)
        at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:27)
   Caused by: java.lang.ExceptionInInitializerError
        at org.apache.kyuubi.package$.<init>(package.scala:51)
        at org.apache.kyuubi.package$.<clinit>(package.scala)
        at 
org.apache.kyuubi.service.authentication.PlainSASLServer$.<init>(PlainSASLServer.scala:130)
        at 
org.apache.kyuubi.service.authentication.PlainSASLServer$.<clinit>(PlainSASLServer.scala)
        at 
org.apache.kyuubi.service.authentication.PlainSASLServer$SaslPlainProvider.<init>(PlainSASLServer.scala:135)
        at 
org.apache.kyuubi.service.authentication.PlainSASLHelper$.<init>(PlainSASLHelper.scala:36)
        at 
org.apache.kyuubi.service.authentication.PlainSASLHelper$.<clinit>(PlainSASLHelper.scala)
        at 
org.apache.kyuubi.service.authentication.KyuubiAuthenticationFactory.getTTransportFactory(KyuubiAuthenticationFactory.scala:74)
        at 
org.apache.kyuubi.service.FrontendService.initialize(FrontendService.scala:74)
        ... 32 more
   Caused by: java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Properties.java:434)
        at java.util.Properties.load0(Properties.java:353)
        at java.util.Properties.load(Properties.java:341)
        at org.apache.kyuubi.package$BuildInfo$.<init>(package.scala:33)
        at org.apache.kyuubi.package$BuildInfo$.<clinit>(package.scala)
        ... 41 more
   ```
   
   #### 4.1 Log of the server
   
   #### 4.2 Log of the corresponding engine


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

To unsubscribe, e-mail: [email protected]

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


Reply via email to