Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-21229

Persistence trace logging in AbstractEntityManager class should check for null entity object

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 39.0.0.Beta1
    • JBoss AS7 7.1.1.Final
    • JPA / Hibernate
    • None

      Enabling TRACE logging for Persistence via "org.jboss.as.jpa" logger category should ensure that NullPointerException is not thrown when certain AbstractEntityManager class methods are called for example:

      EntityManager.lock(null, LockModeType.WRITE); causes a NullPointerException to be thrown when TRACE logging is enabled for "org.jboss.as.jpa".

              smarlow1@redhat.com Scott Marlow
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: