java.lang.NullPointerException

YouTrack | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.jetbrains.python.sdk.flavors.PythonSdkFlavor.getFlavor()
  2. com.jetbrains.python
    PythonSdkFlavor.getFlavor
    1. com.jetbrains.python.sdk.flavors.PythonSdkFlavor.getFlavor(PythonSdkFlavor.java:114)
    1 frame
  3. com.jetbrains.edu
    PyStudyInterpreterInspection$Visitor.visitPyFile
    1. com.jetbrains.edu.learning.PyStudyInterpreterInspection$Visitor.visitPyFile(PyStudyInterpreterInspection.java:74)
    1 frame
  4. JetBrains python
    PyFileImpl.accept
    1. com.jetbrains.python.psi.impl.PyFileImpl.accept(PyFileImpl.java:267)
    1 frame
  5. IDEA
    ApplierCompleter.compute
    1. com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:81)
    2. com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:69)
    3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:286)
    4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$1(LocalInspectionsPass.java:254)
    5. com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:123)
    6. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1034)
    7. com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$0(ApplierCompleter.java:96)
    8. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
    9. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
    10. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    11. com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:106)
    12. com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:91)
    12 frames
  6. Java RT
    ForkJoinPool.invoke
    1. java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
    2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    3. java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(ForkJoinPool.java:1190)
    4. java.util.concurrent.ForkJoinPool.helpComplete(ForkJoinPool.java:1879)
    5. java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2045)
    6. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390)
    7. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
    8. java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616)
    8 frames
  7. IDEA
    JobLauncherImpl$VoidForkJoinTask$1.exec
    1. com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:60)
    2. com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:57)
    3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:256)
    4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:228)
    5. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:136)
    6. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82)
    7. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
    8. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$0(PassExecutorService.java:434)
    9. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1034)
    10. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:427)
    11. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
    12. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
    13. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    14. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
    15. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
    16. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:154)
    16 frames
  8. Java RT
    ForkJoinWorkerThread.run
    1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
    4 frames