Details
-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
Description
----Original Message----
From: Scott Koranda skoranda@gmail.com
Sent: Monday, March 20, 2017 6:39 PM
To: Hyzer, Chris <mchyzer@isc.upenn.edu>
Cc: grouper-users <grouper-users@internet2.edu>
Subject: Re: [grouper-users] deleteGroupsIfNotUsed throws NPE in loader job
> It looks like the stack mysteriously ends. Does this help?
>
> http://stackoverflow.com/questions/2411487/nullpointerexception-in-java-with-no-stacktrace
>
> Can you add this option to the JVM and capture another stack?
>
> -XX:-OmitStackTraceInFastThrow
>
You do not learn anything new using that option. The stack trace is now:
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