[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7263) Console Configuration should provide more informative message in case of undef driver for connection profile

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Tue Oct 5 13:46:40 EDT 2010


Console Configuration should provide more informative message in case of undef driver for connection profile
------------------------------------------------------------------------------------------------------------

                 Key: JBIDE-7263
                 URL: https://jira.jboss.org/browse/JBIDE-7263
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: Hibernate
    Affects Versions: 3.2.0.Beta1
            Reporter: Vitali Yemialyanchyk
            Assignee: Vitali Yemialyanchyk
            Priority: Minor
             Fix For: 3.2.0.Beta2


look at screenshot - as a result exception:

stacktrace:
java.lang.NullPointerException
	at org.hibernate.console.ConfigurationFactory.configureConnectionProfile(ConfigurationFactory.java:387)
	at org.hibernate.console.ConfigurationFactory.buildJPAConfiguration(ConfigurationFactory.java:234)
	at org.hibernate.console.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:172)
	at org.hibernate.console.ConfigurationFactory.createConfiguration(ConfigurationFactory.java:94)
	at org.hibernate.console.ConsoleConfiguration$3.execute(ConsoleConfiguration.java:167)
	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
	at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:71)
	at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:164)
	at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:117)
	at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:40)
	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

should be not NPE should be informative message

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list