Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » Can't use the editor under Mac OS
Can't use the editor under Mac OS [message #1416279] Thu, 15 December 2011 03:16 Go to next message
Alexey is currently offline AlexeyFriend
Messages: 12
Registered: July 2009
Junior Member
Hey everyone!

Looks like an awesome tool, I was really looking forward to using it. I've tried installing it to the latest eclipse, but ran into problems after the installation.

Specifically, when I try to open a lua file, the editor won't launch, and I get this stack trace printed in the editor:


java.lang.NoClassDefFoundError: com/naef/jnlua/LuaException
at org.eclipse.koneki.ldt.parser.LuaSourceParserFactory.createSourceParser(LuaSourceParserFactory.java:29)
at org.eclipse.dltk.ast.parser.SourceParserManager$SourceParserContribution.getSourceParser(SourceParserManager.java:106)
at org.eclipse.dltk.ast.parser.SourceParserManager.getSourceParser(SourceParserManager.java:83)
at org.eclipse.dltk.core.DLTKLanguageManager.getSourceParser(DLTKLanguageManager.java:280)
at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:97)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:197)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:183)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:174)
at org.eclipse.dltk.core.AbstractSourceElementParser.parse(AbstractSourceElementParser.java:42)
at org.eclipse.dltk.core.AbstractSourceElementParser.parseSourceModule(AbstractSourceElementParser.java:26)
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:2642)
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.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:355)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.naef.jnlua (349).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
at org.eclipse.koneki.ldt.parser.LuaSourceParserFactory.createSourceParser(LuaSourceParserFactory.java:29)
at org.eclipse.dltk.ast.parser.SourceParserManager$SourceParserContribution.getSourceParser(SourceParserManager.java:106)
at org.eclipse.dltk.ast.parser.SourceParserManager.getSourceParser(SourceParserManager.java:83)
at org.eclipse.dltk.core.DLTKLanguageManager.getSourceParser(DLTKLanguageManager.java:280)
at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:97)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:197)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:183)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:174)
at org.eclipse.dltk.core.AbstractSourceElementParser.parse(AbstractSourceElementParser.java:42)
at org.eclipse.dltk.core.AbstractSourceElementParser.parseSourceModule(AbstractSourceElementParser.java:26)
at org.eclipse.dltk.internal.core.structure.StructureIndexer.indexDocument(StructureIndexer.java:139)
at org.eclipse.dltk.internal.core.structure.StructureProjectIndexer.doIndexing(StructureProjectIndexer.java:20)
at org.eclipse.dltk.core.search.indexing.core.AbstractProjectIndexer.indexSourceModule(AbstractProjectIndexer.java:138)
at org.eclipse.dltk.core.search.indexing.core.SourceModulesRequest.run(SourceModulesRequest.java:90)
at org.eclipse.dltk.core.search.indexing.AbstractJob.execute(AbstractJob.java:76)
at org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:467)
at java.lang.Thread.run(Thread.java:637)
Caused by: org.osgi.framework.BundleException: Exception in com.naef.jnlua.Activator.start() of bundle com.naef.jnlua.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 27 more
Caused by: java.lang.UnsatisfiedLinkError: no lua5.1 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1809)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at com.naef.jnlua.Activator.start(Activator.java:37)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 33 more



Thanks for your time, really looking forward to checking out LDT!
Re: Can't use the editor under Mac OS [message #1416280 is a reply to message #1416279] Thu, 15 December 2011 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alexey!

Thanks for your detailed error report, and the kind words about LDT even though you haven't even tried it yet! :)

Can you tell me what is the version of MacOS you are running, and what is your platform (Intel 64 bits? 32 bits?)?
The thing is we only provide support for x86-64bits platforms, and your stack trace makes me think that you may be running on a 32 bits platform.
Re: Can't use the editor under Mac OS [message #1416281 is a reply to message #1416280] Sat, 17 December 2011 11:24 Go to previous messageGo to next message
Jo Fabry is currently offline Jo FabryFriend
Messages: 2
Registered: December 2011
Junior Member
Hi Benjamin,

