Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Typos in the config.xml can lead to meaningless NPE errors.
For example, changing from the following change in OrdersOrderDetailsConfig.xml
<Relationship name="ORDERDETAILS" primaryKeyTable="ANORDER"
foreignKeyTable="ORDERDETAILS" many="true">
<KeyPair primaryKeyColumn="ID" foreignKeyColumn="ORDERID"/>
</Relationship>
to this ...
<Relationship name="ORDERDETAILS" primaryKeyTable="xxxx"
foreignKeyTable="ORDERDETAILS" many="true">
<KeyPair primaryKeyColumn="ID" foreignKeyColumn="ORDERID"/>
</Relationship>
results in a harsh NPE rather than of a cozy message exlaining that we are sorry but we have no table/property named "xxxx"