Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] RE: Grouper 2.3 upgrade - NULL context_id causing PSP issues

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] RE: Grouper 2.3 upgrade - NULL context_id causing PSP issues


Chronological Thread 
  • From: Mark Cairney <>
  • To:
  • Subject: Re: [grouper-users] RE: Grouper 2.3 upgrade - NULL context_id causing PSP issues
  • Date: Mon, 29 Jan 2018 08:47:38 +0000
  • Ironport-phdr: 9a23:/SkNXBZGeOh8L5ueXIxfwnb/LSx+4OfEezUN459isYplN5qZr8uybnLW6fgltlLVR4KTs6sC17KP9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCagbb9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjAk7m/XhMx+gqFVrh2vqBNwwZLbbo6OOfpifK7QZ88WSXZPU8tTUSFKH4Oyb5EID+oEJetWqJPyp0ENrRCjGwSjHuLvyiVOhnDo3awxzuMsHwbc0ww6HNICqmrZo8/0NKcIV+C60qnJwC7dYPxLwzvy8pTHfgo8ofGPRL99d9fax0coFwPAlFqQqIrlMiua1uQXtGib8vJgWvy1i2I9sQ5xuiCvyt8tionPmoIa1ErE9SNnz4YpO9G0UlB0bsO5EJdItSGaMJB5Qtk/Q2FuoyY6yqMJuZq/fCQQ0pQn2hjfZ+SIc4iJ/hLjVPuRLixiiH15f7K/ghC/+lWjxO3kTsS4zUhGoy5fntXSq3wA1wbf5tWFR/dn4EutxSiD2xjO5u1aJU04j7TXJ4Mhz7IqiJYevkrOEjX0lUnoiqKda18q9fKy6+v9Z7Xrvp+cOJFwigH5KqkugdKwAeU+MgcQRWSb+P+82Kf98kLkWrlFlOE5nrPEsJDZPcgbp6i5DBFJ0os79hqzETOr3M4GkXUaLF9JYg+LgorzN13QPPz0E++zg1G2nzdqw/DGMKfhApLILnXbl7nuZ6x9601GxAct199f5ohUCrcfL/PzQUL+qsHXAgUjPAOo2ernFdZ92psEWW2TGq+ZLL/SsViQ6+IgOemMY5IVuC7jJPg//vLukGQ5lkEHfamyxpYXbHG4Hu96I0WCf3bgmNYBEWEWvgUgVuzqjkONUSJNa3qoQa0z+yw7W8qaCtLMXIewmLGbmTqgE4dNTmFAFl2WF3r0LcOJV+pfRjiVJ5pEmyYHHZOoSpUn2ADm4Crz0bkhBePV4CsVpLru2J587KvOlkdhpnRPE82B3jTVHClPlWQSSmpu0Q==

Hi,

We're still seeing this and it's causing issues with our planned upgrade
from 2.2.2 to 2.3.0.
Does anyone have any ideas?

Also if anyone has any advice on how best to patch the PSP (as the
source doesn't appear to be included in the standard grouper tarball
unlike the other components hence our rather hacky attempts at patching
it thus far) that would be grand.

Kind regards,

Mark


On 26/01/18 12:03, BROWN Hugh wrote:
> We are currently testing Grouper 2.3.0 on our Test environment.
> All seems well except for the psp which on startup returned the "StopWatch
> already running" message referenced in this thread.
>
> As per the related thread at
> https://lists.internet2.edu/sympa/arc/grouper-users/2016-05/msg00090.html
> we ran a bulk sync and increased the psp GROUPER_CHANGE_LOG_CONSUMER
> LAST_SEQUENCE_PROCESSED value to the most recent GROUPER_CHANGE_LOG_ENTRY
> value.
>
> This cleared the StopWatch issue, but under ongoing running we encountered
> further psp failures. These again related to NULL CONTEXT_ID value, but
> now do not include the StopWatch reference and simply report a
> NullPointerException as below:
>
> **********************************************************************************************
> 2018-01-22 15:10:00,031: [DefaultQuartzScheduler_Worker-4] ERROR
> GrouperLoaderJob.execute(348) - - Error running up job
> java.lang.RuntimeException: Error in loader job: null, check logs: Error:
> java.lang.NullPointerException
> at
> edu.internet2.middleware.psp.grouper.PspChangeLogConsumer.processChangeLogEntr
> ies(PspChangeLogConsumer.java:510)
> at
> edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(Chan
> geLogHelper.java:245)
> at
> edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$5.runJob(Grouper
> LoaderType.java:732)
> at
> edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoa
> derJob.java:465)
> at
> edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLo
> aderJob.java:345)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
> Did not get all the way through the batch! -1 != 6489359
> at
> edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoa
> derJob.java:474)
> at
> edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLo
> aderJob.java:345)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
>
> **********************************************************************************************
>
> As detailed in the Grouper 2.3.0 release notes at
> https://spaces.internet2.edu/display/Grouper/v2.3+Release+Notes we have
> applied patches grouper_v2_3_0_psp_patch_0 and grouper_v2_3_0_psp_patch_1.
> (As these are binaries, had to merge into the existing jar, so we assume
> this is correct?)
>
> On running the psp we obtained the same NullPointerException. On checking
> the GitHub entry at
> https://github.com/Internet2/grouper-psp/commit/b83876f0bca4e25b8a2e256dc7668963f697efa4
> line 510 shows the modification does indeed check for nulls.
> Furthermore, while the patch seems to be intended to catch GROUPER
> _CHANGE_LOG_ENTRY entries with null CONTEXT_ID values, it is not clear why
> they are now being created by version 2.3.0 when they did not occur under
> version 2.2.2.
>
> Can anyone please assist?
>
> Thank you,
>
> Hugh Brown
> University of Edinburgh
> IS Applications
> Production Management
>
>
>
>
>
>
>
>
>
>

--
/****************************

Mark Cairney
ITI Enterprise Services
Information Services
University of Edinburgh

Tel: 0131 650 6565
Email:

PGP: 0x435A9621

*******************************/

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



Archive powered by MHonArc 2.6.19.

Top of Page