Page 1 of 1

PropertyGroup OKM-009006(getMetaData): Application internal

PostPosted:Wed Jun 20, 2012 3:48 pm
by chris-compton
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.

OKM-009006(getMetaData): Application internal error
null

Here is the stack...to the thrower

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

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

PostPosted:Wed Jun 20, 2012 6:48 pm
by chris-compton
This looks like a date format issue on my part...

dd-mm-yyyy instead of mm/dd/yyyy

Ahhhh!

Thanks for a great product.