talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

java.lang.NullPointException when updating person record v1.12

JM
Jesse Martinez
Wed, Nov 9, 2011 7:32 PM

Hi all,

I'm seeing a problem when I update a person record on version 1.12.
Creation of a person record on the core tenant using the default person
authority is fine, but anytime I update the record I see this error on the
cspace server console:

14:16:53,963 INFO  [STDOUT] ===============================
Unable to addOutputPart: relations-common-list in serviceContextPath:
/persons/ with URI:
personauthorities/urn:cspace:name(person)/items/c82091b9-b837-4b19-b3ea
error: java.lang.NullPointerException

The record saves, but it generally takes a while to get back control of the
page.

To create the default person authority I ran the
/collectionspace/tenant/core/reset script so I know it's a typical person
authority. Any clues to what may be causing this error?

Thanks,

  • Jesse
Hi all, I'm seeing a problem when I update a person record on version 1.12. Creation of a person record on the core tenant using the default person authority is fine, but anytime I update the record I see this error on the cspace server console: 14:16:53,963 INFO [STDOUT] =============================== Unable to addOutputPart: relations-common-list in serviceContextPath: /persons/ with URI: personauthorities/urn:cspace:name(person)/items/c82091b9-b837-4b19-b3ea error: java.lang.NullPointerException The record saves, but it generally takes a while to get back control of the page. To create the default person authority I ran the /collectionspace/tenant/core/reset script so I know it's a typical person authority. Any clues to what may be causing this error? Thanks, - Jesse
PS
Patrick Schmitz
Fri, Nov 11, 2011 1:32 AM

I found and fixed this. It will get checked in when I finish up
http://issues.collectionspace.org/browse/CSPACE-1927


From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Jesse Martinez
Sent: Wednesday, November 09, 2011 11:33 AM
To: CollectionSpace Talk List
Subject: [Talk] java.lang.NullPointException when updating person
recordv1.12

Hi all,

I'm seeing a problem when I update a person record on version 1.12. Creation
of a person record on the core tenant using the default person authority is
fine, but anytime I update the record I see this error on the cspace server
console:

14:16:53,963 INFO  [STDOUT] ===============================
Unable to addOutputPart: relations-common-list in serviceContextPath:
/persons/ with URI:
personauthorities/urn:cspace:name(person)/items/c82091b9-b837-4b19-b3ea
error: java.lang.NullPointerException

The record saves, but it generally takes a while to get back control of the
page.

To create the default person authority I ran the
/collectionspace/tenant/core/reset script so I know it's a typical person
authority. Any clues to what may be causing this error?

Thanks,

  • Jesse
I found and fixed this. It will get checked in when I finish up http://issues.collectionspace.org/browse/CSPACE-1927 _____ From: talk-bounces@lists.collectionspace.org [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Jesse Martinez Sent: Wednesday, November 09, 2011 11:33 AM To: CollectionSpace Talk List Subject: [Talk] java.lang.NullPointException when updating person recordv1.12 Hi all, I'm seeing a problem when I update a person record on version 1.12. Creation of a person record on the core tenant using the default person authority is fine, but anytime I update the record I see this error on the cspace server console: 14:16:53,963 INFO [STDOUT] =============================== Unable to addOutputPart: relations-common-list in serviceContextPath: /persons/ with URI: personauthorities/urn:cspace:name(person)/items/c82091b9-b837-4b19-b3ea error: java.lang.NullPointerException The record saves, but it generally takes a while to get back control of the page. To create the default person authority I ran the /collectionspace/tenant/core/reset script so I know it's a typical person authority. Any clues to what may be causing this error? Thanks, - Jesse