Menu

Error: Unable to create part

Help
2003-02-08
2003-02-17
  • Rich Thornett

    Rich Thornett - 2003-02-08

    I'm having some trouble running the plugin.  I'm using eclipse 2.1 (release M5) on Red Hat linux 7.3 with Sun's JDK 1.4.1 and received the following error dialog upon selecting the Hibernator view:

    Unable to create part: Hibernator

    The Hibernator view itself then displayed the following message:

    An error has occurred when creating this view

    I fear the information I've provided may not be too helpful - if there's an eclipse log I can scan to provide more detail, let me know.

    Thanks for your help. I'm new to Hibernate and Hibernator, but these projects look fantastic.

    Rich

     
    • Rich Thornett

      Rich Thornett - 2003-02-08

      As a follow-up, I reverted to the last official release (2.0.2) and the plugin works fine.  I'll stick with that for now.

       
    • Daniel Bradby

      Daniel Bradby - 2003-02-10

      The contents of workspace>/.metadata/.log  would be good. I'll check out Eclipse M5 anyway, but I've heard some bad things about this build

       
    • Rich Thornett

      Rich Thornett - 2003-02-17

      Sorry to take so long to get back to you on this.  Here's some of the output from the /.metadata/.log file that was generated during attempts to open the Hibernator view with Eclipse M5 (the same errors that brazzy posted):

      !SESSION Feb 08, 2003 11:51:18.36 ----------------------------------------------
      java.version=1.4.1_01
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=en_US
      Command-line arguments: -os linux -ws motif -arch x86 -install file:/opt/eclipse/
      !ENTRY org.eclipse.ui.workbench 4 2 Feb 08, 2003 11:51:18.44
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      java.lang.NoSuchMethodError: org.eclipse.jdt.internal.ui.preferences.CodeGenerationPreferencePage.getGetterStetterPrefixes()[Ljava/lang/String;

              at net.sf.hibernator.core.HiberParser.<clinit>(HiberParser.java:22)
              at net.sf.hibernator.views.HibernatorView.createPartControl(HibernatorView.java:59)
              at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:138)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
              at org.eclipse.core.runtime.Platform.run(Platform.java:413)
              at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:134)
              at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:202)
              at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:167)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
              at org.eclipse.core.runtime.Platform.run(Platform.java:413)
              at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:93)
              at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:77)
              at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
              at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:73)
              at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:332)
              at org.eclipse.ui.internal.ViewFactory$ViewReference.getView(ViewFactory.java:311)
              at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:641)
              at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:630)
              at org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.java:2696)
              at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
              at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2693)
              at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2683)
              at org.eclipse.ui.internal.ShowViewMenu.showOther(ShowViewMenu.java:181)
              at org.eclipse.ui.internal.ShowViewMenu.access$2(ShowViewMenu.java:167)
              at org.eclipse.ui.internal.ShowViewMenu$2.run(ShowViewMenu.java:41)
              at org.eclipse.jface.action.Action.runWithEvent(Action.java:804)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:450)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:398)
              at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:392)
              at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:807)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1825)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1616)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1289)
              at org.eclipse.ui.internal.Workbench.run(Workbench.java:1272)
              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:324)
              at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
              at org.eclipse.core.launcher.Main.run(Main.java:703)
              at org.eclipse.core.launcher.Main.main(Main.java:539)

      !SESSION Feb 08, 2003 11:52:52.19 ----------------------------------------------
      java.version=1.4.1_01
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=en_US
      Command-line arguments: -os linux -ws motif -arch x86 -install file:/opt/eclipse/
      !ENTRY org.eclipse.ui.workbench 4 2 Feb 08, 2003 11:52:52.20
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      java.lang.NoSuchMethodError: org.eclipse.jdt.internal.ui.preferences.CodeGenerationPreferencePage.getGetterStetterPrefixes()[Ljava/lang/String;

              at net.sf.hibernator.core.HiberParser.<clinit>(HiberParser.java:22)
              at net.sf.hibernator.views.HibernatorView.createPartControl(HibernatorView.java:59)
              at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:138)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
              at org.eclipse.core.runtime.Platform.run(Platform.java:413)
              at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:134)
              at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:202)
              at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:183)
              at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:181)
              at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:165)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
              at org.eclipse.core.runtime.Platform.run(Platform.java:413)
              at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:93)
              at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:77)
              at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
              at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:73)
              at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:907)
              at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2245)
              at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1224)
              at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1150)
              at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:1110)
              at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:1028)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
              at org.eclipse.core.runtime.Platform.run(Platform.java:413)
              at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:980)
              at org.eclipse.ui.internal.Workbench.init(Workbench.java:725)
              at org.eclipse.ui.internal.Workbench.run(Workbench.java:1260)
              at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
              at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
              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:324)
              at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
              at org.eclipse.core.launcher.Main.run(Main.java:703)
              at org.eclipse.core.launcher.Main.main(Main.java:539)

      !ENTRY org.eclipse.ui.workbench 4 2 Feb 08, 2003 11:57:20.210
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      java.lang.NoClassDefFoundError
              at net.sf.hibernator.views.HibernatorView.createPartControl(HibernatorView.java:59)
              at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:138)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
              at org.eclipse.core.runtime.Platform.run(Platform.java:413)
              at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:134)
              at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:202)
              at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:183)
              at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:181)
              at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:165)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:867)
              at org.eclipse.core.runtime.Platform.run(Platform.java:413)
              at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:93)
              at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:77)
              at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
              at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:73)
              at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1449)
              at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:651)
              at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:630)
              at org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.java:2696)
              at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
              at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2693)
              at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2683)
              at org.eclipse.ui.internal.ShowViewMenu.showOther(ShowViewMenu.java:181)
              at org.eclipse.ui.internal.ShowViewMenu.access$2(ShowViewMenu.java:167)
              at org.eclipse.ui.internal.ShowViewMenu$2.run(ShowViewMenu.java:41)
              at org.eclipse.jface.action.Action.runWithEvent(Action.java:804)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:450)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:398)
              at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:392)
              at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:807)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1825)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1616)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1289)
              at org.eclipse.ui.internal.Workbench.run(Workbench.java:1272)
              at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
              at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
              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:324)
              at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
              at org.eclipse.core.launcher.Main.run(Main.java:703)
              at org.eclipse.core.launcher.Main.main(Main.java:539)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.