-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Hibernate Console cannot find Entity despite it being on CP
PostPosted: Thu Aug 23, 2007 5:40 am 
Newbie

Joined: Thu Aug 23, 2007 5:22 am
Posts: 3
Hi,


hopefully somebody of you can help me with this problem that is bugging me and driving me insane.

I have a Spring/Hibernate application based on Appfuse and I would like to prototype HQL statements in Eclipse using Hibernate Tools. When trying to create a Hibernate Console configuration, I can add the properties to my Oracle Database and my mapping files without problems. I then want to continue add the dao.jar and ojdbc.jar files to the classpath (POJOs + JDBC driver).

After saving my configuration I can see the tables in the console view and the mapping files without problems. But then I try to open the sessionfactory for the HQL Editor, I am confronted with a org.hibernate.MappingException. The root cause is that it cannot find a specific POJO entity class not found: de.fzk.iai.prowida.security.model.User.


The strange thing is, I have added the dao.jar that contains the dao and model classes. It becomes even stranger when I recognized that the console can find half of my entity classes, but some specific classes located in a different folder are not found (starting with the given User POJO). This is how "dao.jar" looks like:

Code:

dao.jar
|
|--META-INF
|
|--de
    |
    |--fzk
        |
        |--iai
            |
            |--prowida
                |
                |--core
                |   |
                |   |--dao
                |   |
                |   |--model
                |        |
                |        |-(POJOs that are found)
                |
                |--security
                |   |
                |   |--dao
                |   |
                |   |--model
                |        |
                |        |-(POJOs that are NOT found, e.g. "User")
                |
                |-- [... base classes, 2 more packages]




And this is the full stacktrace of my eclipse logging file:





Code:
!ENTRY org.hibernate.eclipse.console 4 4 2007-08-23 11:19:50.887
!MESSAGE Problems while creating sessionfactory
!SUBENTRY 1 org.hibernate.eclipse.console 4 150 2007-08-23 11:19:50.887
!MESSAGE org.hibernate.MappingException: entity class not found: de.fzk.iai.prowida.security.model.User
!STACK 0
org.hibernate.MappingException: entity class not found: de.fzk.iai.prowida.security.model.User
   at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:99)
   at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
   at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
   at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:118)
   at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:425)
   at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
   at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
   at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1218)
   at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:282)
   at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:56)
   at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:85)
   at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:277)
   at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:41)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:88)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:94)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.lang.ClassNotFoundException: de.fzk.iai.prowida.security.model.User
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:164)
   at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
   at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:96)
   ... 17 more
!SUBENTRY 2 org.hibernate.eclipse.console 4 150 2007-08-23 11:19:50.887
!MESSAGE org.hibernate.MappingException: entity class not found: de.fzk.iai.prowida.security.model.User
!STACK 0
org.hibernate.MappingException: entity class not found: de.fzk.iai.prowida.security.model.User
   at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:99)
   at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
   at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
   at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:118)
   at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:425)
   at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
   at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
   at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1218)
   at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:282)
   at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:56)
   at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:85)
   at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:277)
   at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:41)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:88)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:94)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.lang.ClassNotFoundException: de.fzk.iai.prowida.security.model.User
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:164)
   at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
   at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:96)
   ... 17 more
!SUBENTRY 2 org.hibernate.eclipse.console 4 150 2007-08-23 11:19:50.887
!MESSAGE java.lang.ClassNotFoundException: de.fzk.iai.prowida.security.model.User
!STACK 0
java.lang.ClassNotFoundException: de.fzk.iai.prowida.security.model.User
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:164)
   at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
   at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:96)
   at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
   at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
   at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:118)
   at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:425)
   at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
   at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
   at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1218)
   at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:282)
   at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:56)
   at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:85)
   at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:277)
   at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:41)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:88)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:94)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

!ENTRY org.hibernate.eclipse 2 30000 2007-08-23 11:20:07.402
!MESSAGE WARN Finalizer org.hibernate.connection.DriverManagerConnectionProvider - problem closing pooled connection
!STACK 0
java.sql.SQLException: E/A-Exception: Socket closed
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:480)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:1184)
   at org.hibernate.connection.DriverManagerConnectionProvider.close(DriverManagerConnectionProvider.java:152)
   at org.hibernate.connection.DriverManagerConnectionProvider.finalize(DriverManagerConnectionProvider.java:142)
   at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
   at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
   at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 24, 2007 7:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Is dao.jar on the console's classpath ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 30, 2007 8:29 am 
Newbie

Joined: Thu Aug 23, 2007 5:22 am
Posts: 3
Yes, that was what I tried at first.


Then I tried to add the "classes" folder of "bin" where all the compiled classes are in the same package/name structure as the source of course.



I tried creating my own jar file with the folders starting from "de.fzk...." just as you would expect it.




Basically I tried anything to help him find my files.



It all did not help.


Edit: Tried it today in RHDS beta1. The Console Configuration Wizard GUI threw a lot of strange exceptions to the Error log like "Ressource \test is not open" or "Unhandled event loop exception".


