Window Builder crashes when doing anything on the Design tab #345
Unanswered
tobieche110
asked this question in
Q&A
Replies: 1 comment
-
Same here! I have been trying to fix it by Googling various errors for about 2 hours now. I am at my wits end. I've tried the following already which did not work and almost broke my Eclipse and previous codes completely:
Tinkered with the above for 2 hours. The new eclipse sucked because not only did it not have Dark Mode, but all the icons were super small and like I said, it didn't even allow me to create a WindowsBuilder Application Window under New->Other-Swing Designer ??? Maybe you can try what I did and it will work for you but I am still stuck. Any help for us newbs would be great! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! So, I recently installed this plugin. I can't manage to get it to work. I can access the Design tab when I create an Application Window class, but if I try to do anything (inserting a button in the window, redimensioning it, anything) I get this error:
(This particularly happens when I try to redimension it)
I've googled the issue a lot and I can't find any solution. At fist I thought it was an error from this specific project, but it happens even on fresh new projects without any other class.
When I try to run the program, the default window opens, and it seems to work, but I still get this problem.
Please help me.
Stack trace:
org.eclipse.wb.internal.core.utils.exception.DesignerException: 205 (Unable to parse source.). java.lang.System.out.println(799); line: 2 The import java.awt.EventQueue is never used
line: 3 The import javax.swing.JFrame is never used
line: 7 The method initialize() from the type VistasAlumno is never used locally
at org.eclipse.wb.internal.core.utils.ast.AstParser.parseStatement(AstParser.java:162)
at org.eclipse.wb.internal.core.utils.ast.AstParser.parseExpression(AstParser.java:111)
at org.eclipse.wb.internal.core.utils.ast.AstEditor.replaceExpressionString(AstEditor.java:1085)
at org.eclipse.wb.internal.core.utils.ast.AstEditor.replaceExpression(AstEditor.java:1035)
at org.eclipse.wb.internal.swing.model.component.top.SwingTopBoundsSupport.setSizeInts(SwingTopBoundsSupport.java:244)
at org.eclipse.wb.internal.swing.model.component.top.SwingTopBoundsSupport.setSize(SwingTopBoundsSupport.java:87)
at org.eclipse.wb.core.gef.policy.selection.TopSelectionEditPolicy$1.executeEdit(TopSelectionEditPolicy.java:120)
at org.eclipse.wb.core.gef.command.EditCommand$1.run(EditCommand.java:53)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.run(ExecutionUtils.java:331)
at org.eclipse.wb.core.gef.command.EditCommand.execute(EditCommand.java:50)
at org.eclipse.wb.internal.gef.core.EditDomain.executeCommand(EditDomain.java:59)
at org.eclipse.wb.gef.core.tools.Tool.executeCommand(Tool.java:209)
at org.eclipse.wb.gef.graphical.tools.ResizeTracker.handleButtonUp(ResizeTracker.java:140)
at org.eclipse.wb.gef.core.tools.Tool.mouseUp(Tool.java:395)
at org.eclipse.wb.gef.graphical.tools.SelectionTool.mouseUp(SelectionTool.java:251)
at org.eclipse.wb.internal.gef.core.EditDomain.mouseUp(EditDomain.java:255)
at org.eclipse.wb.internal.gef.graphical.EditEventManager.mouseUp(EditEventManager.java:151)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.eclipse.wb.internal.draw2d.EventManager$1.invoke(EventManager.java:317)
at jdk.proxy12/jdk.proxy12.$Proxy46.mouseUp(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:224)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4251)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4068)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Caused by: org.eclipse.wb.internal.core.utils.exception.DesignerException: 205 (Unable to parse source.). package vistas;
import java.awt.EventQueue;
import javax.swing.JFrame;
class VistasAlumno {
javax.swing.JFrame frame=(javax.swing.JFrame) null;
public static void main(String[] args) {}
private void initialize() {}
VistasAlumno(Object __wbp_param) {
super();java.lang.System.out.println(799);}
} line: 2 The import java.awt.EventQueue is never used
line: 3 The import javax.swing.JFrame is never used
line: 7 The method initialize() from the type VistasAlumno is never used locally
at org.eclipse.wb.internal.core.utils.ast.AstParser.findNode(AstParser.java:773)
at org.eclipse.wb.internal.core.utils.ast.AstParser.parseStatement(AstParser.java:159)
... 46 more
Caused by: java.lang.NoSuchMethodError: 'java.lang.String[] org.eclipse.jdt.core.dom.IMethodBinding.getParameterNames()'
at org.eclipse.wb.internal.core.utils.ast.binding.DesignerMethodBinding.(DesignerMethodBinding.java:56)
at org.eclipse.wb.internal.core.utils.ast.binding.BindingContext.get(BindingContext.java:87)
at org.eclipse.wb.internal.core.utils.ast.binding.DesignerTypeBinding.(DesignerTypeBinding.java:160)
at org.eclipse.wb.internal.core.utils.ast.binding.BindingContext.get(BindingContext.java:70)
at org.eclipse.wb.internal.core.utils.ast.binding.DesignerTypeBinding.(DesignerTypeBinding.java:146)
at org.eclipse.wb.internal.core.utils.ast.binding.BindingContext.get(BindingContext.java:70)
at org.eclipse.wb.internal.core.utils.ast.AstParser$3.postVisit(AstParser.java:946)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3183)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.QualifiedName.accept0(QualifiedName.java:163)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.QualifiedName.accept0(QualifiedName.java:162)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:223)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.wb.internal.core.utils.ast.AstParser.copyBindings(AstParser.java:925)
at org.eclipse.wb.internal.core.utils.ast.AstParser.findNode0(AstParser.java:827)
at org.eclipse.wb.internal.core.utils.ast.AstParser.findNode(AstParser.java:770)
... 47 more
Full context stack trace:
org.eclipse.wb.internal.core.utils.exception.DesignerException: 205 (Unable to parse source.). java.lang.System.out.println(799); line: 2 The import java.awt.EventQueue is never used
line: 3 The import javax.swing.JFrame is never used
line: 7 The method initialize() from the type VistasAlumno is never used locally
at org.eclipse.wb.internal.core.utils.ast.AstParser.parseStatement(AstParser.java:162)
at org.eclipse.wb.internal.core.utils.ast.AstParser.parseExpression(AstParser.java:111)
at org.eclipse.wb.internal.core.utils.ast.AstEditor.replaceExpressionString(AstEditor.java:1085)
at org.eclipse.wb.internal.core.utils.ast.AstEditor.replaceExpression(AstEditor.java:1035)
at org.eclipse.wb.internal.swing.model.component.top.SwingTopBoundsSupport.setSizeInts(SwingTopBoundsSupport.java:244)
at org.eclipse.wb.internal.swing.model.component.top.SwingTopBoundsSupport.setSize(SwingTopBoundsSupport.java:87)
at org.eclipse.wb.core.gef.policy.selection.TopSelectionEditPolicy$1.executeEdit(TopSelectionEditPolicy.java:120)
at org.eclipse.wb.core.gef.command.EditCommand$1.run(EditCommand.java:53)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.run(ExecutionUtils.java:331)
at org.eclipse.wb.core.gef.command.EditCommand.execute(EditCommand.java:50)
at org.eclipse.wb.internal.gef.core.EditDomain.executeCommand(EditDomain.java:59)
at org.eclipse.wb.gef.core.tools.Tool.executeCommand(Tool.java:209)
at org.eclipse.wb.gef.graphical.tools.ResizeTracker.handleButtonUp(ResizeTracker.java:140)
at org.eclipse.wb.gef.core.tools.Tool.mouseUp(Tool.java:395)
at org.eclipse.wb.gef.graphical.tools.SelectionTool.mouseUp(SelectionTool.java:251)
at org.eclipse.wb.internal.gef.core.EditDomain.mouseUp(EditDomain.java:255)
at org.eclipse.wb.internal.gef.graphical.EditEventManager.mouseUp(EditEventManager.java:151)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.eclipse.wb.internal.draw2d.EventManager$1.invoke(EventManager.java:317)
at jdk.proxy12/jdk.proxy12.$Proxy46.mouseUp(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:224)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4251)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4068)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3645)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Caused by: org.eclipse.wb.internal.core.utils.exception.DesignerException: 205 (Unable to parse source.). package vistas;
import java.awt.EventQueue;
import javax.swing.JFrame;
class VistasAlumno {
javax.swing.JFrame frame=(javax.swing.JFrame) null;
public static void main(String[] args) {}
private void initialize() {}
VistasAlumno(Object __wbp_param) {
super();java.lang.System.out.println(799);}
} line: 2 The import java.awt.EventQueue is never used
line: 3 The import javax.swing.JFrame is never used
line: 7 The method initialize() from the type VistasAlumno is never used locally
at org.eclipse.wb.internal.core.utils.ast.AstParser.findNode(AstParser.java:773)
at org.eclipse.wb.internal.core.utils.ast.AstParser.parseStatement(AstParser.java:159)
... 46 more
Caused by: java.lang.NoSuchMethodError: 'java.lang.String[] org.eclipse.jdt.core.dom.IMethodBinding.getParameterNames()'
at org.eclipse.wb.internal.core.utils.ast.binding.DesignerMethodBinding.(DesignerMethodBinding.java:56)
at org.eclipse.wb.internal.core.utils.ast.binding.BindingContext.get(BindingContext.java:87)
at org.eclipse.wb.internal.core.utils.ast.binding.DesignerTypeBinding.(DesignerTypeBinding.java:160)
at org.eclipse.wb.internal.core.utils.ast.binding.BindingContext.get(BindingContext.java:70)
at org.eclipse.wb.internal.core.utils.ast.binding.DesignerTypeBinding.(DesignerTypeBinding.java:146)
at org.eclipse.wb.internal.core.utils.ast.binding.BindingContext.get(BindingContext.java:70)
at org.eclipse.wb.internal.core.utils.ast.AstParser$3.postVisit(AstParser.java:946)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3183)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.QualifiedName.accept0(QualifiedName.java:163)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.QualifiedName.accept0(QualifiedName.java:162)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:223)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3228)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:3180)
at org.eclipse.wb.internal.core.utils.ast.AstParser.copyBindings(AstParser.java:925)
at org.eclipse.wb.internal.core.utils.ast.AstParser.findNode0(AstParser.java:827)
at org.eclipse.wb.internal.core.utils.ast.AstParser.findNode(AstParser.java:770)
... 47 more
Beta Was this translation helpful? Give feedback.
All reactions