if you are involved in the development of LDT: Thanks so much! I've started today to look into LDT because i'm going to launch a Lua based project early next year - and i was looking for a 'familiar' IDE with some 'support background'.

I was able to install and run LDT successfully under Eclipse 1.4.0 build 20110615-0604 on a Mac running OSX 10.7.2. I did the installation by dragging the Install icon from the Koneki website into Eclipse - and everything was running smoothly without any 'events'.

I'm quite new to Eclipse and LDT, still trying to figure out how to debug/run a script from the IDE - but i think it's only a matter of time until i've got the concept behind everything.

BR

Jo
Re: Can't use the editor under Mac OS [message #1416282 is a reply to message #1416280] Mon, 19 December 2011 20:11 Go to previous messageGo to next message
Alexey is currently offline AlexeyFriend
Messages: 12
Registered: July 2009
Junior Member
Hey! Sorry for the long reply, whoops :).

Yes, I'm running a 32-bit version of Mac OS 10.6.8, so looks like that's the problem. Well, I suppose it's a actually move in the right direction to force 64-bit versions for new software, finally gives me a reason to switch :). So I'll try to upgrade when I'm able; I'll be sticking with Lua for a while, and LDT looks like something that'll really help me out.

Thanks!

Alexey
Re: Can't use the editor under Mac OS [message #1416283 is a reply to message #1416281] Fri, 23 December 2011 03:19 Go to previous messageGo to next message
David Durkee is currently offline David DurkeeFriend
Messages: 4
Registered: December 2011
Junior Member
I'm a first time LDT user and I'm also having trouble figuring out how to run a script from the IDE? I've used Eclipse before for other languages like ActionScript and Python, so I thought it would be like that, but no matter what I select in the script explorer, I get the message "The selection cannot be launched, and there are no recent launches" when I press the Run or Debug button. Run As doesn't offer any options for Lua. I'm on a Mac running 10.7.2.

David
Re: Can't use the editor under Mac OS [message #1416285 is a reply to message #1416283] Fri, 06 January 2012 15:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi David, I've replied to your question in http://www.eclipse.org/forums/index.php/t/273959 , since it was not directly related to the initial topic.
Thanks for your feedback!
Re: Can't use the editor under Mac OS [message #1416286 is a reply to message #1416285] Fri, 06 January 2012 17:18 Go to previous messageGo to next message
David Durkee is currently offline David DurkeeFriend
Messages: 4
Registered: December 2011
Junior Member
Benjamin, I think you pasted the wrong link, because the topic you sent me to has nothing to to with Lua.
Re: Can't use the editor under Mac OS [message #1416287 is a reply to message #1416286] Fri, 06 January 2012 17:21 Go to previous messageGo to next message
Eclipse UserFriend
Wow, weird, I shouldn't have removed the trailing slash!
It's http://www.eclipse.org/forums/index.php/t/273959/ :)
Re: Can't use the editor under Mac OS [message #1416877 is a reply to message #1416279] Wed, 01 May 2013 19:39 Go to previous messageGo to next message
Christopher Stolte is currently offline Christopher StolteFriend
Messages: 2
Registered: May 2013
Junior Member
Hello,

I'm having the exact same problem, but I am running a 64-bit Mac and I'm using STS. Does anyone have any other suggestions for how to fix this problem?

Thanks,
Chris
Re: Can't use the editor under Mac OS [message #1416881 is a reply to message #1416279] Thu, 02 May 2013 18:08 Go to previous message
Eclipse UserFriend
Christopher, are you using a 64-bit version of the JVM?
What is the version of LDT you are trying to run?
Previous Topic:Re: Run external program on save
Next Topic:Debugger attaches, but nothing else happens
Goto Forum:
  


Current Time: Fri Apr 19 23:31:49 GMT 2024

Powered by FUDForum. Page generated in 0.04013 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top