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.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.start
    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.start(Plugin.java:79)
    3 frames
  13. Eclipse OSGi
    BundleContextImpl$3.run
    1. org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
    2. org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
    2 frames
  14. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  15. Eclipse OSGi
    ModuleClassLoader.loadClass
    1. org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
    2. org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
    3. org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
    4. org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
    5. org.eclipse.osgi.container.Module.doStart(Module.java:581)
    6. org.eclipse.osgi.container.Module.start(Module.java:449)
    7. org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
    8. org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
    9. org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
    10. org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
    11. org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
    12. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
    13. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
    14. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
    15. org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    15 frames
  16. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    1 frame
  17. Eclipse OSGi
    EquinoxBundle.loadClass
    1. org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
    1 frame
  18. Equinox
    ConfigurationElementHandle.createExecutableExtension
    1. org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    2. org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    3. org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    4. org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    4 frames
  19. Eclipse UI
    WorkbenchPlugin$1.run
    1. org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
    1 frame
  20. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
    1 frame
  21. Eclipse UI
    EarlyStartupRunnable.run
    1. org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
    2. org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
    2 frames
  22. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  23. Eclipse UI
    Workbench$55.run
    1. org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
    1 frame
  24. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame