Camunda-modeler: Application Crashes on Launch when config.json is not a valid JSON

Created on 1 Sep 2020  路  6Comments  路  Source: camunda/camunda-modeler

__Describe the Bug__


When launching a modeler, a popup window appears with a title: A JavaScript error occurred in the main process.
camunda-modeler-error

Clicking OK closes the popup, then either the main application window opens but none of the ribbon menu items are functional, or application main window does not open at all.

__Steps to Reproduce__

  1. Download Camunda modeler v.4.2.0 (WIN x64) from https://camunda.com/download/modeler/
  2. Unzip Contents
  3. Launch Camunda Modeler.exe

__Expected Behavior__

  1. Application Windows opens and all menu items are functional.

__Environment__

  • OS: Windows 10 x64
  • Camunda Modeler Version: 4.2.0, 4.1.1
bug

Most helpful comment

@barmac Thank you! I have removed the file and now this works as expected.

All 6 comments

Can you please paste here application log? It should be located in C:\Users\<username>\AppData\Roaming\camunda-modeler\logs.

@barmac Sure.
log.log

One strange thing I've noticed is that config.json that is referenced in the error window is empty. Is that normal?

Thank you for the log file and further clarification.

Is that normal?

No, it should be a valid JSON or it should not exist. I was able to reproduce the issue and can confirm that this is a bug in the application. What you can do now is to remove the config.json file. After that, Camunda Modeler should work correctly.

@barmac Thank you! I have removed the file and now this works as expected.

Was this page helpful?
0 / 5 - 0 ratings