What steps will reproduce the problem?
1. Edit a resource type
2. Clear the info in the field: "Displayed name format"
3. Save the resource type
4. restart Rapla
After succesfully login, the Rapla client now shows:
java.lang.NullPointerException
There is no way to enter the Rapla system anymore.
What is the expected output? What do you see instead?
Test "Displayed name format" field for NULL value on save.
Check if the NULL pointer exeption can be catched in the software so Rapla can
be used if someone makes that mistake.
What version of the product are you using? On what operating system?
1.8.1 on Suse Linux
Please provide any additional information below.
We were able to fix this issue by manually editing the database:
Table: DYNAMIC_TYPE
Edit XML data from:
<rapla:annotation key="nameformat"></rapla:annotation> (empty nameformat)
to
<rapla:annotation key="nameformat">some text or element name between
brackets</rapla:annotation>
The export and import of data.xml was not a proper workaround. So perhaps the
import should also check for empty values of the display format.
Original issue reported on code.google.com by gac...@gmail.com on 19 Mar 2015 at 10:48
Original issue reported on code.google.com by
gac...@gmail.com
on 19 Mar 2015 at 10:48