From: Chad P. (JIRA) <no...@at...> - 2006-06-25 06:07:36
|
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 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 |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-25 13:29:33
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23390 ] Max Rydahl Andersen commented on HBX-694: ----------------------------------------- some more information about your hibernate console configuraiton would also be very beneficial so i can reproduce it. thank you. > 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 > 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 |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-25 13:52:33
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=all ] Max Rydahl Andersen closed HBX-694: ----------------------------------- Fix Version: 3.2beta6 Resolution: Fixed i've committed a more concrete exception; but still don't know how you can have a classpath where the underlying elements is not actually present. Can you list me the classpath elements you have in your console configuration ? > 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 |
From: Chad P. (JIRA) <no...@at...> - 2006-06-25 16:42:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23395 ] Chad Perry commented on HBX-694: -------------------------------- Question: how can I get the latest build - 3.2beta6? Here is some more info: ------------------------------------------------------------- I trying a very basic configuration: ONE domain object. (no Dependencies) Added Oralce JAR NOTE: I upgraded from a previous version of tools (I manually did the upgrade) > 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 |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-25 17:05:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23396 ] Max Rydahl Andersen commented on HBX-694: ----------------------------------------- and what is the path to that oracle jar ? > 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 |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-25 17:07:30
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23397 ] Max Rydahl Andersen commented on HBX-694: ----------------------------------------- ..or rather, what is the *exact* content of the classpath list in the console configuration ? > 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 |
From: Chad P. (JIRA) <no...@at...> - 2006-06-25 17:26:31
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23398 ] Chad Perry commented on HBX-694: -------------------------------- CLASSPATH: /06Release-Hibernate [NOTE: This is an Eclipse PROJECT that contains all the POJOS] /06Release-Common/jars/ojdbc14.jar [The Oralce JAR reference] Please let me know if this is not the right info you are looking for. (e.g., where does the tools console store the classpath?) PS: I would add a screen shot of the configuration form, but I can seem to do that since this case is closed. > 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 |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-25 17:46:34
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23399 ] Max Rydahl Andersen commented on HBX-694: ----------------------------------------- ok so the issue is that there is a problem with handling classpath with a project root as an classpath entry. workaround is to have a seperate src/build directory (which is always recommended anyway) > 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 |
From: Chad P. (JIRA) <no...@at...> - 2006-06-25 17:52:31
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23400 ] Chad Perry commented on HBX-694: -------------------------------- Max, Yes, looks like the Eclipse Project in the console CLASSPATH is causing issues. I'm starting to get good results when I EXPLICTLY specify the POJO classes (instead of pointing to a Eclipse project, which in my case points to other eclipse projects) Well, Thanks for the timely help! I really want to see this tool mature - keep up the good work. > 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 |
From: Max R. A. (JIRA) <no...@at...> - 2006-06-25 21:05:39
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23401 ] Max Rydahl Andersen commented on HBX-694: ----------------------------------------- what does explicit mean ? (p.s. I've just committed code that should resolve the underlying directory of a project directory - the eclipse API is not really obvious in this context ;) > 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 |
From: Chad P. (JIRA) <no...@at...> - 2006-06-25 21:31:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-694?page=comments#action_23402 ] Chad Perry commented on HBX-694: -------------------------------- Explicit means that I needed to point to the CLASSES folder of all domain objects in my configuration file... I was not able to point to ONE Eclipse Project and have all my domain classes mapped. (NOTE: I have Eclipse projects that DEPEND on other eclipse Projects for base classes, etc..) > 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 |
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 |