java.lang.AssertionError: BUG: x = ¢ instanceof VariableDeclarationFragment ? ctx.getRefactorings().remove(¢.getParent()) : remove(¢.getParent()) e1 = ctx.getRefactorings().remove(¢.getParent()) e2 = remove(¢.getParent()) es1 = [¢.getParent()] es2 = [¢.getParent()] es1.size() = 1 es2.size() = 1 r1 = ctx.getRefactorings() r1 = null -----this is all I know.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by yossigil
, 1 year ago
BUG: x = ¢ instanceof VariableDeclarationFragment ? ctx.getRefactorings().remove(¢.getParent()) : remove(¢.getParent()) e1 = ctx.getRefactorings().remove(¢.getParent()) e2 = remove(¢.getParent()) es1 = [¢.getParent()] es2 = [¢.getParent()] es1.size() = 1 es2.size() = 1 r1 = ctx.getRefactorings() r1 = null -----this is all I know.
java.lang.AssertionError: BUG: x = ¢ instanceof VariableDeclarationFragment ? ctx.getRefactorings().remove(¢.getParent()) : remove(¢.getParent()) e1 = ctx.getRefactorings().remove(¢.getParent()) e2 = remove(¢.getParent()) es1 = [¢.getParent()] es2 = [¢.getParent()] es1.size() = 1 es2.size() = 1 r1 = ctx.getRefactorings() r1 = null -----this is all I know.
at il.org.spartan.spartanizer.wrings.TernaryPushdown.pushdown(TernaryPushdown.java:138)
at il.org.spartan.spartanizer.wrings.TernaryPushdown.pushdown(TernaryPushdown.java:79)
at il.org.spartan.spartanizer.wrings.TernaryPushdown.pushdown(TernaryPushdown.java:32)
at il.org.spartan.spartanizer.wrings.IfExpressionStatementElseSimilarExpressionStatement.replacement(IfExpressionStatementElseSimilarExpressionStatement.java:43)
at il.org.spartan.spartanizer.wrings.IfExpressionStatementElseSimilarExpressionStatement.replacement(IfExpressionStatementElseSimilarExpressionStatement.java:1)
at il.org.spartan.spartanizer.wringing.ReplaceCurrentNode.suggest(ReplaceCurrentNode.java:19)
at il.org.spartan.spartanizer.wringing.CarefulWring.canSuggest(CarefulWring.java:12)
at il.org.spartan.spartanizer.wringing.CarefulWring.demandsToSuggestButPerhapsCant(CarefulWring.java:16)
at il.org.spartan.spartanizer.dispatch.Toolbox.find(Toolbox.java:205)
at il.org.spartan.spartanizer.dispatch.Toolbox.find(Toolbox.java:217)
at il.org.spartan.spartanizer.dispatch.Trimmer$2.go(Trimmer.java:84)
at il.org.spartan.spartanizer.dispatch.DispatchingVisitor.cautiousGo(DispatchingVisitor.java:119)
at il.org.spartan.spartanizer.dispatch.DispatchingVisitor.visit(DispatchingVisitor.java:53)
at org.eclipse.jdt.core.dom.IfStatement.accept0(IfStatement.java:187)
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.CompilationUnit.accept0(CompilationUnit.java:212)
at il.org.spartan.plugin.GUI$Applicator.collectSuggesions(GUI$Applicator.java:113)
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.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 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.basicBuild(BuildManager.java:206)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
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 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.earlyStartup(Plugin.java:74)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.