- This topic has 5 replies, 4 voices, and was last updated 16 years, 10 months ago by
Brian Fernandes.
-
AuthorPosts
-
danglauserMemberHello all,
I’m receiving the following error when I try and open the Hibernate Query Editor in MyEclipse 5.5.1 GA:
A configuration object could not be built, autocomplete and dynamic query translation will be unavailable. Queries cannot be executed.
Reason:
org.eclipse.core.internal.resources.WorkspaceRootAnd the stacktrace:
!SESSION 2007-06-21 15:27:10.455 ----------------------------------------------- eclipse.buildId=M20070212-1330 java.version=1.5.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2007-06-21 15:28:38.396 !MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot !SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2007-06-21 15:28:38.396 !MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot !STACK 0 java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114) at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119) at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) !SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2007-06-21 15:28:38.396 !MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot !STACK 0 java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114) at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119) at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) !ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2007-06-21 15:28:38.396 !MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException
Any ideas? This was previously working for the project in question.
Regards,
—
Dan
danglauser(at)yahoo.com
Riyad KallaMemberHmm… did you install any 3rd party plugins like Hibernate Tools, WTP, etc.?
It *looks* like an install issue cause of the core ClassCastException, which is easy enough to test by downloading the 5.5.1 all in one installer and installing to a*brand new* directory (not an existing one) and then reopening your workspace and trying again… but if you can narrow down the issue to starting with the addition of a new plugin, you might want to remove that other plugin and try again before doing a new install.
JoseMemberI have NOT installed any other pluggins. I also suddenly started to get this exception when I tried to open the HQL Editor (which was working previously).
After getting this exception I got any current updates to existing features and installed those, but still get the error. I am using Version 6.0.1 GA Build id: 6.0.1-GA-200710
Any ideas? Here is the exception:
!ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2008-06-25 15:11:12.375
!MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot
!SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:12.375
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:12.390
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)!ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2008-06-25 15:11:12.390
!MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException!ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2008-06-25 15:11:29.218
!MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot
!SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:29.218
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:29.218
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)!ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2008-06-25 15:11:29.218
!MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException!ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2008-06-25 15:11:32.234
!MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot
!SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:32.234
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:32.234
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)!ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2008-06-25 15:11:32.234
!MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException!ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2008-06-25 15:11:57.921
!MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot
!SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:57.921
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:11:57.921
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)!ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2008-06-25 15:11:57.921
!MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException!ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2008-06-25 15:14:07.000
!MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot
!SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:14:07.000
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:14:07.000
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)!ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2008-06-25 15:14:07.000
!MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException!ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2008-06-25 15:14:10.890
!MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot
!SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:14:10.890
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:14:10.890
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)!ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2008-06-25 15:14:10.890
!MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException!ENTRY com.genuitec.org.hibernate.eclipse.console 4 4 2008-06-25 15:14:53.703
!MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot
!SUBENTRY 1 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:14:53.703
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
!SUBENTRY 2 com.genuitec.org.hibernate.eclipse.console 4 150 2008-06-25 15:14:53.703
!MESSAGE java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:114)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:119)
at com.genuitec.eclipse.hibernate.action.MERefreshCCAction$1.run(MERefreshCCAction.java:93)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)!ENTRY com.genuitec.org.hibernate.eclipse.console 1 0 2008-06-25 15:14:53.843
!MESSAGE Could not refresh Hibernate project context com.genuitec.eclipse.hibernate.action.MERefreshCCAction$InProgressException
JoseMemberAlso, I have not had any other problems. I have been working with this version (including successfully working with HQL Editor) for several months without any issues.
JoseMemberAfter uninstalling MyEclipse 6.1 and installing the latest 6.5 version, I am still getting the resources.WorkspaceRoot error. PLEASE HELP!!!!!!!!!!!!
Brian FernandesModeratorPlease see my response here: https://www.genuitec.com/forums/topic/cce-org-eclipse-core-internal-resources-workspaceroot/#post-286376
Thanks.
-
AuthorPosts