[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-834?page=all ]
Max Rydahl Andersen closed HBX-834:
-----------------------------------
Fix Version: 3.2beta9
Resolution: Fixed
thanks; fixed both the NPE and ensuring that the wizard complains if no classpath nor
project is specified.
NullPointerException in EclipseConsoleConfigurationPreferences
--------------------------------------------------------------
Key: HBX-834
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-834
Project: Hibernate Tools
Type: Bug
Components: eclipse
Versions: 3.2beta9
Reporter: Mike haller
Priority: Minor
Fix For: 3.2beta9
1) Switch to Hibernate Console perspective
2) Right click in Hibernate Configurations view
3) Select Add Configuration
4) Enter name
5) Click Finish
eclipse.buildId=M20060921-0945
java.version=1.4.2_03
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
Error
Tue Dec 05 12:48:23 CET 2006
java.lang.NullPointerException: <no message>
java.lang.NullPointerException
at
org.hibernate.eclipse.console.EclipseConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseConsoleConfigurationPreferences.java:107)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:155)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:110)
at
org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38)
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)
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira