Extending The Visual Editor:= BUG in text proerty [message #101740] |
Wed, 10 August 2005 08:12 |
hanys Messages: 188 Registered: July 2009 |
Senior Member |
|
|
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(EStruc turalFeature)
line: 822
JavaObjectInstance(BasicEObjectImpl).eDynamicIsSet(EStructur alFeature)
line: 609
JavaObjectInstance(BasicEObjectImpl).eIsSet(EStructuralFeatu re) line: 600
CompositePropertySourceAdapter(BeanPropertySourceAdapter).ge tPropertyValue(Object)
line: 89
CompositePropertySourceAdapter(WidgetPropertySourceAdapter). getPropertyValue(Object)
line: 365
JavaCommandStackPropertySheetEntry(CommandStackPropertySheet Entry).primGetValues()
line: 173
JavaCommandStackPropertySheetEntry(AbstractPropertySheetEntr y).refreshValues()
line: 892
JavaCommandStackPropertySheetEntry(AbstractPropertySheetEntr y).refreshChildEntries()
line: 823
JavaCommandStackPropertySheetEntry(AbstractPropertySheetEntr y).setValues(Object[])
line: 1028
PropertySheetViewer.setInput(Object) line: 875
JavaVisualEditorPropertySheetPage(PropertySheetPage).selecti onChanged(IWorkbenchPart,
ISelection) line: 392
JavaVisualEditorPropertySheetPage(EToolsPropertySheetPage).s uperSelectionChanged(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
|
|
|
|
Re: Extending The Visual Editor:= BUG in text proerty [message #101892 is a reply to message #101880] |
Wed, 10 August 2005 16:55 |
Eclipse User |
|
|
|
Originally posted by: myersj.gmail.com
Do you have any errors in the .log file in your workspace's .metadata
directory?
- Jeff
John Cage wrote:
> This bug is the same as "VE properties tab is empty".
>
> But I have all new VE 1.1, EMF 2.1.0 GEF 3.1 and ECLIPSE 3.1, java 1.5
> this bug is here STILL.
>
> WHAT IS WRONG - can you help me?
> John Cage
> Thank you in advance
>
|
|
|
|
Re: Extending The Visual Editor:= BUG in text proerty [message #102010 is a reply to message #101960] |
Thu, 11 August 2005 14:35 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Try this first:
1) Open the VE, get the error, close the VE, but leave Eclipse running
2) Do Project->Clean...->Clean ALL (all is very important).
3) Try the VE again. If you still get the error, please send us the
class in question so we can see if there is anything in there that could
cause this.
--
Thanks,
Rich Kulp
|
|
|
|
|
|
|
Re: Extending The Visual Editor:= BUG in text proerty [message #610248 is a reply to message #101960] |
Thu, 11 August 2005 14:35 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Try this first:
1) Open the VE, get the error, close the VE, but leave Eclipse running
2) Do Project->Clean...->Clean ALL (all is very important).
3) Try the VE again. If you still get the error, please send us the
class in question so we can see if there is anything in there that could
cause this.
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.01853 seconds