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

pspng not starting due to grouper session and thread

    XMLWordPrintable

Details

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

    Description

      ----Original Message----
      From: grouper-users-request@internet2.edu grouper-users-request@internet2.edu On Behalf Of Paul Engle
      Sent: Tuesday, May 02, 2017 1:56 PM
      To: grouper-users@internet2.edu
      Subject: [grouper-users] PSPNG full sync failures after applying API patch 62

      Getting back to my pspng testing. When I applied all pending patches,
      the grouper-loader started throwing an exception when trying to do a
      full sync. I rolled back the patches and applied them one-by-one until I
      found the culprit. It starts after applying patch 62.

      Stack trace is attached. It looks like somehow a session is not getting
      started properly.

      -paul


      Paul Engle
      Office of Information Technology

      2017-05-02 12:44:44,320: [Thread-25] ERROR ProvisionerFactory.createProvisionerWithName(111) - - Problem constructing provisioner & properties: edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at edu.internet2.middleware.grouper.pspng.ProvisionerFactory.createProvisionerWithName(ProvisionerFactory.java:99)
      at edu.internet2.middleware.grouper.pspng.FullSyncProvisionerFactory.getFullSyncer(FullSyncProvisionerFactory.java:35)
      at edu.internet2.middleware.grouper.pspng.FullSyncStarter.fullSync(FullSyncStarter.java:59)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4143)
      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4094)
      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4278)
      at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$10$1.run(GrouperLoaderType.java:1226)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalStateException: There is no open GrouperSession detected. Make sure to start a grouper session (e.g. GrouperSession.startRootSession() if you want to use a root session ) before calling this method
      at edu.internet2.middleware.grouper.GrouperSession.staticGrouperSession(GrouperSession.java:1150)
      at edu.internet2.middleware.grouper.GrouperSession.staticGrouperSession(GrouperSession.java:1098)
      at edu.internet2.middleware.grouper.pspng.Provisioner.checkAttributeDefinitions(Provisioner.java:218)
      at edu.internet2.middleware.grouper.pspng.Provisioner.<init>(Provisioner.java:178)
      at edu.internet2.middleware.grouper.pspng.LdapProvisioner.<init>(LdapProvisioner.java:78)
      at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner.<init>(LdapGroupProvisioner.java:57)
      ... 16 more
      2017-05-02 12:44:44,322: [Thread-25] ERROR FullSyncStarter.fullSync(62) - - Problem setting up full sync provisioner pspng_groupOfUniqueNames
      edu.internet2.middleware.grouper.pspng.PspException: Problem while constructing provisioner & properties: edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner: There is no open GrouperSession detected. Make sure to start a grouper session (e.g. GrouperSession.startRootSession() if you want to use a root session ) before calling this method
      at edu.internet2.middleware.grouper.pspng.ProvisionerFactory.createProvisionerWithName(ProvisionerFactory.java:112)
      at edu.internet2.middleware.grouper.pspng.FullSyncProvisionerFactory.getFullSyncer(FullSyncProvisionerFactory.java:35)
      at edu.internet2.middleware.grouper.pspng.FullSyncStarter.fullSync(FullSyncStarter.java:59)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4143)
      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4094)
      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4278)
      at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$10$1.run(GrouperLoaderType.java:1226)
      at java.lang.Thread.run(Thread.java:745)

      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