Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » errors installing DLTK 3.0.0 into Indigo SR2
errors installing DLTK 3.0.0 into Indigo SR2 [message #1016401] Wed, 06 March 2013 06:14 Go to next message
Andreas Pakulat is currently offline Andreas Pakulat
Messages: 127
Registered: July 2009
Senior Member
Hi,

I've just installed DLTK/JS 3.0 (using http://download.eclipse.org/technology/dltk/downloads/drops/R3.0/R-3.0-201106091504/updateSite as update site) into a freshly unpacked Eclipse Indigo SR2 (the Java Developer variant).

Creating a DLTK/JS project and a Javascript file works, but opening the DLTK/JS Editor fails with a NoSuchFieldError exception as shown at the end of the mail. Could it be that the jars are somehow corrupted? Whats noticeable is that there's no feature for DLTK/JS listed in the Configuration output, but one for the Core. The Plugins for DLTK/JS are there though as far as I can see.

Anybody an idea whats going wrong there?

The list of installed DLTK-Plugins and versions is:
*** Date: Mittwoch, 6. März 2013 12:07:52 Mitteleuropäische Zeit
*** Features:
org.eclipse.cvs (1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C) "Eclipse CVS Client"
org.eclipse.dltk.core (3.0.0.v20101211-0331-7l-2ED-z0UkhYdtV3_LBO) "Eclipse Dynamic Languages Toolkit"
org.eclipse.egit (1.3.0.201202151440-r) "Git Team Provider"
...

*** Plug-in Registry:
org.eclipse.dltk (3.0.0.v20101209) "Eclipse Dynamic Languages Toolkit" [Resolved]
org.eclipse.dltk.console (3.0.0.v20101211-0412) "Dynamic Languages Toolkit Console Core" [Starting]
org.eclipse.dltk.console.ui (3.0.0.v20101212-1106) "Dynamic Languages Toolkit Console UI" [Starting]
org.eclipse.dltk.core (3.0.1.v20110823) "Dynamic Languages Toolkit Core" [Active]
org.eclipse.dltk.core.manipulation (3.0.0.v20110609-1525) "pluginName" [Starting]
org.eclipse.dltk.debug (3.0.1.v20110824) "Dynamic Languages Toolkit Debug Core" [Starting]
org.eclipse.dltk.debug.ui (3.0.0.v20110423) "Dynamic Languages Toolkit Debug UI" [Starting]
org.eclipse.dltk.formatter (3.0.0.v20110609-1525) "Dynamic Languages Toolkit Formatter" [Starting]
org.eclipse.dltk.javascript.core (3.0.0.v20110609-1525) "Dynamic Languages JavaScripr Core" [Active]
org.eclipse.dltk.javascript.core.dom.support (3.0.0.v20110429) "Dynamic Languages Toolkit Design Time Object Model Support" [Starting]
org.eclipse.dltk.javascript.core.manipulation (3.0.0.v20110423) "pluginName" [Starting]
org.eclipse.dltk.javascript.debug (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript Debug Core" [Starting]
org.eclipse.dltk.javascript.debug.ui (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript Debug UI" [Starting]
org.eclipse.dltk.javascript.formatter (3.0.0.v20110609-1525) "JavaScript Formatter Plug-in" [Starting]
org.eclipse.dltk.javascript.jdt.integration (3.0.0.v20110429) "Java Script JDT Integration Plug-in" [Starting]
org.eclipse.dltk.javascript.jsjdtdebugger (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript/JDT debugging engine" [Starting]
org.eclipse.dltk.javascript.launching (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript Launching Core" [Active]
org.eclipse.dltk.javascript.parser (3.0.0.v20110609-1525) "JavaScript Parser" [Active]
org.eclipse.dltk.javascript.rhino (3.0.0.v20110429) "Rhino Plug-in" [Resolved]
org.eclipse.dltk.javascript.rhino.dbgp (3.0.0.v20110429) "DLTK JavaScript Dbgp" [Resolved]
org.eclipse.dltk.javascript.ui (3.0.0.v20110609-1525) "Dynamic Languages Toolkit Javascript UI" [Active]
org.eclipse.dltk.launching (3.0.0.v20110423) "Dynamic Languages Toolkit Launching Core" [Active]
org.eclipse.dltk.logconsole (3.0.0.v20110424) "Dynamic Languages Toolkit LogConsole" [Starting]
org.eclipse.dltk.logconsole.ui (3.0.0.v20110424) "Dynamic Languages Toolkit LogConsole UI" [Resolved]
org.eclipse.dltk.testing (3.0.0.v20110423) "Dynamic Languages Toolkit Testing Frameworks Support" [Starting]
org.eclipse.dltk.ui (3.0.1.v20110823) "Dynamic Languages Toolkit Core UI" [Active]
org.eclipse.dltk.validators.core (3.0.0.v20110423) "Dynamic Languages Toolkit Validators Core" [Active]
org.eclipse.dltk.validators.externalchecker (3.0.0.v20110423) "Dynamic Languages Toolkit Validators UI" [Active]
org.eclipse.dltk.validators.ui (3.0.0.v20110423) "Dynamic Languages Toolkit Validators UI" [Active]


And this is the error:

java.lang.NoSuchFieldError: following
	at org.eclipse.dltk.javascript.parser.JavaScriptParser$JSInternalParser.syncToSet(JavaScriptParser.java:202)
	at org.eclipse.dltk.javascript.parser.JSParser.sourceElementSync(JSParser.java:12393)
	at org.eclipse.dltk.javascript.parser.JSParser.program(JSParser.java:12317)
	at org.eclipse.dltk.javascript.parser.JavaScriptParser.parse(JavaScriptParser.java:315)
	at org.eclipse.dltk.javascript.parser.JavaScriptParser.parse(JavaScriptParser.java:287)
	at org.eclipse.dltk.javascript.parser.JavaScriptParser.parse(JavaScriptParser.java:1)
	at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:137)
	at org.eclipse.dltk.javascript.parser.JavaScriptParserUtil.parse(JavaScriptParserUtil.java:29)
	at org.eclipse.dltk.javascript.parser.JavaScriptParserUtil.parse(JavaScriptParserUtil.java:39)
	at org.eclipse.dltk.internal.javascript.parser.JavaScriptSourceElementParser2.parse(JavaScriptSourceElementParser2.java:51)
	at org.eclipse.dltk.internal.javascript.parser.JavaScriptSourceElementParser2.parseSourceModule(JavaScriptSourceElementParser2.java:38)
	at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:526)
	at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:193)
	at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
	at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:45)
	at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698)
	at org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:764)
	at org.eclipse.dltk.internal.core.SourceModule.becomeWorkingCopy(SourceModule.java:68)
	at org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider.createFileInfo(SourceModuleDocumentProvider.java:1274)
	at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:478)
	at org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider.connect(SourceModuleDocumentProvider.java:1515)
	at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4213)
	at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)
	at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1451)
	at org.eclipse.dltk.internal.ui.editor.ScriptEditor.internalDoSetInput(ScriptEditor.java:827)
	at org.eclipse.dltk.internal.ui.editor.ScriptEditor.doSetInput(ScriptEditor.java:1323)
	at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3200)
	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:2649)
	at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3218)
	at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3245)
	at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828)
	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.PartPane.setVisible(PartPane.java:313)
	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)
	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)
	at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597)
	at org.eclipse.ui.internal.PartStack.add(PartStack.java:493)
	at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
	at org.eclipse.ui.internal.PartStack.add(PartStack.java:479)
	at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
	at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
	at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
	at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
	at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
	at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
	at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)
	at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEditor(EditorUtility.java:415)
	at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEditor(EditorUtility.java:177)


