Question & Answer
Question
How to resolve the nullpointer error when trying to create a property using manageProperty API?
Cause
Category value in the manageProperty is not passed
Answer
Passing the category Category="yfs" in the mangeProperty API will resolve the issue.
Sample Input XML below:
<Property Action="Manage" BasePropertyName="schedule.order.X" PropertyOverride="BASE" Category="yfs" PropertyValue="test" UserComment="Schedule Order Queue1">
<PropertyMetadata DataType="String" Modifiable="Y" ModifiableAtRuntime="Y" PermissibleValues="" PropertyType="CUSTOM" Scope="GLOBAL" ServerOverride="Y" UserOverride="Y" Category="yfs" JvmType="AGENTSERVER" />
</Property>
Was this topic helpful?
Document Information
Modified date:
31 December 2018
UID
ibm10791961