java.lang.NullPointerException

GitHub | yossigil | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at il.org.spartan.spartanizer.assemble.subject$Operand.toMethod()
  2. il.org.spartan
    Trimmer$DispatchingVisitor.visit
    1. il.org.spartan.spartanizer.assemble.subject$Operand.toMethod(subject.java:173)
    2. il.org.spartan.spartanizer.wring.InfixComparisonSizeToZero.replacement(InfixComparisonSizeToZero.java:60)
    3. il.org.spartan.spartanizer.wring.InfixComparisonSizeToZero.replacement(InfixComparisonSizeToZero.java:91)
    4. il.org.spartan.spartanizer.wring.InfixComparisonSizeToZero.replacement(InfixComparisonSizeToZero.java:113)
    5. il.org.spartan.spartanizer.wring.InfixComparisonSizeToZero.replacement(InfixComparisonSizeToZero.java:1)
    6. il.org.spartan.spartanizer.wring.Wring$ReplaceCurrentNode.scopeIncludes(Wring.java:146)
    7. il.org.spartan.spartanizer.wring.Toolbox.find(Toolbox.java:186)
    8. il.org.spartan.spartanizer.wring.Toolbox.find(Toolbox.java:198)
    9. il.org.spartan.spartanizer.wring.Trimmer$2.go(Trimmer.java:61)
    10. il.org.spartan.spartanizer.wring.Trimmer$DispatchingVisitor.cautiousGo(Trimmer.java:194)
    11. il.org.spartan.spartanizer.wring.Trimmer$DispatchingVisitor.visit(Trimmer.java:148)
    11 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.acceptChild(ASTNode.java:2759)
    4. org.eclipse.jdt.core.dom.ConditionalExpression.accept0(ConditionalExpression.java:190)
    5. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    6. org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)
    7. org.eclipse.jdt.core.dom.ReturnStatement.accept0(ReturnStatement.java:137)
    8. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    9. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    10. org.eclipse.jdt.core.dom.Block.accept0(Block.java:137)
    11. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    12. org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)
    13. org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:635)
    14. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    15. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
    16. org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)
    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.CompilationUnit.accept0(CompilationUnit.java:212)
    23. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    23 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.iterate(ElementTreeIterator.java:129)
    11. org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
    12. org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
    13. org.eclipse.core.internal.resources.Resource.accept(Resource.java:117)
    14. org.eclipse.core.internal.resources.Resource.accept(Resource.java:105)
    14 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