talk@lists.collectionspace.org

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

View all threads

"Problem retrieving property for xpath ... with CSID = null"

PM
Peter Murray
Fri, Nov 6, 2015 9:08 PM

Has anyone seen this error before?  I'm getting it when accessing the ConditionCheck service (e.g. https://cspace.vagrant/cspace-services/conditionchecks)

List request failed: org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: Problem retrieving property for xpath { conditionchecks_common:conditionCheckInformationList/[0]/conditionCheckReason } with CSID = null.

I have overridden the ConditionCheck Reason vocabulary terms:

https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/base-instance-vocabularies.xml#L121-L137

...and restarted the server and reinitialized the vocabularies.

I think the definition for the field is right:

https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/sdmom-procedure-conditioncheck.xml#L48-L51

So I can't see what I'm missing.  Thoughts?

Peter

Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company

Has anyone seen this error before? I'm getting it when accessing the ConditionCheck service (e.g. https://cspace.vagrant/cspace-services/conditionchecks) List request failed: org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: Problem retrieving property for xpath { conditionchecks_common:conditionCheckInformationList/[0]/conditionCheckReason } with CSID = null. I have overridden the ConditionCheck Reason vocabulary terms: https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/base-instance-vocabularies.xml#L121-L137 ...and restarted the server and reinitialized the vocabularies. I think the definition for the field is right: https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/sdmom-procedure-conditioncheck.xml#L48-L51 So I can't see what I'm missing. Thoughts? Peter -- Peter Murray Dev/Ops Lead and Project Manager Cherry Hill Company
RM
Richard Millet
Sat, Nov 7, 2015 5:45 PM

Peter,

I'm not exactly sure what could be causing that error, but it's possible you've got an "empty" duplicate vocabulary.  Could you use the RESTFul API to verify there are no duplicate "ConditionCheck Reason" vocabularies and that you can get a listing of all the terms you expect?

Also, if you could include related information of the services log file (cspace-services.log) that might help me figure this out.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of Peter Murray pmurray@chillco.com
Sent: Friday, November 06, 2015 3:08 PM
To: CollectionSpace Talk List
Subject: [Talk] "Problem retrieving property for xpath ... with CSID = null"

Has anyone seen this error before?  I'm getting it when accessing the ConditionCheck service (e.g. https://cspace.vagrant/cspace-services/conditionchecks)

List request failed: org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: Problem retrieving property for xpath { conditionchecks_common:conditionCheckInformationList/[0]/conditionCheckReason } with CSID = null.

I have overridden the ConditionCheck Reason vocabulary terms:

https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/base-instance-vocabularies.xml#L121-L137

...and restarted the server and reinitialized the vocabularies.

I think the definition for the field is right:

https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/sdmom-procedure-conditioncheck.xml#L48-L51

So I can't see what I'm missing.  Thoughts?

