Community
Participate
Working Groups
Problems with property sheet when a bean changes shape. Create a new non-visual class. Add a string field and generate getters and setters. Save this file. Open a new Empty visual class. Drop a button on the canvas. Use Choose Bean to drop your non-visual class. Save the Empty. Switch back to the non-visual and refactor to rename the field. Choose to rename the getters/setters as well. Switch back to the Empty. Select the non-visual bean. The old name is still shown on the Property Sheet. Setting a value generates a syntax error. Close Empty without saving. Open Empty again and select the non-visual bean. The property sheet is empty and the error below shows up in the .log The only way to fix this problem is to close and re-open the project. !ENTRY org.eclipse.ui 4 4 Apr 05, 2004 13:32:48.286 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 Apr 05, 2004 13:32:48.296 !MESSAGE Failed to execute runnable (java.lang.NullPointerException) !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:2625) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:109) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2329) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2037) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1509) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1480) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:48) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:260) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:305) at org.eclipse.core.launcher.Main.run(Main.java:745) at org.eclipse.core.launcher.Main.main(Main.java:713) !ENTRY org.eclipse.ui 4 4 Apr 05, 2004 13:32:48.306 !MESSAGE *** SWT nested exception !ENTRY org.eclipse.ui 4 0 Apr 05, 2004 13:32:48.316 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.ve.internal.java.core.BeanProxyUtilities.readBeanFeature(BeanProxyUtilities.java:253) at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primReadBeanFeature(BeanProxyAdapter.java:695) at org.eclipse.ve.internal.java.core.BeanProxyAdapter.getBeanProxyValue(BeanProxyAdapter.java:702) at org.eclipse.ve.internal.java.core.BeanProxyAdapter.getInternalBeanPropertyProxyValue(BeanProxyAdapter.java:682) at org.eclipse.ve.internal.java.core.BeanProxyAdapter.getBeanPropertyValue(BeanProxyAdapter.java:661) at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter.getPropertyValue(BeanPropertySourceAdapter.java:83) at org.eclipse.ve.internal.propertysheet.command.CommandStackPropertySheetEntry.primGetValues(CommandStackPropertySheetEntry.java:174) at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetEntry.refreshValues(AbstractPropertySheetEntry.java:877) at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetEntry.refreshChildEntries(AbstractPropertySheetEntry.java:808) at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetEntry.setValues(AbstractPropertySheetEntry.java:1013) at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:776) at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:377) at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPage.superSelectionChanged(EToolsPropertySheetPage.java:254) at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPage.access$2(EToolsPropertySheetPage.java:247) at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPage$1.run(EToolsPropertySheetPage.java:240) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2329) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2037) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1509) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1480) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:48) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:260) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:305) at org.eclipse.core.launcher.Main.run(Main.java:745) at org.eclipse.core.launcher.Main.main(Main.java:713)
Waiting for resolution of bug 59500
Need to fix as soon as possible...
Is this a dup of bug 58349 ?
With the fix for big 58349 this seems to be gone. So closing as a dup of it. *** This bug has been marked as a duplicate of 58349 ***
Duplicate bug is closed.