Closed alisevych closed 1 year ago
on fresh version of unit-test-bot/rc3102023 branch. IU-plugin from this run: https://github.com/UnitTestBot/UTBotJava/actions/runs/4434721564 The last commit for this run was dccfdade.
A pull request will be made today.
Description
Plugin was reinstalled with IDEA restart. After that Experimental languages support was enabled. Action called on a JS-file - NPE is thrown in IDE from
To Reproduce
utbot-js
modulesamples/arrays.js
, place cursor inObjectParameter
, call Alt+Shift+UExpected behavior
UnitTestBot dialog is supposed to be opened.
Actual behavior
java.lang.NullPointerException
is thrown down to IDE fromorg.utbot.intellij.plugin.language.js.JsDialogProcessor
Visual proofs (screenshots, logs, images)
Environment
2023-03-14 12:19:38,952 [1583492] SEVERE - #c.i.o.a.i.FlushQueue - IntelliJ IDEA 2022.2.4 Build #IU-222.4459.24 2023-03-14 12:19:38,953 [1583493] SEVERE - #c.i.o.a.i.FlushQueue - JDK: 17.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 2023-03-14 12:19:38,953 [1583493] SEVERE - #c.i.o.a.i.FlushQueue - OS: Windows 10 2023-03-14 12:19:38,953 [1583493] SEVERE - #c.i.o.a.i.FlushQueue - Plugin to blame: UnitTestBot version: 2023.3.3871.
Additional context
Reproducing only when project is "cleaned" - utbot_settings.xml is deleted after previously installed plugin deinstallation.