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

provisioner error on counts npe

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.53
    • 2.5.54
    • None
    • None

    Description

      0. Group(name: "cn=test:testGroup,ou=Groups,dc=example,dc=edu", matchingId: "10023", attr[businessCategory]: 10023, attr[cn]: "test:testGroup", attr[description]: "test description", attr[member]: HashSet(1): [0]: cn=admin,dc=example,dc=edu, attr[objectClass]: LinkedHashSet(2): [0]: top, [1]: groupOfNames, insert field name "cn=test:testGroup,ou=Groups,dc=example,dc=edu", insert attribute businessCategory 10023, insert attribute objectClass "top", insert attribute objectClass "groupOfNames", insert attribute member "cn=admin,dc=example,dc=edu", insert attribute description "test description", insert attribute cn "test:testGroup", recalc: true, create: true, incrementalSyncMemberships: true)
      2021-07-16 12:40:55,854: [main] DEBUG GrouperProvisioningObjectLog.debug(69) -  - Provisioner 'ldapProvTest' (u1g06mjb) state 'end' type 'incrementalProvisionChangeLog': {exception=java.lang.NullPointerException
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisionerGrouperSyncDao.processResultsInsertGroups(GrouperProvisionerGrouperSyncDao.java:595)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningLogic.createMissingGroupsFull(GrouperProvisioningLogic.java:985)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningLogic.provisionIncremental(GrouperProvisioningLogic.java:720)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningType$3.provision(GrouperProvisioningType.java:100)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningLogic.provision(GrouperProvisioningLogic.java:50)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioner.provision(GrouperProvisioner.java:587)
      	at edu.internet2.middleware.grouper.app.provisioning.ProvisioningConsumer.dispatchEventList(ProvisioningConsumer.java:91)
      	at edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer.processChangeLogEntries(EsbConsumer.java:503)
      	at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:261)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.runJobs(LdapProvisionerIncrementalTest.java:370)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.testIncremental1(LdapProvisionerIncrementalTest.java:295)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at junit.framework.TestCase.runBare(TestCase.java:141)
      	at junit.framework.TestResult$1.protect(TestResult.java:122)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.framework.TestResult.run(TestResult.java:125)
      	at junit.framework.TestCase.run(TestCase.java:129)
      	at junit.textui.TestRunner.doRun(TestRunner.java:116)
      	at junit.textui.TestRunner.doRun(TestRunner.java:109)
      	at junit.textui.TestRunner.run(TestRunner.java:77)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.main(LdapProvisionerIncrementalTest.java:54)
      , finalLog=true, queryCount=21, tookMillis=181, took=0:00:00.181}
      2021-07-16 12:40:55,854: [main] ERROR EsbConsumer.processChangeLogEntries(548) -  - type: consumer, finalLog: false, state: init, consumerName: ldapProvTestCLC, totalCount: 28, currentSequenceNumber: null, publisherClass: edu.internet2.middleware.grouper.app.provisioning.ProvisioningConsumer, exception: java.lang.RuntimeException: provisionerClass: LdapSync, configId: ldapProvTest, provisioningType: incrementalProvisionChangeLog, state: insertGroups, changeLogItemsApplicableByType: 7, recalcEventsDuringFullSync: 0, checkErrorsBack: 2min, syncGroupsToQuery: 2, syncGroupsFound: 1, retrieveSyncGroupsMillis: 2, syncGroupCount: 1, filterByNotProvisionable: 2, convertToGroupSyncGroups: 1, convertToGroupSyncMemberships: 2, convertToFullSyncScore: 20, recalcEventsDuringGroupSync: 0, syncMembershipsToQueryFromGroup: 2, syncMembershipsFromGroup: 0, retrieveSyncMembershipsMillis: 3, syncMembershipCount: 0, syncMembersToQuery: 0, syncMembersFound: 0, retrieveSyncMembersMillis: 0, syncMemberCount: 0, retrieveDataStartMillisSince1970: 1626464455760, retrieveGrouperMshipsMillis: 5, grouperMshipCount: 2, retrieveGrouperGroupsMillis: 1, grouperGroupCount: 1, retrieveGrouperEntitiesMillis: 1, grouperEntityCount: 2, retrieveGrouperDataMillis: 15, copyIncrementalStateToWrappersMissing: 1, assignDefaultFieldsAndAttributesCount: 2, retrieveIncrementalNonRecalcTargetEntitiesThatNeedLinks: 2, retrieveTargetDataMillis: 23, missingGroupsForCreate: 1, exception: java.lang.NullPointerException
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisionerGrouperSyncDao.processResultsInsertGroups(GrouperProvisionerGrouperSyncDao.java:595)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningLogic.createMissingGroupsFull(GrouperProvisioningLogic.java:985)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningLogic.provisionIncremental(GrouperProvisioningLogic.java:720)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningType$3.provision(GrouperProvisioningType.java:100)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningLogic.provision(GrouperProvisioningLogic.java:50)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioner.provision(GrouperProvisioner.java:587)
      	at edu.internet2.middleware.grouper.app.provisioning.ProvisioningConsumer.dispatchEventList(ProvisioningConsumer.java:91)
      	at edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer.processChangeLogEntries(EsbConsumer.java:503)
      	at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:261)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.runJobs(LdapProvisionerIncrementalTest.java:370)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.testIncremental1(LdapProvisionerIncrementalTest.java:295)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at junit.framework.TestCase.runBare(TestCase.java:141)
      	at junit.framework.TestResult$1.protect(TestResult.java:122)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.framework.TestResult.run(TestResult.java:125)
      	at junit.framework.TestCase.run(TestCase.java:129)
      	at junit.textui.TestRunner.doRun(TestRunner.java:116)
      	at junit.textui.TestRunner.doRun(TestRunner.java:109)
      	at junit.textui.TestRunner.run(TestRunner.java:77)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.main(LdapProvisionerIncrementalTest.java:54)
      , finalLog: true, queryCount: 21, tookMillis: 181, took: 0:00:00.181
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioner.provisionFinallyBlock(GrouperProvisioner.java:660)
      	at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioner.provision(GrouperProvisioner.java:599)
      	at edu.internet2.middleware.grouper.app.provisioning.ProvisioningConsumer.dispatchEventList(ProvisioningConsumer.java:91)
      	at edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer.processChangeLogEntries(EsbConsumer.java:503)
      	at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:261)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.runJobs(LdapProvisionerIncrementalTest.java:370)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.testIncremental1(LdapProvisionerIncrementalTest.java:295)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at junit.framework.TestCase.runBare(TestCase.java:141)
      	at junit.framework.TestResult$1.protect(TestResult.java:122)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.framework.TestResult.run(TestResult.java:125)
      	at junit.framework.TestCase.run(TestCase.java:129)
      	at junit.textui.TestRunner.doRun(TestRunner.java:116)
      	at junit.textui.TestRunner.doRun(TestRunner.java:109)
      	at junit.textui.TestRunner.run(TestRunner.java:77)
      	at edu.internet2.middleware.grouper.app.ldapProvisioning.LdapProvisionerIncrementalTest.main(LdapProvisionerIncrementalTest.java:54)
      , tookMillis: 209 

      Attachments

        Activity

          People

            vivek.sachdeva.2@at.internet2.edu Vivek Sachdeva
            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