AW: Haystack and Eclipse 3.1

From: Svensson, Lars <svensson_at_dbf.ddb.de>
Date: Fri, 13 Jan 2006 09:15:46 +0100

In litteris suis de Donnerstag, 12. Januar 2006 14:56, Daniel S. Haischt
<mailto:me_at_stefan.haischt.name> scripsit:

> Hello,
>
> are you on a Windows box or on some kinda Unice?
>
> On Unices there's an issue with some native libraries...
>
> Svensson, Lars wrote:
>> Hi again,
>>
>> Does Haystack currently only work on Eclipse 3.0? I tried to install
>> it on Eclipse 3.1.0 but got a NPE when trying to open the
>> perspective. I'm not familiar with the API changes between Eclipse
>> 3.0 and 3.1, so I can't really help there. Anyone else?
>>
Well, I tried again. Deleted all haystack-related files in eclipse's
plugins and features directory, and installed haystack again through
eclipse's update function. Today it downloaded correctly (don't know
what went wrong yesterday), then went on to search my eclipse working
directory, downloaded some ontologies etc from the web, restarted
eclipse and everything looked fine.
Then I tried "Window -> Open perspective -> Haystack tabbed screen".
This opened a tabbed perspective with the tabs I had open in my Java
perspective. Looked OK. When, however, I tried "Haystack -> Home" from
the menu, I got a tab titled
"http://haystack.lcs.mit.edu/data/operations#startingPoints" having an
ugly error icon and the text "Unable to create this part due to an
internal error. Reason for the failure: An unexpected exception was
thrown." Asking for details I got:
java.lang.NullPointerException
        at
edu.mit.lcs.haystack.eclipse.EditorHostPart$HostPart.initialize(EditorHo
stPart.java:252)
        at
edu.mit.lcs.haystack.eclipse.EditorHostPart.initialize(EditorHostPart.ja
va:455)
        at
edu.mit.lcs.haystack.eclipse.Editor.createPartControl(Editor.java:172)
        at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference
.java:585)
        at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:
365)
        at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartRefe
rence.java:552)
        at
org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
        at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Present
ablePart.java:126)
        at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(
PresentablePartFolder.java:268)
        at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(Le
ftToRightTabOrder.java:65)
        at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selec
tPart(TabbedStackPresentation.java:391)
        at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack
.java:1102)
        at
org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
        at
org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
        at
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContaine
r.java:60)
        at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.ja
va:212)
        at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java
:202)
        at
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java
:753)
        at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorMan
ager.java:665)
        at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
        at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPag
e.java:2323)
        at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:
2258)
        at
org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
        at
org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231
)
        at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2204
)
        at
edu.mit.lcs.haystack.eclipse.BrowseAction.openEditor(BrowseAction.java:4
8)
        at
edu.mit.lcs.haystack.eclipse.NavigationAction.run(NavigationAction.java:
37)
        at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
        at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.j
ava:223)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:538)
        at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut
ionItem.java:488)
        at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont
ributionItem.java:400)
        at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
        at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:3
67)
        at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiva
tor.java:226)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
376)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
163)
        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.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)

Any ideas, anyone?

Lars

-- 
Dr. Lars G. Svensson
Die Deutsche Bibliothek
Informationstechnik / Projekt DDC-Deutsch
Tel.: 069 / 1525 - 1752
http://www.ddc-deutsch.de
Received on Fri Jan 13 2006 - 08:15:32 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT