Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

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:

Expand

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

Solution:

  1. 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

2. unexpected '=' at character 27:

Expand

This error occurred when skip specified in the form. The equality check has changed from “=” to “==“ in the new version (v11.0).

Solution:

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