|
|
|
Re: Xtext 2.0: which eclipse platform is required? [message #651404 is a reply to message #651344] |
Sun, 30 January 2011 13:17 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Ed,
please file a ticket with a reproducable sample attached. Thanks.
Thanks,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 29.01.11 17:00, schrieb Ed Willink:
> Hi
>
> I've just been trying to make Xtext 2.0 work on Eclipse 3.6.1 (Modeling
> Package) in order to try to find a common platform for all of current
> code for Xtext, MWE, Acceleo.
>
> Xtext 2.0 does not work on 3.6.1;
>
> amongst other problems, there is
>
> java.lang.NullPointerException
> at
> org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider.getReturnTypeText(XtextOutlineTreeProvider.java:63)
>
> at
> org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider._createNode(XtextOutlineTreeProvider.java:95)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.xtext.util.PolymorphicDispatcher.invoke(Polymorp hicDispatcher.java:288)
>
> at
> org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeP rovider.createNode(DefaultOutlineTreeProvider.java:104)
>
> at
> org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider._createChildren(XtextOutlineTreeProvider.java:103)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
>
>
> org.eclipse.core.runtime.AssertionFailedException: assertion failed:
> Label provider instance already in use
> at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
> at
> org.eclipse.jface.viewers.StyledCellLabelProvider.initialize (StyledCellLabelProvider.java:166)
>
> at
> org.eclipse.jface.viewers.ColumnViewer.setLabelProvider(Colu mnViewer.java:367)
>
> at
> org.eclipse.xtext.ui.editor.outline.impl.OutlinePage.configu reTree(OutlinePage.java:76)
>
> at
> org.eclipse.xtext.ui.editor.outline.impl.OutlinePage.createC ontrol(OutlinePage.java:68)
>
> at
> org.eclipse.ui.views.contentoutline.ContentOutline.doCreateP age(ContentOutline.java:137)
>
> at org.eclipse.ui.part.PageBookView.createPage(PageBookView.jav a:408)
> at org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:751)
> at org.eclipse.ui.part.PageBookView$4.partActivated(PageBookVie w.java:1010)
> at
> org.eclipse.ui.internal.PartListenerList2$1.run(PartListener List2.java:70)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.runtime.Platform.run(Platform.java:888)
> at
> org.eclipse.ui.internal.PartListenerList2.fireEvent(PartList enerList2.java:55)
>
> at
> org.eclipse.ui.internal.PartListenerList2.firePartActivated( PartListenerList2.java:68)
>
> at
> org.eclipse.ui.internal.PartService.firePartActivated(PartSe rvice.java:192)
> at org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:306)
> at
> org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(WorkbenchPagePartList.java:57
>
>
> and a failure to resolve platform URIs.
>
> Regards
>
> Ed Willink
>
>
> On 16/12/2010 13:56, Sebastian Zarnekow wrote:
>> Hi Mark,
>>
>> Xtext 2.0 will likely be usable with Eclipse 3.5 and newer. It is
>> unlikely that we'll backport it for Eclipse 3.4.
>>
>> Regards,
>> Sebastian
>
|
|
|
Powered by
FUDForum. Page generated in 0.04239 seconds