java.lang.NullPointerException

GitHub | cprice404 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1256#251534027

    GitHub | 7 months ago | cprice404
    java.lang.NullPointerException
  2. 0

    Occasional NPEs with 1.4.0-eap3

    GitHub | 6 months ago | cprice404
    java.lang.NullPointerException
  3. 0

    GitHub comment 72#251459845

    GitHub | 7 months ago | camlow325
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    constant NullPointerExceptions

    GitHub | 1 year ago | patterkyle
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at cursive.psi$project.invoke()
    2. cursive
      psi$cached_value.doInvoke
      1. cursive.psi$project.invoke(psi.clj:104)
      2. cursive.psi$cached_value.doInvoke(psi.clj:502)
      2 frames
    3. Clojure
      RestFn.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:467)
      1 frame
    4. cursive
      types$element_type.invoke
      1. cursive.types$element_type.invoke(types.clj:224)
      1 frame
    5. cursive.intellij
      method$matching_indexes$fn__4096.invoke
      1. cursive.intellij.method$matching_indexes$fn__4096.invoke(method.clj:65)
      1 frame
    6. Clojure
      core$mapv.invoke
      1. clojure.core$mapv$fn__6727.invoke(core.clj:6616)
      2. clojure.lang.PersistentVector.reduce(PersistentVector.java:333)
      3. clojure.core$reduce.invoke(core.clj:6518)
      4. clojure.core$mapv.invoke(core.clj:6616)
      4 frames
    7. cursive.intellij
      method$matching_indexes.invoke
      1. cursive.intellij.method$matching_indexes.invoke(method.clj:65)
      1 frame
    8. cursive.extensions.clojure
      resolve$nary_inline$fn__6418$fn__6419.invoke
      1. cursive.extensions.clojure.core.resolve$nary_inline$fn__6418$fn__6419.invoke(resolve.clj:605)
      1 frame
    9. Clojure
      core$reduce.invoke
      1. clojure.core.protocols$fn__6523.invoke(protocols.clj:167)
      2. clojure.core.protocols$fn__6478$G__6473__6487.invoke(protocols.clj:19)
      3. clojure.core.protocols$seq_reduce.invoke(protocols.clj:27)
      4. clojure.core.protocols$fn__6506.invoke(protocols.clj:100)
      5. clojure.core.protocols$fn__6452$G__6447__6465.invoke(protocols.clj:13)
      6. clojure.core$reduce.invoke(core.clj:6515)
      6 frames
    10. cursive.extensions.clojure
      resolve$nary_inline$fn__6418.invoke
      1. cursive.extensions.clojure.core.resolve$nary_inline$fn__6418.invoke(resolve.clj:603)
      1 frame
    11. cursive
      types$invocation_type$fn__4011.invoke
      1. cursive.types$invocation_type$fn__4011.invoke(types.clj:137)
      1 frame
    12. Clojure
      core$some.invoke
      1. clojure.core$some.invoke(core.clj:2570)
      1 frame
    13. cursive
      psi$cached_value$reify__357.compute
      1. cursive.types$invocation_type.invoke(types.clj:137)
      2. cursive.types$calculate_element_type.invoke(types.clj:209)
      3. cursive.psi$cached_value$reify__357.compute(psi.clj:506)
      3 frames
    14. IDEA
      CachedValuesManagerImpl.getCachedValue
      1. com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
      2. com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
      3. com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
      4. com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
      5. com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:84)
      5 frames
    15. cursive
      psi$cached_value.doInvoke
      1. cursive.psi$cached_value.doInvoke(psi.clj:509)
      1 frame
    16. Clojure
      RestFn.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:467)
      1 frame
    17. cursive
      types$element_type.invoke
      1. cursive.types$element_type.invoke(types.clj:224)
      1 frame
    18. cursive.intellij
      method$matching_indexes$fn__4096.invoke
      1. cursive.intellij.method$matching_indexes$fn__4096.invoke(method.clj:65)
      1 frame
    19. Clojure
      core$mapv.invoke
      1. clojure.core$mapv$fn__6727.invoke(core.clj:6616)
      2. clojure.core.protocols$fn__6523.invoke(protocols.clj:167)
      3. clojure.core.protocols$fn__6478$G__6473__6487.invoke(protocols.clj:19)
      4. clojure.core.protocols$seq_reduce.invoke(protocols.clj:31)
      5. clojure.core.protocols$fn__6506.invoke(protocols.clj:101)
      6. clojure.core.protocols$fn__6452$G__6447__6465.invoke(protocols.clj:13)
      7. clojure.core$reduce.invoke(core.clj:6519)
      8. clojure.core$mapv.invoke(core.clj:6616)
      8 frames
    20. cursive.intellij
      method$matching_indexes.invoke
      1. cursive.intellij.method$matching_indexes.invoke(method.clj:65)
      1 frame
    21. cursive.resolve.symbol
      clj$editor_resolver$reify__5090$fn__5131.invoke
      1. cursive.resolve.symbol.editor.clj$find_static_method.invoke(clj.clj:233)
      2. cursive.resolve.symbol.editor.clj$editor_resolver$reify__5090$fn__5131.invoke(clj.clj:476)
      2 frames
    22. Clojure
      RestFn.invoke
      1. clojure.core$map$fn__4553.invoke(core.clj:2624)
      2. clojure.lang.LazySeq.sval(LazySeq.java:40)
      3. clojure.lang.LazySeq.seq(LazySeq.java:49)
      4. clojure.lang.RT.seq(RT.java:507)
      5. clojure.core$seq__4128.invoke(core.clj:137)
      6. clojure.core$apply.invoke(core.clj:630)
      7. clojure.core$mapcat.doInvoke(core.clj:2660)
      8. clojure.lang.RestFn.invoke(RestFn.java:423)
      8 frames
    23. cursive.resolve.symbol
      clj$editor_resolver$reify__5090.resolve_qualified
      1. cursive.resolve.symbol.editor.clj$editor_resolver$reify__5090.resolve_qualified(clj.clj:471)
      1 frame
    24. cursive.resolve
      symbol$resolve_symbol.invoke
      1. cursive.resolve.symbol$resolve_normal_symbol.invoke(symbol.clj:61)
      2. cursive.resolve.symbol$resolve_symbol.invoke(symbol.clj:104)
      2 frames
    25. Clojure
      Var.invoke
      1. clojure.lang.Var.invoke(Var.java:383)
      1 frame
    26. cursive.psi.impl
      SymbolReference$SymbolResolver.resolve
      1. cursive.psi.impl.symbols.SymbolReference$SymbolResolver.resolve(SymbolReference.java:67)
      2. cursive.psi.impl.symbols.SymbolReference$SymbolResolver.resolve(SymbolReference.java:64)
      2 frames
    27. IDEA
      ResolveCache.resolveWithCaching
      1. com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:144)
      2. com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:167)
      3. com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:159)
      3 frames
    28. cursive.psi.impl
      SymbolReference.multiResolve
      1. cursive.psi.impl.symbols.SymbolReference.multiResolve(SymbolReference.java:58)
      1 frame
    29. cursive
      resolve$resolve.invoke
      1. cursive.resolve$resolve.invoke(resolve.clj:55)
      1 frame
    30. Clojure
      core$set.invoke
      1. clojure.core$map$fn__4553.invoke(core.clj:2624)
      2. clojure.lang.LazySeq.sval(LazySeq.java:40)
      3. clojure.lang.LazySeq.seq(LazySeq.java:49)
      4. clojure.lang.Cons.next(Cons.java:39)
      5. clojure.lang.RT.next(RT.java:674)
      6. clojure.core$next__4112.invoke(core.clj:64)
      7. clojure.core$concat$cat__4217$fn__4218.invoke(core.clj:707)
      8. clojure.lang.LazySeq.sval(LazySeq.java:40)
      9. clojure.lang.LazySeq.seq(LazySeq.java:49)
      10. clojure.lang.RT.seq(RT.java:507)
      11. clojure.core$seq__4128.invoke(core.clj:137)
      12. clojure.core$map$fn__4553.invoke(core.clj:2616)
      13. clojure.lang.LazySeq.sval(LazySeq.java:40)
      14. clojure.lang.LazySeq.seq(LazySeq.java:49)
      15. clojure.lang.RT.seq(RT.java:507)
      16. clojure.core$seq__4128.invoke(core.clj:137)
      17. clojure.core$map$fn__4553.invoke(core.clj:2616)
      18. clojure.lang.LazySeq.sval(LazySeq.java:40)
      19. clojure.lang.LazySeq.seq(LazySeq.java:49)
      20. clojure.lang.RT.seq(RT.java:507)
      21. clojure.core$seq__4128.invoke(core.clj:137)
      22. clojure.core$filter$fn__4580.invoke(core.clj:2679)
      23. clojure.lang.LazySeq.sval(LazySeq.java:40)
      24. clojure.lang.LazySeq.seq(LazySeq.java:56)
      25. clojure.lang.RT.seq(RT.java:507)
      26. clojure.core$seq__4128.invoke(core.clj:137)
      27. clojure.core$reduce1.invoke(core.clj:903)
      28. clojure.core$set.invoke(core.clj:3960)
      28 frames
    31. cursive.inspections
      unused$unused_import.invoke
      1. cursive.inspections.unused$unused_import.invoke(unused.clj:124)
      1 frame
    32. Clojure
      Var.invoke
      1. clojure.lang.Var.invoke(Var.java:388)
      1 frame
    33. cursive.api
      DelayedFn.invoke
      1. cursive.api.DelayedFn.invoke(DelayedFn.java:41)
      1 frame
    34. cursive.inspections
      ClInspectionVisitor.visitElement
      1. cursive.inspections.ClInspectionVisitor.visitElement(ClInspectionVisitor.java:32)
      1 frame
    35. IDEA
      ApplierCompleter.compute
      1. com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:274)
      2. com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:81)
      3. com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:69)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:294)
      5. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$200(LocalInspectionsPass.java:73)
      6. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:261)
      7. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:256)
      8. com.intellij.concurrency.ApplierCompleter.b(ApplierCompleter.java:122)
      9. com.intellij.concurrency.ApplierCompleter.access$000(ApplierCompleter.java:44)
      10. com.intellij.concurrency.ApplierCompleter$1.run(ApplierCompleter.java:85)
      11. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1177)
      12. com.intellij.concurrency.ApplierCompleter$2.run(ApplierCompleter.java:94)
      13. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
      14. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443)
      15. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      16. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      17. com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:106)
      18. com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:82)
      18 frames
    36. Quasar
      ForkJoinWorkerThread.run
      1. jsr166e.CountedCompleter.exec(CountedCompleter.java:684)
      2. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
      3. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
      4. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
      5. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
      6. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
      6 frames