Peter

Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Peter, I'm not exactly sure what could be causing that error, but it's possible you've got an "empty" duplicate vocabulary. Could you use the RESTFul API to verify there are no duplicate "ConditionCheck Reason" vocabularies and that you can get a listing of all the terms you expect? Also, if you could include related information of the services log file (cspace-services.log) that might help me figure this out. -Richard ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Peter Murray <pmurray@chillco.com> Sent: Friday, November 06, 2015 3:08 PM To: CollectionSpace Talk List Subject: [Talk] "Problem retrieving property for xpath ... with CSID = null" Has anyone seen this error before? I'm getting it when accessing the ConditionCheck service (e.g. https://cspace.vagrant/cspace-services/conditionchecks) List request failed: org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: Problem retrieving property for xpath { conditionchecks_common:conditionCheckInformationList/[0]/conditionCheckReason } with CSID = null. I have overridden the ConditionCheck Reason vocabulary terms: https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/base-instance-vocabularies.xml#L121-L137 ...and restarted the server and reinitialized the vocabularies. I think the definition for the field is right: https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/sdmom-procedure-conditioncheck.xml#L48-L51 So I can't see what I'm missing. Thoughts? Peter -- Peter Murray Dev/Ops Lead and Project Manager Cherry Hill Company _______________________________________________ Talk mailing list Talk@lists.collectionspace.org http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
RL
Ray Lee
Sun, Nov 8, 2015 9:13 AM

Hi Peter,
It looks like you're also trying to make the entire condition check group
repeating? There's that repeat tag that's not in the base file. If so, all
of the fields inside the repeat also need to have section="sdmom", and you
actually need to rename all the fields, so they don't clash with the field
names from the common schema.

Ray

On Sat, Nov 7, 2015 at 9:45 AM, Richard Millet richard.millet@lyrasis.org
wrote:

Peter,

I'm not exactly sure what could be causing that error, but it's possible
you've got an "empty" duplicate vocabulary.  Could you use the RESTFul API
to verify there are no duplicate "ConditionCheck Reason" vocabularies and
that you can get a listing of all the terms you expect?

Also, if you could include related information of the services log file
(cspace-services.log) that might help me figure this out.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of Peter
Murray pmurray@chillco.com
Sent: Friday, November 06, 2015 3:08 PM
To: CollectionSpace Talk List
Subject: [Talk] "Problem retrieving property for xpath ... with CSID =
null"

Has anyone seen this error before?  I'm getting it when accessing the
ConditionCheck service (e.g.
https://cspace.vagrant/cspace-services/conditionchecks)

List request failed:
org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException:
Problem retrieving property for xpath {
conditionchecks_common:conditionCheckInformationList/[0]/conditionCheckReason
} with CSID = null.

I have overridden the ConditionCheck Reason vocabulary terms:

https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/base-instance-vocabularies.xml#L121-L137

...and restarted the server and reinitialized the vocabularies.

I think the definition for the field is right:

https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/sdmom-procedure-conditioncheck.xml#L48-L51

So I can't see what I'm missing.  Thoughts?

Peter

Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Peter, It looks like you're also trying to make the entire condition check group repeating? There's that repeat tag that's not in the base file. If so, all of the fields inside the repeat also need to have section="sdmom", and you actually need to rename all the fields, so they don't clash with the field names from the common schema. Ray On Sat, Nov 7, 2015 at 9:45 AM, Richard Millet <richard.millet@lyrasis.org> wrote: > Peter, > > I'm not exactly sure what could be causing that error, but it's possible > you've got an "empty" duplicate vocabulary. Could you use the RESTFul API > to verify there are no duplicate "ConditionCheck Reason" vocabularies and > that you can get a listing of all the terms you expect? > > Also, if you could include related information of the services log file > (cspace-services.log) that might help me figure this out. > > -Richard > > ________________________________________ > From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Peter > Murray <pmurray@chillco.com> > Sent: Friday, November 06, 2015 3:08 PM > To: CollectionSpace Talk List > Subject: [Talk] "Problem retrieving property for xpath ... with CSID = > null" > > Has anyone seen this error before? I'm getting it when accessing the > ConditionCheck service (e.g. > https://cspace.vagrant/cspace-services/conditionchecks) > > List request failed: > org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: > Problem retrieving property for xpath { > conditionchecks_common:conditionCheckInformationList/[0]/conditionCheckReason > } with CSID = null. > > I have overridden the ConditionCheck Reason vocabulary terms: > > > https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/base-instance-vocabularies.xml#L121-L137 > > ...and restarted the server and reinitialized the vocabularies. > > I think the definition for the field is right: > > > https://github.com/cherryhill/sdmom-tenant-config/blob/1a1bb7cbceb2ce7b415d5c3154ce241c87d686b4/application/sdmom-procedure-conditioncheck.xml#L48-L51 > > So I can't see what I'm missing. Thoughts? > > > Peter > -- > Peter Murray > Dev/Ops Lead and Project Manager > Cherry Hill Company > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >
PM
Peter Murray
Wed, Nov 11, 2015 7:18 PM

On Nov 7, 2015, at 12:45 PM, Richard Millet richard.millet@lyrasis.org wrote:

I'm not exactly sure what could be causing that error, but it's possible you've got an "empty" duplicate vocabulary.  Could you use the RESTFul API to verify there are no duplicate "ConditionCheck Reason" vocabularies and that you can get a listing of all the terms you expect?

Also, if you could include related information of the services log file (cspace-services.log) that might help me figure this out.

Thanks for the advice, Richard.  I ended up having to reset the entire database, so whatever the underlying cause was has gone away.

On Nov 8, 2015, at 4:13 AM, Ray Lee rhlee@berkeley.edu wrote:

It looks like you're also trying to make the entire condition check group repeating? There's that repeat tag that's not in the base file. If so, all of the fields inside the repeat also need to have section="sdmom", and you actually need to rename all the fields, so they don't clash with the field names from the common schema.

Yes -- I did add that repeat tag, and I am tripping up against the need to rename the fields to be different from the common schema.  Thanks for pointing that out, Ray!

Peter

Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company

> On Nov 7, 2015, at 12:45 PM, Richard Millet <richard.millet@lyrasis.org> wrote: > > I'm not exactly sure what could be causing that error, but it's possible you've got an "empty" duplicate vocabulary. Could you use the RESTFul API to verify there are no duplicate "ConditionCheck Reason" vocabularies and that you can get a listing of all the terms you expect? > > Also, if you could include related information of the services log file (cspace-services.log) that might help me figure this out. Thanks for the advice, Richard. I ended up having to reset the entire database, so whatever the underlying cause was has gone away. > On Nov 8, 2015, at 4:13 AM, Ray Lee <rhlee@berkeley.edu> wrote: > > It looks like you're also trying to make the entire condition check group repeating? There's that repeat tag that's not in the base file. If so, all of the fields inside the repeat also need to have section="sdmom", and you actually need to rename all the fields, so they don't clash with the field names from the common schema. Yes -- I did add that repeat tag, and I am tripping up against the need to rename the fields to be different from the common schema. Thanks for pointing that out, Ray! Peter -- Peter Murray Dev/Ops Lead and Project Manager Cherry Hill Company