Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Error when creating a new file

Help
2007-06-02
2012-12-06
  • Jan Snajder
    Jan Snajder
    2007-06-02

    Hi folks,

    I'm new to this. After I create a new Haskell project, I get the following error when creating a new file resource (after selecting "Finish" in the "New file" window): "An error has occurred. See error log for more details."

    The error log is as follows (rather long, I'm sorry):

    !ENTRY org.eclipse.core.resources 4 2 2007-06-02 18:19:39.878
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
    !STACK 0
    java.lang.NoClassDefFoundError: net.sf.eclipsefp.haskell.core.jparser.HaskellFormatter
       at java.lang.Class.initializeClass(libgcj.so.70)
       at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.<init>(HaskellParser.java:65)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:55)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:49)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:37)
       at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor$ResourceDeltaVisitor.visit(ProjectChangeMonitor.java:100)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
       at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.process(ProjectChangeMonitor.java:61)
       at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.resourceChanged(ProjectChangeMonitor.java:46)
       at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor$DeltaVisitor.visit(WorkspaceChangeMonitor.java:46)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
       at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor.resourceChanged(WorkspaceChangeMonitor.java:79)
       at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
       at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
       at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
       at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:256)
       at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:958)
       at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1746)
       at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
       at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

    !ENTRY org.eclipse.ui.workbench 4 2 2007-06-02 18:19:40.012
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NoClassDefFoundError: net.sf.eclipsefp.haskell.core.jparser.HaskellFormatter
       at java.lang.Class.initializeClass(libgcj.so.70)
       at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.<init>(HaskellParser.java:65)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:55)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:49)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:37)
       at net.sf.eclipsefp.haskell.ui.views.outline.ExperimentalCP.getElements(ExperimentalCP.java:47)
       at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:927)
       at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1144)
       at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
       at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:574)
       at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:543)
       at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:728)
       at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
       at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705)
       at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
       at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1288)
       at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1323)
       at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1277)
       at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250)
       at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1542)
       at net.sf.eclipsefp.haskell.ui.views.outline.HaskellOutlinePage.createControl(HaskellOutlinePage.java:41)
       at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:134)
       at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:399)
       at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:743)
       at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:209)
       at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
       at org.eclipse.core.runtime.Platform.run(Platform.java:858)
       at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
       at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
       at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:87)
       at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:75)
       at org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged(WorkbenchPagePartList.java:51)
       at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:152)
       at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1181)
       at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3200)
       at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:588)
       at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2604)
       at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
       at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
       at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
       at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
       at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
       at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
       at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
       at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
       at org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard.performFinish(BasicNewFileResourceWizard.java:101)
       at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
       at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
       at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
       at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
       at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
       at org.eclipse.jface.window.Window.open(Window.java:796)
       at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:110)
       at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
       at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
       at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
       at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
       at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
       at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
       at java.lang.reflect.Method.invoke(libgcj.so.70)
       at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
       at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
       at org.eclipse.core.launcher.Main.run(Main.java:977)
       at org.eclipse.core.launcher.Main.main(Main.java:952)

    !ENTRY org.eclipse.core.resources 4 2 2007-06-02 18:19:40.067
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
    !STACK 0
    java.lang.NoClassDefFoundError: net.sf.eclipsefp.haskell.core.jparser.HaskellFormatter
       at java.lang.Class.initializeClass(libgcj.so.70)
       at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.<init>(HaskellParser.java:65)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:55)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:49)
       at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:37)
       at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor$ResourceDeltaVisitor.visit(ProjectChangeMonitor.java:100)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
       at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.process(ProjectChangeMonitor.java:61)
       at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.resourceChanged(ProjectChangeMonitor.java:46)
       at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor$DeltaVisitor.visit(WorkspaceChangeMonitor.java:46)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
       at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
       at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor.resourceChanged(WorkspaceChangeMonitor.java:79)
       at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
       at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
       at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
       at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:256)
       at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:958)
       at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:164)
       at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:217)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

    I'm using Eclipse Version: 3.2.2, Build id: M20070212-1330 (Ubuntu version: 3.2.2-0ubuntu3)
    and EclipseFP 0.10.0.

    Perhaps something went wrong with the installation?

    Thanks,
    Jan