[jbosstools-issues] [JBoss JIRA] Commented: (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
Wed Dec 1 07:59:04 EST 2010


    [ https://jira.jboss.org/browse/JBIDE-7263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566494#comment-12566494 ] 

Vitali Yemialyanchyk commented on JBIDE-7263:
---------------------------------------------

It is correct. Both screenshots hsqldb.png, mysql.png display Connection profile - this is not a part of Hibernate tools.
The issue about error message in console configuration. I resolve the issue.

> 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
>
>         Attachments: hsqldb.png, mysql.png, screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg, screenshot-4.jpg, screenshot-5.jpg, screenshot-6.jpg, screenshot-7.jpg
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list