From: Max R. A. (JIRA) <no...@at...> - 2006-06-26 08:14:57
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23411 ] Max Rydahl Andersen commented on HBX-694: ----------------------------------------- of course - if I could just look at the projects classpath I did not need the seperated classpath at all! The whole point is that you just point to the classes/build directory without "dragging" in all other dependencies such as e.g. Hibernate libs which would collide with the hibernate jars used in the hibernate plugin. This is also documented in the docs and explicitly written on the classpath console configuration dialog page. > java.lang.NullPointerException when trying to create a Hibernate Configuration > ------------------------------------------------------------------------------- > > Key: HBX-694 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-694 > Project: Hibernate Tools > Type: Bug > Components: eclipse > Versions: 3.1.beta5 > Environment: Oralce 10g > eclipse.buildId=I20050627-1435 > java.version=1.5.0_06 > 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 > This is a continuation of log file C:\PROJECTS\EclipseWorkSpace\.metadata\.bak_0.log > Created Time: 2006-06-21 17:53:45.486 > Reporter: Chad Perry > Fix For: 3.2beta6 > Attachments: clip_image002.jpg > > > java.lang.NullPointerException > at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getRawLocationFile(ClassLoaderHelper.java:91) > at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getRawLocationURL(ClassLoaderHelper.java:83) > at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getRawLocationsURLForResources(ClassLoaderHelper.java:117) > at org.hibernate.eclipse.console.EclipseConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseConsoleConfigurationPreferences.java:81) > at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:109) > at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:98) > at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:19) > at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:69) > at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) > NOTE: While it maybe a bad setup/configuration on MY part, I think a better exception is in order. Because right now, I have no idea why this is happening to me? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |