5

I'm using Eclipse 2021-9 version and already have windowbuilder installed. this error happens when I click the designer tab. Can anybody help me?

Error dialog

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
korbie
  • 51
  • 1
  • 1
  • 2
  • Which version of WindowBuilder? Could you reproduce this issue with a fresh Eclipse 2021-09 without additional installed plugins, only with the WindowBuilder plugin and a fresh workspace? If yes, please show a minimal Java file with which it can be reproduced. – howlger Nov 11 '21 at 11:27
  • The WindowBuilder version is the most recent one, I got from the oficial website. Actually this is a new Eclipse, I reinstalled it, so there is no plugins beyond WindowBuilder. Thanks for answering! – korbie Nov 11 '21 at 11:45
  • 1
    This may not be related at all, but in the Preferences look at 'Java > Appearance > Type Filters' and clear any filter for 'java.awt.*' – greg-449 Nov 11 '21 at 11:52
  • 1
    Then please show a minimal Java file with which it can be reproduced. – howlger Nov 11 '21 at 12:09
  • Did you import files or workspaces from an older version of Eclipse? – David S. Nov 11 '21 at 18:26
  • Same issue here - fresh new Eclipse install and WB just crashed with same error – Alex Byrth Dec 31 '21 at 21:14
  • @AlexByrth Which WB version do you have and with which Java version do you run Eclipse? There are issues with Java 16 and 17 that have already been fixed. – howlger Jan 01 '22 at 12:13

2 Answers2

3

I had the same issue and I just updated WindowBuilder Nightly Build 1.9.6.pre instalation and the problem was solved.

3

Solution

  1. Go to Help > Eclipse Marketplace>
  2. Search "Window Builder"

Output:

enter image description here

Click on Installed of Window Builder nightly build 1.9.8.pre

Output:

If there is update then click on it.

enter image description here