java.lang.NullPointerException

GitHub | yossigil | 5 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at il.org.spartan.spartanizer.engine.EvaluateAux.extractLong()
  2. il.org.spartan
    Trimmer$DispatchingVisitor.visit
    1. il.org.spartan.spartanizer.engine.EvaluateAux.extractLong(EvaluateAux.java:45)
    2. il.org.spartan.spartanizer.wring.InfixRemainderEvaluate.replacementLong(InfixRemainderEvaluate.java:42)
    3. il.org.spartan.spartanizer.wring.InfixRemainderEvaluate.replacement(InfixRemainderEvaluate.java:72)
    4. il.org.spartan.spartanizer.wring.InfixRemainderEvaluate.replacement(InfixRemainderEvaluate.java:1)
    5. il.org.spartan.spartanizer.wring.Wring$ReplaceCurrentNode.scopeIncludes(Wring.java:146)
    6. il.org.spartan.spartanizer.wring.Toolbox.find(Toolbox.java:186)
    7. il.org.spartan.spartanizer.wring.Toolbox.find(Toolbox.java:198)
    8. il.org.spartan.spartanizer.wring.Trimmer$2.go(Trimmer.java:61)
    9. il.org.spartan.spartanizer.wring.Trimmer$DispatchingVisitor.cautiousGo(Trimmer.java:194)
    10. il.org.spartan.spartanizer.wring.Trimmer$DispatchingVisitor.visit(Trimmer.java:148)
    10 frames
  3. JDT Core
    ASTNode.accept
    1. org.eclipse.jdt.core.dom.InfixExpression.accept0(InfixExpression.java:365)
    2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    3. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    4. org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:239)
    5. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    6. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    7. org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:239)
    8. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    9. org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)
    10. org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:145)
    11. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    12. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    13. org.eclipse.jdt.core.dom.Block.accept0(Block.java:137)
    14. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    15. org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)
    16. org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:635)
    17. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    18. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    19. org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)
    20. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    21. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    22. org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)
    23. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    24. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    25. org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212)
    26. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    26 frames
  4. il.org.spartan
    Builder.lambda$1
    1. il.org.spartan.plugin.Spartanization.findOpportunities(Spartanization.java:117)
    2. il.org.spartan.plugin.Builder.addMarkers(Builder.java:77)
    3. il.org.spartan.plugin.Builder.addMarkers(Builder.java:72)
    4. il.org.spartan.plugin.Builder.addMarkers(Builder.java:56)
    5. il.org.spartan.plugin.Builder.lambda$1(Builder.java:100)
    5 frames
  5. Core Resource Management
    Resource.accept
    1. org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:120)
    2. org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:84)
    3. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    4. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    5. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    6. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    7. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    8. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    9. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    10. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    11. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    12. org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
    13. org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)
    14. org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
    15. org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
    16. org.eclipse.core.internal.resources.Resource.accept(Resource.java:117)
    17. org.eclipse.core.internal.resources.Resource.accept(Resource.java:105)
    17 frames
  6. il.org.spartan
    Builder.build
    1. il.org.spartan.plugin.Builder.fullBuild(Builder.java:99)
    2. il.org.spartan.plugin.Builder.build(Builder.java:118)
    3. il.org.spartan.plugin.Builder.build(Builder.java:91)
    3 frames
  7. Core Resource Management
    BuildManager$2.run
    1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
    1 frame
  8. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  9. Core Resource Management
    BuildManager$1.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
    3 frames
  10. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  11. Core Resource Management
    Project.build
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
    3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403)
    4. org.eclipse.core.internal.resources.Project$1.run(Project.java:551)
    5. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
    6. org.eclipse.core.internal.resources.Project.internalBuild(Project.java:529)
    7. org.eclipse.core.internal.resources.Project.build(Project.java:112)
    7 frames
  12. il.org.spartan
    Plugin.earlyStartup
    1. il.org.spartan.plugin.Plugin.refreshAllProjects(Plugin.java:34)
    2. il.org.spartan.plugin.Plugin.startSpartan(Plugin.java:63)
    3. il.org.spartan.plugin.Plugin.earlyStartup(Plugin.java:74)
    3 frames
  13. Eclipse UI
    EarlyStartupRunnable.run
    1. org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77)
    2. org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
    2 frames
  14. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  15. Eclipse UI
    Workbench$55.run
    1. org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
    1 frame
  16. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame