Hi,
I have created a simple AWM application (App1) in XWiki. and I like to acess the object properties of the corresponding documents via REST API.
Using a URL like
https://<hostname>/rest/wikis/xwiki/spaces/App1/spaces/Doc1/pages/WebHome/objects/App1.Code.App1Class/0/properties
everything works fine and the properties are returned as XML.
As soon as the AWM app is updated and contains a field of the Group ‘Page’ (referencencing document content or title) an internal server error (code 500) is returned for the same URL as above. The following exception is thrown:
java.lang.NullPointerException: Cannot invoke "com.xpn.xwiki.objects.PropertyInterface.getObject()" because "property" is null
Has anyone experienced a similar behavour? IIs it a bug or am I missing something? I’d be happy for any suggestions.
3 posts - 2 participants