Closed Kathrin-Huber closed 4 years ago
The problem seems to be an empty granularity default selection. When navigating to the second tab the first time, there is no granularity selected. In further steps this leads to a NPE.
I can't reproduce the error. When navigating to the granularity tab for the first time, the "Issues" granularity is correctly preselected, which corresponds to https://github.com/kitodo/kitodo-production/blob/21515d33a81ba59aa418713f42862b714189f8d4/Kitodo/src/main/java/org/kitodo/production/forms/CalendarForm.java#L91
I could also not reproduce it
Sometimes (not yet determined when exactly) a NPE occurs, when creating an Issue
It also occurs when clicking the granularity buttons on the second tab. (Same Stack Trace)