Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3337

Operation "read-attribute" failed - Hibernate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.1, 11.2
    • None
    • javaee - Hibernate
    • Ubuntu: 18.04
      Java: 8 and 13
      WildFly: 15, 17 and 18
      Hibernate: 5.2.16

    Description

      When deploying project to WildFly server it throws error:

      Operation ("read-attribute") failed - address: ([
      ("deployment" => "SPERP40.war"),
      ("subsystem" => "jpa"),
      ("hibernate-persistence-unit" => "SPERP40.war#SPERP4DS"),
      ("entity-cache" => "DatabaseEntieties.Axdzpdinp")
      ]): java.lang.NullPointerException ...

       

      Full log in attachment (from the error onward)

      The class Axdzpdinp is written correctly and there has been no changes since

      Also from observations I noticed that deployment works in 11.0 and in some earlier versions of 11.1 (current 11.1 and 11.2 have this problem)

      I assume the error comes from NetBeans because changing WildFly version does not affect this error, while changing NetBeans version (downgrade) makes the error go away

      Attachments

        1. server log hibernate error.txt
          6 kB
          Michał Kudela

        Activity

          People

            ehsavoie Emmanuel Hugonnet
            MichDem Michał Kudela
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: