Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] deleteGroupsIfNotUsed throws NPE in loader job

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] deleteGroupsIfNotUsed throws NPE in loader job


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Scott Koranda <>
  • Cc: grouper-users <>
  • Subject: RE: [grouper-users] deleteGroupsIfNotUsed throws NPE in loader job
  • Date: Tue, 21 Mar 2017 02:21:56 +0000
  • Accept-language: en-US
  • Authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=isc.upenn.edu;
  • Ironport-phdr: 9a23:UuBoWheLRgMiCeWDQqaw8UsflGMj4u6mDksu8pMizoh2WeGdxcWyZx7h7PlgxGXEQZ/co6odzbGH7ua+CSddu96oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52LBi6twTcu8oZjYZiNKo61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzocOjUn7G/YlNB/jKNDoBKguRN/xZLUYJqIP/Z6Z6/RYM8WSXZEUstXSidPAJ6zb5EXAuQBI+hWspX9qVUNoxuwBwasBf/gxTBTi3DswaE2z/4sHR3a0AA+Gd8FrXTarM/yNKcXSe25wqvGzDXCbvxIwzfx8JXDfw4hofGWXLJwasTdwlQoGgPAklqQqYzkPjKL2eQXqGWb7vFgWv61h246swF+vD6vxsE2hobXm40V10nJ+CNky4g7It24TVR0Yd+iEJZIuCGaLYx2Qt46Q252oiY20KcJuYajfCQSypQnwAXQa+aac4iO+RLjVPieITN8hH5/YrK/mhCy/E69weP/Tsm5yEhGoTBZntXRs30BygHf5tWCR/tz8UqtxSqD2gXR5+5aLk05lq/WJps/zrIsipYfqVnPEyHqlEnsiKKaa18o9va15+njeLnqu52ROo5yhwrjKKohgNa/Dv49MgUWX2iU5+C81Lr78EPhXLhEieE6n6fAvJ3EPMoXu7e1AwhO3Yk98Rq/CCqm0MgDknkAMVJFfg+Ig5LxO1HUJ/D4EemwjEiwkDdqwPDGOKftApLQLnjflLfherF9601GxAUvytBf4opYCrAHIP3tRk/8rMLUAQUlPwCpxuvrFchx2p4bVGKBDaKVLL/evFqK6+0xLOSBZ4oYtTPjJ/Q5+/LilXo5lkUcfamt05sXcne4HvF+LkWcfXXsgtcAEGYUsQokV+HqiUaCXiJJa3avR6Iz+Dc7CIS8AYjdW4+tnaSN3D2nEZ1OemBGFleMHG/nd4WeXPcMdTqSLdF7kjAdSLihUJEu1Qu1tALhz7pnL/HU+jEDtZ79ztR15uvTlQ0s+jxuCcSSzX2NQ39ukmwWWjA2wfM3nUso8VyEzbQwoPtCHNpf7rsdSQQ9L5faw+VSBNX7WwaHddCMHgWIWNKjVHsRX8A82ZtGSEZnGs7oxkTG1Cq7EbIPv72QD9op6q/a2T78K9srmCWO77Uok1RzGpgHDmahnKMqslGLX4M=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

 

> You do not learn anything new using that option. The stack trace is now:

 

No, the new information is there!  :)

 

Fixed in:

 

grouper_v2_3_0_api_patch_58

 

Thanks

Chris

 

 

2017-03-20 18:10:27,198: [DefaultQuartzScheduler_Worker-10] ERROR GrouperLoaderType.syncGroupList(1422) -  - Error on group: mystem:mycourse:instructors_systemOfRecord java.lang.RuntimeException: Problem deleting groups for name: mystem:mycourse:instructors_systemOfRecord, though did delete 0 groups

        at edu.internet2.middleware.grouper.hooks.examples.GroupTypeTupleIncludeExcludeHook.deleteGroupsIfNotUsed(GroupTypeTupleIncludeExcludeHook.java:1084)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType.syncGroupList(GrouperLoaderType.java:1410)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$3.runJob(GrouperLoaderType.java:554)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:423)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:323)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

Caused by: java.lang.NullPointerException

        at edu.internet2.middleware.grouper.hooks.examples.GroupTypeTupleIncludeExcludeHook.deleteGroupsIfNotUsed(GroupTypeTupleIncludeExcludeHook.java:976)

        ... 6 more

 

The error is thrown every hour when the loader job runs (many other sub jobs

for that loader job run successfully, but this subjob is throwing the NPE

consistently).

 

Thanks,

 

Scott K




Archive powered by MHonArc 2.6.19.

Top of Page