Code:
!ENTRY org.eclipse.ui 4 0 2007-08-30 14:34:33.314
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
   at org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab.isDefaultClasspath(JavaClasspathTab.java:348)
   at org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab.performApply(JavaClasspathTab.java:274)
   at org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.performApply(AbstractLaunchConfigurationTabGroup.java:98)
   at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.performApply(LaunchConfigurationTabGroupWrapper.java:169)
   at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.handleApplyPressed(LaunchConfigurationTabGroupViewer.java:1356)
   at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationPropertiesDialog.okPressed(LaunchConfigurationPropertiesDialog.java:221)
   at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:464)
   at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.buttonPressed(LaunchConfigurationsDialog.java:322)
   at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
   at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
   at org.eclipse.jface.window.Window.open(Window.java:796)
   at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1133)
   at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationPropertiesDialog.open(LaunchConfigurationPropertiesDialog.java:230)
   at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationPropertiesDialog(DebugUITools.java:429)
   at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationPropertiesDialog(DebugUITools.java:408)
   at org.hibernate.eclipse.console.actions.AddConfigurationAction.doAddConfiguration(AddConfigurationAction.java:74)
   at org.hibernate.eclipse.console.actions.AddConfigurationAction.run(AddConfigurationAction.java:57)
   at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
   at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
   at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
   at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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.equinox.launcher.Main.invokeFramework(Main.java:504)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1169)



or.... (trying to take away my path information)


Code:
!ENTRY org.hibernate.eclipse.console 4 2 2007-08-30 14:32:42.151
!MESSAGE org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath
!SUBENTRY 1 org.hibernate.eclipse.console 4 150 2007-08-30 14:32:42.151
!MESSAGE org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath
!STACK 0
org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath
   at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:88)
   at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:158)
   at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106)
   at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:89)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:95)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.debug.core.DebugException: Launch configuration Prowidamn2 at C:\[...]\Desktop\RHDS WS\.metadata\.plugins\org.eclipse.debug.core\.launches\Prowidamn2.launch does not exist.
   at org.eclipse.debug.internal.core.LaunchManager.createDebugException(LaunchManager.java:857)
   at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1300)
   at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:394)
   at org.eclipse.debug.internal.core.LaunchConfiguration.getAttribute(LaunchConfiguration.java:336)
   at org.eclipse.jdt.launching.JavaRuntime.getClasspathProvider(JavaRuntime.java:794)
   at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1167)
   at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:146)
   at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:79)
   ... 7 more
!SUBENTRY 2 org.hibernate.eclipse.console 4 150 2007-08-30 14:32:42.151
!MESSAGE org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath
!STACK 0
org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath
   at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:88)
   at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:158)
   at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106)
   at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:89)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:95)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.debug.core.DebugException: Launch configuration Prowidamn2 at C:\[...]\Desktop\RHDS WS\.metadata\.plugins\org.eclipse.debug.core\.launches\Prowidamn2.launch does not exist.
   at org.eclipse.debug.internal.core.LaunchManager.createDebugException(LaunchManager.java:857)
   at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1300)
   at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:394)
   at org.eclipse.debug.internal.core.LaunchConfiguration.getAttribute(LaunchConfiguration.java:336)
   at org.eclipse.jdt.launching.JavaRuntime.getClasspathProvider(JavaRuntime.java:794)
   at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1167)
   at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:146)
   at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:79)
   ... 7 more
!SUBENTRY 2 org.hibernate.eclipse.console 4 150 2007-08-30 14:32:42.151
!MESSAGE org.eclipse.debug.core.DebugException: Launch configuration Prowidamn2 at C:\[...]\Desktop\RHDS WS\.metadata\.plugins\org.eclipse.debug.core\.launches\Prowidamn2.launch does not exist.
!STACK 1
org.eclipse.debug.core.DebugException: Launch configuration Prowidamn2 at C:\[...]\Desktop\RHDS WS\.metadata\.plugins\org.eclipse.debug.core\.launches\Prowidamn2.launch does not exist.
   at org.eclipse.debug.internal.core.LaunchManager.createDebugException(LaunchManager.java:857)
   at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1300)
   at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:394)
   at org.eclipse.debug.internal.core.LaunchConfiguration.getAttribute(LaunchConfiguration.java:336)
   at org.eclipse.jdt.launching.JavaRuntime.getClasspathProvider(JavaRuntime.java:794)
   at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1167)
   at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:146)
   at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:79)
   at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:158)
   at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106)
   at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:89)
   at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:95)
   at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 3 org.eclipse.debug.core 4 5012 2007-08-30 14:32:42.151
!MESSAGE Launch configuration Prowidamn2 at C:\[...]\Desktop\RHDS WS\.metadata\.plugins\org.eclipse.debug.core\.launches\Prowidamn2.launch does not exist.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 3:27 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
The nullpointerexception is a known issue.

The others looks very weird since it indicates that the reason we can't find any classes is because the .launch file is not created correctl....

Could you report this in our jira with the *minimal* steps to reproduce this ? (e.g. on the simplest project possible) ?

thanks

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.