Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by yossigil
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at il.org.spartan.spartanizer.engine.EvaluateAux.extractLong(EvaluateAux.java:45)	at il.org.spartan.spartanizer.wring.InfixRemainderEvaluate.replacementLong(InfixRemainderEvaluate.java:42)	at il.org.spartan.spartanizer.wring.InfixRemainderEvaluate.replacement(InfixRemainderEvaluate.java:72)	at il.org.spartan.spartanizer.wring.InfixRemainderEvaluate.replacement(InfixRemainderEvaluate.java:1)	at il.org.spartan.spartanizer.wring.Wring$ReplaceCurrentNode.scopeIncludes(Wring.java:146)	at il.org.spartan.spartanizer.wring.Toolbox.find(Toolbox.java:186)	at il.org.spartan.spartanizer.wring.Toolbox.find(Toolbox.java:198)	at il.org.spartan.spartanizer.wring.Trimmer$2.go(Trimmer.java:61)	at il.org.spartan.spartanizer.wring.Trimmer$DispatchingVisitor.cautiousGo(Trimmer.java:194)	at il.org.spartan.spartanizer.wring.Trimmer$DispatchingVisitor.visit(Trimmer.java:148)	at org.eclipse.jdt.core.dom.InfixExpression.accept0(InfixExpression.java:365)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:239)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:239)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)	at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:145)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.Block.accept0(Block.java:137)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)	at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:635)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)	at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212)	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)	at il.org.spartan.plugin.Spartanization.findOpportunities(Spartanization.java:117)	at il.org.spartan.plugin.Builder.addMarkers(Builder.java:77)	at il.org.spartan.plugin.Builder.addMarkers(Builder.java:72)	at il.org.spartan.plugin.Builder.addMarkers(Builder.java:56)	at il.org.spartan.plugin.Builder.lambda$1(Builder.java:100)	at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:120)	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:84)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:117)	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:105)	at il.org.spartan.plugin.Builder.fullBuild(Builder.java:99)	at il.org.spartan.plugin.Builder.build(Builder.java:118)	at il.org.spartan.plugin.Builder.build(Builder.java:91)	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403)	at org.eclipse.core.internal.resources.Project$1.run(Project.java:551)	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)	at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:529)	at org.eclipse.core.internal.resources.Project.build(Project.java:112)	at il.org.spartan.plugin.Plugin.refreshAllProjects(Plugin.java:34)	at il.org.spartan.plugin.Plugin.startSpartan(Plugin.java:63)	at il.org.spartan.plugin.Plugin.start(Plugin.java:79)	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)	at java.security.AccessController.doPrivileged(Native Method)	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)	at org.eclipse.osgi.container.Module.doStart(Module.java:581)	at org.eclipse.osgi.container.Module.start(Module.java:449)	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)	at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)