• PropertyGroup OKM-009006(getMetaData): Application internal

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
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.
 #16942  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.