Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11585

JPA: NPE when @TypeDef doesn't have name attribute

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.0.Beta2
    • Fix Version/s: 3.3.0.Beta3
    • Component/s: hibernate
    • Labels:
      None

      Description

      java.lang.NullPointerException
      at org.jboss.tools.hibernate.jpt.core.internal.context.java.JavaTypeDefImpl.validate(JavaTypeDefImpl.java:311)
      at org.jboss.tools.hibernate.jpt.core.internal.context.java.HibernateJavaTypeDefContainerImpl.validate(HibernateJavaTypeDefContainerImpl.java:172)
      at org.jboss.tools.hibernate.jpt.core.internal.context.java.HibernatePackageInfoImpl.validate(HibernatePackageInfoImpl.java:246)
      at org.jboss.tools.hibernate.jpt.core.internal.context.java.HibernatePackageInfoImpl.validate(HibernatePackageInfoImpl.java:235)
      at org.jboss.tools.hibernate.jpt.core.internal.context.persistence.HibernateClassRef.validatePackageInfo(HibernateClassRef.java:205)
      at org.jboss.tools.hibernate.jpt.core.internal.context.persistence.HibernateClassRef.validate(HibernateClassRef.java:199)
      at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validateClassRefs(AbstractPersistenceUnit.java:2285)
      at org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.validate(AbstractPersistenceUnit.java:2229)
      at org.jboss.tools.hibernate.jpt.core.internal.context.HibernatePersistenceUnit.validate(HibernatePersistenceUnit.java:273)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dgeraskov Dmitry Geraskov
                Reporter:
                dgeraskov Dmitry Geraskov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: