Spark Profiler causes NPE because idk
greysilly7 opened this issue ยท 0 comments
[01:47:05] [spark-worker-pool-1-thread-3/ERROR]: Exception occurred whilst executing a spark command
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "java.lang.instrument.Instrumentation.getAllLoadedClasses()" because "instrumentation" is null
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at me.lucko.spark.common.util.ClassFinder.<init>(ClassFinder.java:49)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at me.lucko.spark.common.util.MethodDisambiguator.<init>(MethodDisambiguator.java:49)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at me.lucko.spark.common.command.modules.SamplerModule.profilerStop(SamplerModule.java:335)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:126)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:408)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:317)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[01:47:05] [spark-worker-pool-1-thread-3/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:1589)