[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.ve] Extending The Visual Editor:= BUG in text proerty

Hi, there is a bug in tutorial "Extending The Visual Editor: Enabling support for a custom widget"
when I want to create editing behaviour of the text property there is NullPointerException somewhere in EMF, because it doesn't find somewhat(DELEGATE) of EMF EReference of the text property. Because of that it will not show properties view.


HERE IS STACKTRACE OF EXCEPTION:
Thread [main] (Suspended (exception NullPointerException))
EReferenceImpl(EStructuralFeatureImpl).getSettingDelegate() line: 790
JavaObjectInstance(BasicEObjectImpl).eSettingDelegate(EStructuralFeature) line: 822
JavaObjectInstance(BasicEObjectImpl).eDynamicIsSet(EStructuralFeature) line: 609
JavaObjectInstance(BasicEObjectImpl).eIsSet(EStructuralFeature) line: 600
CompositePropertySourceAdapter(BeanPropertySourceAdapter).getPropertyValue(Object) line: 89
CompositePropertySourceAdapter(WidgetPropertySourceAdapter).getPropertyValue(Object) line: 365
JavaCommandStackPropertySheetEntry(CommandStackPropertySheetEntry).primGetValues() line: 173
JavaCommandStackPropertySheetEntry(AbstractPropertySheetEntry).refreshValues() line: 892
JavaCommandStackPropertySheetEntry(AbstractPropertySheetEntry).refreshChildEntries() line: 823
JavaCommandStackPropertySheetEntry(AbstractPropertySheetEntry).setValues(Object[]) line: 1028
PropertySheetViewer.setInput(Object) line: 875
JavaVisualEditorPropertySheetPage(PropertySheetPage).selectionChanged(IWorkbenchPart, ISelection) line: 392
JavaVisualEditorPropertySheetPage(EToolsPropertySheetPage).superSelectionChanged(IWorkbenchPart, ISelection) line: 250
EToolsPropertySheetPage.access$2(EToolsPropertySheetPage, IWorkbenchPart, ISelection) line: 243
EToolsPropertySheetPage$1.run() line: 236
RunnableLock.run() line: 35
UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 123
Display.runAsyncMessages(boolean) line: 3057
Display.readAndDispatch() line: 2716
Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 1699
Workbench.runUI() line: 1663
Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 367
PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 143
IDEApplication.run(Object) line: 103
PlatformActivator$1.run(Object) line: 226
EclipseStarter.run(Object) line: 376
EclipseStarter.run(String[], Runnable) line: 163
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 585
Main.invokeFramework(String[], URL[]) line: 334
Main.basicRun(String[]) line: 278
Main.run(String[]) line: 973
Main.main(String[]) line: 948