Andreas
Re: errors installing DLTK 3.0.0 into Indigo SR2 [message #1016681 is a reply to message #1016401] Thu, 07 March 2013 05:53 Go to previous messageGo to next message
Andreas Pakulat is currently offline Andreas Pakulat
Messages: 15
Registered: July 2009
Junior Member
Seems like the problem lies with the Indigo update sites. Manually installing EMF (and the antlr bundle) from the Indigo repositories and then letting Eclipse not contact other update sites while installing DLTK/JS fixes the issue.

So I guess something broke whatever DLTK/JS is available from the Indigo Update Site (I didn't see a corresponding feature, just older Python and Ruby, but there seem to be some standalone bundles there).
Re: errors installing DLTK 3.0.0 into Indigo SR2 [message #1016684 is a reply to message #1016681] Thu, 07 March 2013 05:56 Go to previous message
Andreas Pakulat is currently offline Andreas Pakulat
Messages: 15
Registered: July 2009
Junior Member
For sake of completeness, this is the relevant list of plugins installed in the working case:

*** Date: Thursday, March 7, 2013 11:55:08 AM Central European Time
*** Features:
org.eclipse.dltk.core (3.0.0.v20101211-0331-7l-2ED-z0UkhYdtV3_LBO) "Eclipse Dynamic Languages Toolkit"

*** Plug-in Registry:
org.eclipse.dltk (3.0.0.v20101209) "Eclipse Dynamic Languages Toolkit" [Resolved]
org.eclipse.dltk.console (3.0.0.v20101211-0412) "Dynamic Languages Toolkit Console Core" [Starting]
org.eclipse.dltk.console.ui (3.0.0.v20101212-1106) "Dynamic Languages Toolkit Console UI" [Starting]
org.eclipse.dltk.core (3.0.1.v20110823) "Dynamic Languages Toolkit Core" [Active]
org.eclipse.dltk.core.manipulation (3.0.0.v20110609-1525) "pluginName" [Starting]
org.eclipse.dltk.debug (3.0.1.v20110824) "Dynamic Languages Toolkit Debug Core" [Starting]
org.eclipse.dltk.debug.ui (3.0.0.v20110423) "Dynamic Languages Toolkit Debug UI" [Starting]
org.eclipse.dltk.formatter (3.0.0.v20110609-1525) "Dynamic Languages Toolkit Formatter" [Starting]
org.eclipse.dltk.javascript.core (3.0.0.v20110609-1525) "Dynamic Languages JavaScripr Core" [Active]
org.eclipse.dltk.javascript.core.dom.support (3.0.0.v20110429) "Dynamic Languages Toolkit Design Time Object Model Support" [Starting]
org.eclipse.dltk.javascript.core.manipulation (3.0.0.v20110423) "pluginName" [Starting]
org.eclipse.dltk.javascript.debug (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript Debug Core" [Starting]
org.eclipse.dltk.javascript.debug.ui (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript Debug UI" [Starting]
org.eclipse.dltk.javascript.formatter (3.0.0.v20110609-1525) "JavaScript Formatter Plug-in" [Starting]
org.eclipse.dltk.javascript.jdt.integration (3.0.0.v20110429) "Java Script JDT Integration Plug-in" [Starting]
org.eclipse.dltk.javascript.jsjdtdebugger (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript/JDT debugging engine" [Starting]
org.eclipse.dltk.javascript.launching (3.0.0.v20110429) "Dynamic Languages Toolkit JavaScript Launching Core" [Active]
org.eclipse.dltk.javascript.parser (3.0.0.v20110609-1525) "JavaScript Parser" [Active]
org.eclipse.dltk.javascript.rhino (3.0.0.v20110429) "Rhino Plug-in" [Resolved]
org.eclipse.dltk.javascript.rhino.dbgp (3.0.0.v20110429) "DLTK JavaScript Dbgp" [Resolved]
org.eclipse.dltk.javascript.ui (3.0.0.v20110609-1525) "Dynamic Languages Toolkit Javascript UI" [Active]
org.eclipse.dltk.launching (3.0.0.v20110423) "Dynamic Languages Toolkit Launching Core" [Active]
org.eclipse.dltk.logconsole (3.0.0.v20110424) "Dynamic Languages Toolkit LogConsole" [Starting]
org.eclipse.dltk.logconsole.ui (3.0.0.v20110424) "Dynamic Languages Toolkit LogConsole UI" [Resolved]
org.eclipse.dltk.testing (3.0.0.v20110423) "Dynamic Languages Toolkit Testing Frameworks Support" [Starting]
org.eclipse.dltk.ui (3.0.1.v20110823) "Dynamic Languages Toolkit Core UI" [Active]
org.eclipse.dltk.validators.core (3.0.0.v20110423) "Dynamic Languages Toolkit Validators Core" [Starting]
org.eclipse.dltk.validators.externalchecker (3.0.0.v20110423) "Dynamic Languages Toolkit Validators UI" [Starting]
org.eclipse.dltk.validators.ui (3.0.0.v20110423) "Dynamic Languages Toolkit Validators UI" [Starting]
Previous Topic:Installing custom language intepreter
Next Topic:Need help to set preferences for TCL
Goto Forum:
  


Current Time: Sat Aug 30 04:24:48 EDT 2014

Powered by FUDForum. Page generated in 0.09161 seconds