Skip to Content.
Sympa Menu

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

Subject: Grouper Users - Open Discussion List

List archive

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


Chronological Thread 
  • From: Philip Harle <>
  • To: "" <>
  • Subject: [grouper-users] Grouper 2.3 upgrade - NULL context_id causing PSP issues
  • Date: Fri, 14 Oct 2016 14:21:35 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:qPNvbBKolUYBUl9NTtmcpTZWNBhigK39O0sv0rFitYgUKvXxwZ3uMQTl6Ol3ixeRBMOAtKIC1rGd6v2ocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TXhpQIVT1/wLw1oPunvX5PJgt6s/+G055DJZQhU3nywba44ZEG5twLMrsQMxJZ5J7wq4hrPvnZSfelKnyVlKU/FzDjm4cLlxJ5i9yVI89Io7cpNGfHif6U8TKQeDD08N20d4sD0vhDYUQ+CoHIXFHgVxEkbSzPZ5Q33C8+i+hDxsfBwjXGX
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi,

We're currently upgrading of a clone of our live Grouper 2.2.2 installation
to 2.3.0 using the grouperInstaller upgrade method.
We've managed to upgrade the API, UI and WS, and all is looking well. I'm now
working on upgrading the PSP and have hit an issue.

The background PSP sync (run as part of our grouperloader service) isn't
working and we're seeing the following in grouper_error.log:

2016-10-14 15:10:00,028: [DefaultQuartzScheduler_Worker-7] ERROR
ChangeLogHelper.processRecords(252) - - Error
java.lang.NullPointerException
at
edu.internet2.middleware.psp.grouper.PspChangeLogConsumer.processChangeLogEntries(PspChangeLogConsumer.java:510)
at
edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:242)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:629)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:416)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:318)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
2016-10-14 15:10:00,029: [DefaultQuartzScheduler_Worker-7] ERROR
ChangeLogHelper.processRecords(283) - - Did not get all the way through the
batch! -1 != 3301919

From what I can tell this is because we had a small number of entries in
grouper_change_log_entry with a NULL context_id. I cleared these out of the
table, and the error no longer appeared in the log. However, when making any
change in grouper it is still creating a new entry in the table with a NULL
context_id.
Any ideas why this might be the case?


Our eventual plan is to move away from PSP in favour of PSPNG, but I feel we
need to fix the above issue before proceeding.
Although, as an aside, can PSPNG be installed using the grouperInstaller on
an installation that has been upgraded from 2.2, or do we need to
install/configure it manually?


Thanks,
Phil

---
Phil Harle
IT Service
Newcastle University




Archive powered by MHonArc 2.6.19.

Top of Page