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: Scott Koranda <>
  • To: "Hyzer, Chris" <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] deleteGroupsIfNotUsed throws NPE in loader job
  • Date: Mon, 20 Mar 2017 17:38:51 -0500
  • Ironport-phdr: 9a23:YyfohRCXV6NX+MJAYH7ZUyQJP3N1i/DPJgcQr6AfoPdwSPX5pcbcNUDSrc9gkEXOFd2CrakV1qyI4+u5ACQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yb5+NhS7oAbeusULnIdpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9R+gqxbvhyvuh9xw4Dbb46JKfVxfK3ScMgGRWZdRMtdSzBND5miY4YJEuEPPfxYr474p1YWsBWxGQ6sBP/zyjRVg3H22rc63P4nEQ7bxgMrAtUDsG/XrNXyLqcdS+a1w7TSwjjYYPNW3C3y6InMchw7vf6MWrdwfNPXxEIyGQ3FiVCQppbkPzOTzukNvHKb7+19VeK3lWEnsRt9rSK3xsc0koXJhIUVxUve9SVkxoY1Pt24R1B/Yd6gCpdQrTyaN41uTsM5X2Fnojo1yr4BuZ6lYicK0ponxxrYa/2JaYSH/hXjVOOXLDxlh3xlYKqyiwiz/ES8yODxU8e03VVRoSZZl9TBuWwB2wDO5cWCVvRx4kOs1DOK2gzN5OxIP1g4mbfVJpMg2LI8i5sevEbZEiL4mUj6lrGaelsm9+Wu9u/peK/ppoWGOI9xkgz+Mrohmsi4AekgNwgBRWmb+eCl2L36/k31XKxGj/IonqTXrpzWP8sbpqm+Aw9a1oYs9QyzACuh0NQdhXUHLVRFdwybj4XxJV3DIez0APW6jlSikzpk3OzKM7juD5nRMnTMjbLscqph50NYzQc+yM5T6pxKBr0ZJfL8QE7xtNjWDh8jNAy0xv7qCM5+1oMZQ2KAGKmZP77IvlKT6eIvJvODZI4RuDrnN/cl4PvugWcjmVABZampwYcXaHegE/RpOUWZZmfsgs8fHmcQpwY+Uffqh0OYUT5IfHuyW6M85ionCIK9E4vPXIGtgLqd3CilBJ1WYH5JCkySHXvyaYqLRuoMO2quJZorsi0WWKLlA6QhzxC1/keuzrFnP/jZ4AUZrpmlycB44euVmB0vo29aFcOYhlqGSH1o1kAPXTYw0Kk39Vd+zU2K16Rxq/NdHN1XofhOV1FpZtbn0+VmBoWqCUr6ddCTRQP+Tw==

> 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



Archive powered by MHonArc 2.6.19.

Top of Page