[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7335) NPE when invoking Properties on Hibernate Configuration

Max Andersen (JIRA) jira-events at lists.jboss.org
Thu Oct 21 09:35:55 EDT 2010


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

Max Andersen commented on JBIDE-7335:
-------------------------------------

I've seen similar problems when Teiid is installed - there seem to be some assumptions in the preference/propertypages are called (i.e. that teiid is already installed/configured)

> NPE when invoking Properties on Hibernate Configuration
> -------------------------------------------------------
>
>                 Key: JBIDE-7335
>                 URL: https://jira.jboss.org/browse/JBIDE-7335
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate, teiid
>    Affects Versions: 3.2.0.Beta2
>         Environment: JBDS 4.0.0.beta1 #47, Linux 64
>            Reporter: Jiri Peterka
>            Assignee: John Doyle
>             Fix For: 3.2.0.Beta2
>
>
> Steps:
> 1. Create JPA project with Hibernate Platform (EAP 5) 
> 2. Switch to Hibernate Configurations
> 3. On Hibernate configuration, press ALT+ENTER
>  
> java.lang.NullPointerException
> at org.teiid.designer.datatools.profiles.ldap.PropertyPage.initControls(PropertyPage.java:215)
> at org.teiid.designer.datatools.profiles.ldap.PropertyPage.createCustomContents(PropertyPage.java:145)
> at org.eclipse.datatools.connectivity.ui.wizards.ProfileDetailsPropertyPage.createContents(ProfileDetailsPropertyPage.java:74)
> at org.teiid.designer.datatools.profiles.ldap.PropertyPage.createContents(PropertyPage.java:60)
> at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
> at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501)
> at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1252

-- 
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