- This topic has 1 reply, 1 voice, and was last updated 18 years, 3 months ago by jieryn.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
jierynMemberGreetings,
I’ve added Spring and Hibernate capabilities to an existing Web Project. I’m working from two books, Pro Spring and Pro Hibernate. I’m pretty much following the example code given, but there seems to be a problem in the Spring libraries that MyEclipse is pulling in.. it seems to want the OLD sf.net Hibernate packaged JARs and is ignoring my org.hibernate JARs. Please help!
package myproj.dao; import java.sql.SQLException; import java.util.Collection; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Session; import org.springframework.orm.hibernate.HibernateCallback; import org.springframework.orm.hibernate.support.HibernateDaoSupport; import myproj.Volume; public class HibernateVolumeDAO extends HibernateDaoSupport implements VolumeDAO { public Volume getVolume(final String volser, final Integer devcap) { final String query = "from Volume v where v.prop1=:prop1 and v.prop2=:prop2"; final HibernateCallback hbc = new HibernateCallback() { public Object doInHibernate(final Session session) throws HibernateException, SQLException { return null; } }; } @SuppressWarnings("unchecked") public Collection<Volume> getAllVolumes() { return (List<Volume>) getHibernateTemplate().find("from Volume"); } }
Gives me this error message:
The type net.sf.hibernate.Session cannot be resolved. It is indirectly referenced from required .class files
*** Date: Tue Sep 19 12:40:37 EDT 2006 *** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_07 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 4.1.1 GA Build id: 20060309-4.1.1-GA *** Eclipse details: Eclipse SDK Version: 3.1.1 Build id: M20050929-0840 Eclipse Platform Version: 3.1.1 Build id: M20050929-0840 Eclipse RCP Version: 3.1.1 Build id: M20050929-0840 Eclipse Java Development Tools Version: 3.1.1 Build id: M20050929-0840 Eclipse Plug-in Development Environment Version: 3.1.1 Build id: M20050929-0840 Eclipse Project SDK Version: 3.1.1 Build id: M20050929-0840 Eclipse startup command=-os win32 -ws win32 -arch x86 -launcher C:\Program Files\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata a50_3c -vm C:\WINDOWS\system32\javaw.exe
I’m sorry, I don’t know what is relevant in this error log. I grabbed a large number of lines from the bottom, hopefully it contains something good:
!MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.hibernate.editor.multipage.hibernatemappingeditor to create itself (this is probably, but not necessarily, a bug) !ENTRY org.eclipse.ui 4 0 2006-09-14 12:10:26.264 !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.hibernate.editor.multipage.hibernatemappingeditor to create itself (this is probably, but not necessarily, a bug) !STACK 1 org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by part com.genuitec.eclipse.hibernate.editor.multipage.hibernatemappingeditor to create itself (this is probably, but not necessarily, a bug) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:543) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223) at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:477) at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:402) at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:372) at org.eclipse.ui.internal.WorkbenchPage.findEditor(WorkbenchPage.java:1780) at com.genuitec.eclipse.core.util.EditorUtil.getEditorForInput(EditorUtil.java:158) at com.genuitec.eclipse.core.util.EditorUtil.checkConflictingEditor(EditorUtil.java:219) at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.init(XMLMultiPageEditorPart.java:552) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(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.presentationSelectionChanged(PartStack.java:785) at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:771) at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:119) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84) 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.Widget.sendEvent(Widget.java:867) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:660) at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3138) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1922) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288) 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:367) 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(PlatformActivator.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) !SUBENTRY 1 org.eclipse.ui 4 0 2006-09-14 12:10:26.264 !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.hibernate.editor.multipage.hibernatemappingeditor to create itself (this is probably, but not necessarily, a bug) !SESSION 2006-09-19 08:04:33.760 ----------------------------------------------- eclipse.buildId=M20050929-0840 java.version=1.5.0_07 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 org.tigris.subversion.subclipse.core 4 0 2006-09-19 08:05:03.853 !MESSAGE No subversion client interface found. !STACK 0 org.tigris.subversion.svnclientadapter.SVNClientException: No subversion client interface found. at org.tigris.subversion.svnclientadapter.SVNClientAdapterFactory.getPreferredSVNClientType(SVNClientAdapterFactory.java:83) at org.tigris.subversion.subclipse.core.SVNClientManager.setSvnClientInterface(SVNClientManager.java:58) at org.tigris.subversion.subclipse.core.SVNClientManager.getSvnClientInterface(SVNClientManager.java:94) at org.tigris.subversion.subclipse.core.SVNClientManager.createSVNClient(SVNClientManager.java:111) at org.tigris.subversion.subclipse.core.SVNProviderPlugin.createSVNClient(SVNProviderPlugin.java:371) at org.tigris.subversion.subclipse.core.SVNProviderPlugin.getAdminDirectoryName(SVNProviderPlugin.java:492) at org.tigris.subversion.subclipse.core.SVNClientManager.setSvnClientInterface(SVNClientManager.java:84) at org.tigris.subversion.subclipse.ui.Preferences.setSvnClientInterface(Preferences.java:101) at org.tigris.subversion.subclipse.ui.Preferences.initializePreferences(Preferences.java:88) at org.tigris.subversion.subclipse.ui.SVNUIPlugin.start(SVNUIPlugin.java:394) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:264) at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350) at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1248) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:51) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:111) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:107) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:218) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:67) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:289) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:275) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:318) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) !ENTRY org.eclipse.osgi 2006-09-19 08:05:03.863 !MESSAGE An error occurred while automatically activating bundle org.tigris.subversion.subclipse.ui (747). !STACK 0 org.osgi.framework.BundleException: Exception in org.tigris.subversion.subclipse.ui.SVNUIPlugin.start() of bundle org.tigris.subversion.subclipse.ui. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:264) at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350) at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1248) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:51) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:111) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:107) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:218) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:67) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:289) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:275) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:318) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) Caused by: java.lang.NullPointerException at org.tigris.subversion.subclipse.core.SVNProviderPlugin.getAdminDirectoryName(SVNProviderPlugin.java:492) at org.tigris.subversion.subclipse.core.SVNClientManager.setSvnClientInterface(SVNClientManager.java:84) at org.tigris.subversion.subclipse.ui.Preferences.setSvnClientInterface(Preferences.java:101) at org.tigris.subversion.subclipse.ui.Preferences.initializePreferences(Preferences.java:88) at org.tigris.subversion.subclipse.ui.SVNUIPlugin.start(SVNUIPlugin.java:394) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988) ... 31 more Root exception: java.lang.NullPointerException at org.tigris.subversion.subclipse.core.SVNProviderPlugin.getAdminDirectoryName(SVNProviderPlugin.java:492) at org.tigris.subversion.subclipse.core.SVNClientManager.setSvnClientInterface(SVNClientManager.java:84) at org.tigris.subversion.subclipse.ui.Preferences.setSvnClientInterface(Preferences.java:101) at org.tigris.subversion.subclipse.ui.Preferences.initializePreferences(Preferences.java:88) at org.tigris.subversion.subclipse.ui.SVNUIPlugin.start(SVNUIPlugin.java:394) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:264) at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350) at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1248) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:51) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:111) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:107) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:218) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:67) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:289) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:275) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:318) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) !ENTRY org.eclipse.core.runtime 4 1 2006-09-19 08:05:03.873 !MESSAGE Plug-in org.tigris.subversion.subclipse.ui was unable to load class org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator. !STACK 0 java.lang.ClassNotFoundException: org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350) at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1248) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:51) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:111) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:107) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:218) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:67) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:289) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:275) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:318) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) !ENTRY org.eclipse.osgi 2006-09-19 08:05:11.634 !MESSAGE An unexpected runtime error has occurred. !STACK 0 java.lang.NullPointerException at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.internal.core.PackageFragmentRoot.validateOnClasspath(PackageFragmentRoot.java:791) at org.eclipse.jdt.internal.core.PackageFragmentRoot.exists(PackageFragmentRoot.java:352) at org.eclipse.jdt.internal.ui.workingsets.JavaWorkingSetUpdater.checkElementExistence(JavaWorkingSetUpdater.java:205) at org.eclipse.jdt.internal.ui.workingsets.JavaWorkingSetUpdater.add(JavaWorkingSetUpdater.java:78) at org.eclipse.ui.internal.AbstractWorkingSetManager.bundleChanged(AbstractWorkingSetManager.java:495) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1205) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291) !ENTRY update@plugins/org.eclipse.ui.workbench_3.1.1.jar 0 0 2006-09-19 08:05:11.644 !MESSAGE FrameworkEvent.ERROR !STACK 0 java.lang.NullPointerException at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:41) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3926) at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:34) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954) at org.eclipse.jdt.internal.core.PackageFragmentRoot.validateOnClasspath(PackageFragmentRoot.java:791) at org.eclipse.jdt.internal.core.PackageFragmentRoot.exists(PackageFragmentRoot.java:352) at org.eclipse.jdt.internal.ui.workingsets.JavaWorkingSetUpdater.checkElementExistence(JavaWorkingSetUpdater.java:205) at org.eclipse.jdt.internal.ui.workingsets.JavaWorkingSetUpdater.add(JavaWorkingSetUpdater.java:78) at org.eclipse.ui.internal.AbstractWorkingSetManager.bundleChanged(AbstractWorkingSetManager.java:495) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1205) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291) !SESSION 2006-09-19 11:19:56.807 ----------------------------------------------- eclipse.buildId=M20050929-0840 java.version=1.5.0_07 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 org.eclipse.osgi 2006-09-19 11:20:30.525 !MESSAGE While loading class "org.tigris.subversion.subclipse.ui.console.ConsoleDocument$ConsoleLine", thread "main" timed out waiting (5000ms) for thread "Worker-0" to finish starting bundle "org.tigris.subversion.subclipse.ui". To avoid deadlock, thread "main" is proceeding but "org.tigris.subversion.subclipse.ui.console.ConsoleDocument$ConsoleLine" may not be fully initialized. !STACK 0 java.lang.Exception: Generated exception. at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:108) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350) at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.tigris.subversion.subclipse.ui.console.ConsoleDocument.getLines(ConsoleDocument.java:79) at org.tigris.subversion.subclipse.ui.console.SVNOutputConsole.dump(SVNOutputConsole.java:202) at org.tigris.subversion.subclipse.ui.console.SVNOutputConsole.access$1(SVNOutputConsole.java:199) at org.tigris.subversion.subclipse.ui.console.SVNOutputConsole$1.run(SVNOutputConsole.java:124) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716) 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:367) 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(PlatformActivator.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)
jierynMemberSeems I really needed to use import org.springframework.orm.hibernate3.* instead of import org.springframework.orm.hibernate.* …. GRRR! 🙂
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)