Community
Participate
Working Groups
Open a JPA project, open one Entity in the editor, and open the JPA Structure view. Now delete the java class and the following exception occurs. This does not appear to affect the integrity of the structure view going forward. Just an exception in the error log. Caused by: java.lang.IllegalStateException: Need an underlying widget to be able to set the input.(Has the widget been disposed?) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1660) at org.eclipse.jpt.jpa.ui.internal.views.structure.JpaStructurePage$3.run(JpaStructurePage.java:228) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134
Created attachment 190396 [details] proposed patch - check isDisposed()
fixed for M6
Verified in Build I-3.3.0-20110331154142 Verified no exception appears when you delete a class that appears in the structure view. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0_M6