Edit online

Application Reports Errors During Startup After Installing a New Version

Problem

Sometimes, after installing a new version of Oxygen JSON Editor, various errors are reported when the application starts.

Cause

This problem may occur if you install the application in a folder where an older version of the application was previously installed. Especially on macOS, there is a possibility for older resources and libraries from the previous application to remain in the installation folder and break the functionality of the newer version of the application.

Solution

Close the application and completely uninstall it, then install it again. The user-specific settings are saved in a separate folder in the user home directory so they will not be lost.
If you intentionally want to load extra Java libraries with Oxygen JSON Editor, you have the following choices:
  • If the libraries are necessary for XSLT transformations, each XSLT transformation scenario has an Extensions button that allows you to reference the libraries directly from the transformation scenario.
  • If the libraries are necessary for database connections, you can configure them when you define the data sources.
  • You can add a plugin in Oxygen JSON Editor that contributes libraries to the global libraries list. The plugin can be distributed as an add-on. An example of such a plugin can be found here: https://github.com/oxygenxml/oxygenxml.xlsx.import.
  • In the Oxygen JSON Editor lib folder, there is a file called libraries.list. You can edit that file and add the names of the extra libraries present in the folder. You can also choose to delete that libraries.list completely if you want to inhibit the libraries checking completely.