The WindowBuilder is broken I can't add some of the components. When I try to do it:
Here is the error message
And when I try to add the component
Widow Builder was not able to show the GUI.
java.lang.NullPointerException at org.eclipse.wb.internal.swing.java6.model.SwingVisualMapper.getComponentPreferredSize(SwingVisualMapper.java:85) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:596) at org.eclipse.wb.internal.layout.group.model.GroupLayoutSupport.command_create(GroupLayoutSupport.java:277) at org.eclipse.wb.internal.layout.group.gef.GroupLayoutEditPolicy2$4.executeEdit(GroupLayoutEditPolicy2.java:510) at org.eclipse.wb.core.gef.command.EditCommand$1.run(EditCommand.java:52) at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.run(ExecutionUtils.java:324) 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)
I tried to add it manually and it worked. The other problem is when I try to add any component, it creates it and after the creation Window Builder stuck. To fix it I have to return back to the source code wait 1-2 minutes. And I have to do this every time after I add new component. This happens when I try to add a JLabel I don't know if these bugs are because of Linux or it's just something wrong in my java/eclipse configuration. Are there any solutions?