Hello! I setup Subclim/Eclim, and am getting errors when trying to run anything. For example, when running "Subclim: Request Completions", Sublime pops up with the following stack trace. Eclipse (Juno) has an eclimd window running, which pops up with an error, also below. Any idea how I might look at fixing?
Sublime Stack Trace
2013-04-23 12:49:15,948 - ERROR - Error connecting to Eclim server: java.lang.NullPointerException at org.eclim.plugin.core.util.ProjectUtils.getFilePath(ProjectUtils.java:179) at org.eclim.plugin.core.util.ProjectUtils.getFilePath(ProjectUtils.java:141) at org.eclim.plugin.core.command.AbstractCommand.getOffset(AbstractCommand.java:96) at org.eclim.plugin.core.command.AbstractCommand.getOffset(AbstractCommand.java:70) at org.eclim.plugin.jdt.command.complete.CodeCompleteCommand.execute(CodeCompleteCommand.java:72) at org.eclim.command.Main$1.run(Main.java:100) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3946) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3623) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
eclimd logs
2013-04-23 12:47:02,816 INFO [org.eclim.eclipse.EclimDaemon] Workspace: /Users/Matthew/Documents/workspace-tmp
2013-04-23 12:47:02,817 INFO [org.eclim.eclipse.EclimDaemon] Starting eclim...
2013-04-23 12:47:02,825 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim
2013-04-23 12:47:02,828 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim.core
2013-04-23 12:47:02,916 INFO [org.eclim.plugin.core.CorePlugin] Loading eclim plugins...
2013-04-23 12:47:02,921 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt
2013-04-23 12:47:02,924 INFO [org.eclim.plugin.core.CorePlugin] Plugins loaded.
2013-04-23 12:47:02,924 INFO [org.eclim.eclipse.EclimDaemon] Loaded plugin org.eclim.core
2013-04-23 12:47:02,924 INFO [org.eclim.eclipse.EclimDaemon] Eclim Server Started on: 127.0.0.1:9091
2013-04-23 12:48:09,166 ERROR [org.eclim.plugin.core.command.AbstractCommand] Exception during cleanup of command: [-command, java_complete, -p, Hacker, Olympics, -f, src/Solution.java, -o, 754, -e, utf-8, -l, compact]
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
at org.eclipse.core.runtime.Path.initialize(Path.java:577)
at org.eclipse.core.runtime.Path.(Path.java:185)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:182)
at org.eclim.plugin.core.util.ProjectUtils.getProject(ProjectUtils.java:121)
at org.eclim.plugin.core.util.ProjectUtils.getProject(ProjectUtils.java:107)
at org.eclim.plugin.core.command.AbstractCommand.cleanup(AbstractCommand.java:142)
at org.eclim.command.Main$1.run(Main.java:104)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3946)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3623)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Hello! I setup Subclim/Eclim, and am getting errors when trying to run anything. For example, when running "Subclim: Request Completions", Sublime pops up with the following stack trace. Eclipse (Juno) has an eclimd window running, which pops up with an error, also below. Any idea how I might look at fixing?
Sublime Stack Trace
2013-04-23 12:49:15,948 - ERROR - Error connecting to Eclim server: java.lang.NullPointerException at org.eclim.plugin.core.util.ProjectUtils.getFilePath(ProjectUtils.java:179) at org.eclim.plugin.core.util.ProjectUtils.getFilePath(ProjectUtils.java:141) at org.eclim.plugin.core.command.AbstractCommand.getOffset(AbstractCommand.java:96) at org.eclim.plugin.core.command.AbstractCommand.getOffset(AbstractCommand.java:70) at org.eclim.plugin.jdt.command.complete.CodeCompleteCommand.execute(CodeCompleteCommand.java:72) at org.eclim.command.Main$1.run(Main.java:100) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3946) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3623) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
eclimd logs
2013-04-23 12:47:02,816 INFO [org.eclim.eclipse.EclimDaemon] Workspace: /Users/Matthew/Documents/workspace-tmp 2013-04-23 12:47:02,817 INFO [org.eclim.eclipse.EclimDaemon] Starting eclim... 2013-04-23 12:47:02,825 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim 2013-04-23 12:47:02,828 INFO [org.eclim.eclipse.EclimDaemon] Loading plugin org.eclim.core 2013-04-23 12:47:02,916 INFO [org.eclim.plugin.core.CorePlugin] Loading eclim plugins... 2013-04-23 12:47:02,921 INFO [org.eclim.plugin.core.CorePlugin] Loading plugin org.eclim.jdt 2013-04-23 12:47:02,924 INFO [org.eclim.plugin.core.CorePlugin] Plugins loaded. 2013-04-23 12:47:02,924 INFO [org.eclim.eclipse.EclimDaemon] Loaded plugin org.eclim.core 2013-04-23 12:47:02,924 INFO [org.eclim.eclipse.EclimDaemon] Eclim Server Started on: 127.0.0.1:9091 2013-04-23 12:48:09,166 ERROR [org.eclim.plugin.core.command.AbstractCommand] Exception during cleanup of command: [-command, java_complete, -p, Hacker, Olympics, -f, src/Solution.java, -o, 754, -e, utf-8, -l, compact] org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73) at org.eclipse.core.runtime.Path.initialize(Path.java:577) at org.eclipse.core.runtime.Path.(Path.java:185)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:182)
at org.eclim.plugin.core.util.ProjectUtils.getProject(ProjectUtils.java:121)
at org.eclim.plugin.core.util.ProjectUtils.getProject(ProjectUtils.java:107)
at org.eclim.plugin.core.command.AbstractCommand.cleanup(AbstractCommand.java:142)
at org.eclim.command.Main$1.run(Main.java:104)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3946)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3623)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)