Installing Canappi

45 views
Skip to first unread message

Mike Crooks

unread,
Aug 31, 2013, 2:18:17 AM8/31/13
to can...@googlegroups.com
I followed the installation instructions at http://www.canappi.com/pages/download-install-instructions and installed the "Eclipse with XText 1.0.2 for Mac 64bit"
then after starting Eclipse I loaded the canappi plugin via http://www.canappi.com/plugins/siteupdate/site.xml

When I created a new .msdl file, Eclipse asked me to add the Xtext nature to my project and I answered Yes.

However, I am unable to open the Canappi Kitchen Sink (kitchensink-v1.4-09152012.msdl), I get the following error.

Any ideas on what I've done wrong?
Also, the same error was reported by a user at the end of the installation instructions page 8 months ago but I can't find how it was resolved.

Thanks,
Mike.

Could not open the editor: Editor could not be initialised.
java.lang.NullPointerException
    at org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createElementInfo(XtextDocumentProvider.java:135)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:400)
    at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4056)
    at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:217)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1444)
    at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
    at org.eclipse.xtext.ui.editor.XtextEditor.doSetInput(XtextEditor.java:149)
    at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3043)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2606)
    at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3061)
    at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3088)
    at org.eclipse.xtext.ui.editor.XtextEditor.init(XtextEditor.java:169)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
    at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1155)
    at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:107)
    at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:76)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

Mike Crooks

unread,
Aug 31, 2013, 3:32:41 AM8/31/13
to can...@googlegroups.com
Sorry about the two typos:

"a new .msdl file" should read "a new .mdsl file"
Ditto "kitchensink-v1.4-09152012.msdl" should read "kitchensink-v1.4-09152012.mdsl"

Problem remains as originally stated.

Jean-Jacques Dubray

unread,
Aug 31, 2013, 6:41:33 PM8/31/13
to can...@googlegroups.com
Mike,

which version of Eclipse are you using? You have to download the Xtext-1.0.2 distro. Link is provided on the installation page.

thanks,

JJ-


--
You received this message because you are subscribed to the Google Groups "Canappi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canappi+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Mike Crooks

unread,
Sep 1, 2013, 2:20:58 AM9/1/13
to can...@googlegroups.com
Hi JJ,

I did download from the link on the installation page.

I'm running Mountain Lion and the latest Sun Java VM - do you need to use a specific Java release?

Cheers, Mike.
You received this message because you are subscribed to a topic in the Google Groups "Canappi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/canappi/CHTb0SHxiOs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to canappi+u...@googlegroups.com.

Jean-Jacques Dubray

unread,
Sep 1, 2013, 2:42:11 AM9/1/13
to can...@googlegroups.com
Mike, 

I am sorry, but I don't have an answer. I'll send the plugins directly if you want to add them to the eclipse plugins directory, that's all there is to it. 

Unless ITemis changed the distro, I really don't see what could happen. I also run Montain Lion and the latest version of Java.

JJ-

Mike Crooks

unread,
Sep 1, 2013, 6:39:01 PM9/1/13
to can...@googlegroups.com
I found the issue - there is a known Eclipse issue when attempting to File->Open FIle on a file that is not known to the project.

Workaround - copy the file physically into the project folder and right mouse click project and "Refresh"

Both twitter.mdsl and kitchensink open for me now.
Reply all
Reply to author
Forward
0 new messages