Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1507

null pointer on startup with wheel group

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.1, 2.4.0, 2.3.0.patch
    • API
    • None

    Description

      From: grouper-users-request
      On Behalf Of Liam Hoekenga
      Sent: Wednesday, March 29, 2017 11:34 AM
      To: grouper-users
      Subject: [grouper-users] fresh install generating hibernate errors?

      Our grouper installation is still pretty much a sandbox.
      I decided to wipe the database so I could try a new installation based on the TIER deployment guide (https://spaces.internet2.edu/display/TI/Consultation+for+TIER+Grouper+Deployment+Guide)

      I'm using MySQL 5.1. It's running in a multi-master replication configuration
      Java 1.8.0_111, RHEL 7. Grouper API 2.3.0 patch 59

      I'm generating the new SQL file using...
      ./gsh.sh -registry -check

      I'm initializing the tablespace using something like...

      ./gsh.sh -registry -runsqlfile /usr/local/grouper/grouper.apiBinary-2.3.0/ddlScripts/grouperDdl_20170329_11_19_56_831.sql

      I'm getting Hibernate errors when it tries to create the standard groups:

      Grouper warning: cannot find group from config: wheel group from grouper.properties key: groups.wheel.group: etc:sysadmingroup
      Grouper error: etc:sysadmingroup, java.lang.NullPointerException: Problem in HibernateSession: HibernateSession (6dd79214): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (34009349),
      Problem in HibernateSession: HibernateSession (570a62a5): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (34009349),
      Problem saving group: etc:sysadmingroup, thread: 2d209079

      There were some earlier threads from the archives that suggested that the groups would get created when I started interacting with the API, but I get a similar error that prevents GSH from starting at all:

      Couldnt startup grouper: Problem in HibernateSession: HibernateSession (136ccbfe): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (8bd076a),
      Problem in HibernateSession: HibernateSession (2c7db926): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (8bd076a)
      java.lang.NullPointerException: Problem in HibernateSession: HibernateSession (136ccbfe): notNew, notReadonly, READ_WRITE_NEW, activeTransaction, session (8bd076a),
      Problem in HibernateSession: HibernateSession (2c7db926): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (8bd076a)

      What's happening here?

      thanks!
      Liam

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist