PropertyGroup OKM-009006(getMetaData): Application internal

Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
owenclements
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Mon Aug 05, 2019 7:33 am

PropertyGroup OKM-009006(getMetaData): Application internal

Post by owenclements » Mon Aug 05, 2019 7:35 am

5.1.7 (build: 7085) with Community Extensions 5.1

After creating Document, adding property group, setting property group values, and saving successfully through Web Services.
In the OpenKM UI,
when selecting the document, I get the following error.

Code: Select all

OKM-009006(getMetaData): Application internal error
null
Here is the stack...to the thrower

Code: Select all

2012-06-20 09:15:52,982 DEBUG [com.openkm.api.OKMPropertyGroup] getProperties: [{label=Grant #:, name=okp:grantsandcompliance.grantnumber, value=1234567, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Accounting Unit:, name=okp:grantsandcompliance.acctunit, value=010020030, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}, {label=Document Type:, name=okp:grantsandcompliance.documenttype, width=150px, height=25px, readonly=false, type=simple, data=, options=[{label=Application, value=application, selected=true}, {label=Award, value=award, selected=false}, {label=Letter, value=letter, selected=false}, {label=Report(Programmatic), value=reportp, selected=false}, {label=Report(Financial), value=reportf, selected=false}, {label=Other, value=other, selected=false}], validators=[]}, {label=Start Date:, name=okp:grantsandcompliance.startdate, value=1/1/2012, data=, width=100px, height=25px, readonly=false, type=date, validators=[]}, {label=End Date:, name=okp:grantsandcompliance.enddate, value=10/1/2012, data=, width=100px, height=25px, readonly=false, type=date, validators=[]}, {label=Received Date:, name=okp:grantsandcompliance.receivedate, value=6/12/2012, data=, width=100px, height=25px, readonly=false, type=date, validators=[]}, {label=Active:, name=okp:grantsandcompliance.active, width=150px, height=25px, readonly=false, type=simple, data=, options=[{label=Yes, value=yes, selected=true}, {label=No, value=no, selected=false}], validators=[]}, {label=Notes:, name=okp:grantsandcompliance.notes, value=note, data=, width=100px, height=25px, readonly=false, type=text, validators=[]}]
2012-06-20 09:15:52,982 ERROR [com.openkm.servlet.frontend.PropertyGroupServlet] 
java.lang.NullPointerException
at com.openkm.util.GWTUtil.copy(GWTUtil.java:872)
at com.openkm.servlet.frontend.PropertyGroupServlet.getProperties(PropertyGroupServlet.java:216)
The metadata property values are saved correctly in the repository, they can be queried successfully through Web Services and the UI.

Any idea why UI doesn't show them? Is this by design, or fixed in a later build?

If I create it all through the UI it works fine.

Any idea where to look for the difference?

Thanks

jllort
Moderator
Moderator
Posts: 10868
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: PropertyGroup OKM-009006(getMetaData): Application internal

Post by jllort » Wed Aug 07, 2019 8:14 pm

You are using a very old version of OpenKM. The version 5.1.7 was released at 2011-07-14, consider this application totally deprecated. I suggest thinking on migration.

Seems it is caused by wrong date value. Looking in the old code https://sourceforge.net/p/openkm/code/H ... TUtil.java ( line 872 ) -> it is trying to convert value to date using ISO8601. I suspect might be something wrong in the field value.

Post Reply