Does Cusp work on 64 bits ??

64 views
Skip to first unread message

jmhdassen

unread,
Nov 2, 2009, 3:44:56 PM11/2/09
to Cusp Development
I am using Cusp successfully on 32 bit Ubuntu with built in sbcl
distribution and I like it. But my real development machine is 64 bit
Ubuntu with 64 bit multi threaded sbcl. There it does not seem to
work. I get the error output listed below.

Known problem ?? Setup problem ?? Anyway to fix it ???

JD

~$ ./eclipse/eclipse
>>> Found SBCL_HOME sbcl folder: /home/dassen/programming/sbcl/lib/sbcl
>>> Found SBCL_HOME sbcl folder: /home/dassen/programming/sbcl/lib/sbcl
java.lang.NullPointerException
at jasko.tim.lisp.swank.SwankInterface.connectStreams
(SwankInterface.java:536)
at jasko.tim.lisp.swank.SwankInterface.connect
(SwankInterface.java:400)
at jasko.tim.lisp.swank.SwankInterface.<init>
(SwankInterface.java:139)
at jasko.tim.lisp.LispPlugin.startSwank(LispPlugin.java:129)
at jasko.tim.lisp.LispPlugin.start(LispPlugin.java:121)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl
$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator
(BundleContextImpl.java:774)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start
(BundleContextImpl.java:755)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker
(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start
(AbstractBundle.java:280)
at org.eclipse.osgi.framework.util.SecureAction.start
(SecureAction.java:408)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass
(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass
(ClasspathManager.java:449)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass
(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
(BundleLoader.java:381)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal
(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass
(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass
(BundleLoader.java:398)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass
(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass
(BundleLoader.java:326)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:231)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass
(AbstractBundle.java:1193)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension
(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension
(ExtensionRegistry.java:874)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension
(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension
(ConfigurationElementHandle.java:51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run
(WorkbenchPlugin.java:267)
at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(WorkbenchPlugin.java:263)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView
(ViewDescriptor.java:63)
at org.eclipse.ui.internal.ViewReference.createPartHelper
(ViewReference.java:324)
at org.eclipse.ui.internal.ViewReference.createPart
(ViewReference.java:226)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart
(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.WorkbenchPage
$ActivationList.setActive(WorkbenchPage.java:4212)
at org.eclipse.ui.internal.WorkbenchPage$18.runWithException
(WorkbenchPage.java:3271)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run
(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:
35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages
(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:3115)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows
(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException
(Workbench.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run
(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:
35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages
(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:
2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:
2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run
(EclipseAppHandle.java:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:
559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
]This is SBCL 1.0.30, an implementation of ANSI Common Lisp.Exception
in thread "Secondary Swank Listener"
java.lang.NullPointerException
at jasko.tim.lisp.swank.SwankInterface
$DisplayListenerThread.run(SwankInterface.java:1869)

Gorsal

unread,
Nov 3, 2009, 6:29:29 PM11/3/09
to Cusp Development
Not sure, haven't heard about this error. I'm sure it shall be fixed
though.
However, first you need to update to the latest version because the
error lines do not correspond to the newer version i am looking at.
Look at http://wiki.github.com/Eyaro/ejasko.tim.lisp/getting

First, however, you need to uninstall it. If you installed via the
update site, you can simply go help->install new software->whats
already installed. Then click plugin and uninstall. If you didn't in
tall from update site, simply go into the plugins directory of eclipse
and delete the jasko.tim folder. Also go into the features eclipse
folder and delete the jasko folder.
Now, restart the workspace and you should see the lisp perspective has
disappeared. Now you will be ready to follow the instructions on the
above link.


First, you should probably try it with your 32 bit too make sure it
still works with ubuntu, which it hopefully should. Then try it with
64 and report back the error.

Make sure to also read the using part of the wiki above if
environmental variables need to be set up.

Amos

unread,
Nov 4, 2009, 5:16:16 AM11/4/09
to cusp-dev...@googlegroups.com
I had issues when I installed Eclipse on an amd64 Debian Lenny install, it
basically boiled down to the version of Java, but I can't remember exactly
which steps were involved to sort it. Maybe try installing eclipse separately
and see if it will start.

HTH

Cheers
Amos
--
My Web Design Business - http://www.wolfsheadsoftware.co.uk

Phil Marneweck

unread,
Nov 4, 2009, 11:27:21 AM11/4/09
to cusp-dev...@googlegroups.com
I run cusp in eclipse 3.5 on 64 bit ubuntu.

Eclipse 3.5 and karmic does not play well together. Clicking buttons
does not work you have to click a button to give it focus and then press
space bar to fire the button.

Marcio Mazza

unread,
Nov 4, 2009, 11:59:21 AM11/4/09
to cusp-dev...@googlegroups.com
Oh really?

I am just about moving to karmic...
Were you using Eclipse 3.5 in Jaunty before?

2009/11/4 Phil Marneweck <zar...@global.co.za>

Phil Marneweck

unread,
Nov 4, 2009, 12:39:11 PM11/4/09
to cusp-dev...@googlegroups.com
Yes was using 3.5 on jaunty. I will try 3.5.1 tonight to see if that
works.

jmhdassen

unread,
Nov 4, 2009, 3:55:46 PM11/4/09
to Cusp Development
Thanks Gorsal,

With the instructions and executable on the github website it is
working.
BTW I am using Ubuntu 8.04 LTS 64 bit and I tried various JRE from
1.5.0.21 to 1.6.0.17 with Eclipse SDK 3.5.1.
Java versions all work.

jmhdassen

On Nov 4, 6:29 am, Gorsal <s...@tewebs.com> wrote:
> Not sure, haven't heard about this error. I'm sure it shall be fixed
> though.
> However, first you need to update to the latest version because the
> error lines do not correspond to the newer version i am looking at.
> Look athttp://wiki.github.com/Eyaro/ejasko.tim.lisp/getting
Reply all
Reply to author
Forward
0 new messages