Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

...

This document aims to assist users in identifying and resolving common errors that may occur in v11 of OpenSpecimen. These issues often arise due to recent enhancements and updates to the software.

1. "units" is null:

...

Unable to import CP from lower version to v11

Expand
titleClick here to view details...

When you export a CP definition file from a version lower and try to import it on v11, you will get below error

Error message: Error: NullPointerException:Cannot invoke "java.util.List.iterator()" because "units" is null(COMMON_SERVER_ERROR)

Solution:

Add the code "units" : [ ] in Collection Protocol (JSON) file and import CP JSON.

Find the below JSON file for the reference,

View file
nameCpDef_6899.json

...

Blank specimen edit page

Expand
titleClick here to view details...

This error ‘unexpected ‘=' at character 27:

...

Expand

This error occurred when skip specified ’ is displayed when there is a skip logic defined in the form. The equality check has changed from =to '==in the new version (v1111.0).

Solution:

Please refer to the wiki page Skip Logic for fields in Form (v11)for the solution.