Community
Participate
Working Groups
Created attachment 107764 [details] exception build: M-3.0.1-20080717094056 I got IllegalStateException (see attached) when clicking on the facet version drop-down in the Project Facets property page. This happens on EJB, EJB Client and EAR project, but not on Web project (surprise!).
I am not seeing this and the stack trace is not enough to go on in this case. Are you targeting a runtime? Which one? What do you do before opening the facets selection dialog? Please describe the exact sequence of clicks after opening the dialog and leading up to the exception.
Also, please confirm that you are seeing this on Windows XP as indicated by the OS field.
Confirm for WinXP. I target Glassfish V2, but it also happens if I don't have a server runtime. The simplest path to reproduce: 1. Create an EAR project with no runtime. 2. Right-click on the project > Properties > Project Facets. 3. Click on the drop-down of the EAR facet version. 4. Error is logged. (Error Log)
Was able to reproduce. This only happens if you click on the version field of the first facet listed in the table before doing anything else. Subsequent clicks will not produce an exception. Clicking on any other facet first will not product an exception. Clicking on the facet name and then selecting the version field will also not produce an exception.
Released fix to 3.0.1 and HEAD.
Verified with wtp-sdk-M-3.0.1-20080731174940 and wtp-sdk-I-3.1-20080801151537.