Hello, Looks like the problem with WebStorm 19.2 ...
# sdf
a
Hello, Looks like the problem with WebStorm 19.2 is related to the JDK upgrade of the IntelliJ Platform. One of our libraries is using some Java APIs that changed from Java 8 to Java 9 and therefore that is causing some problems. We will need some time to move and test our plugin with the new Java version. In the meantime, if you want to continue using our plugin with WebStorm 19.2, you can follow this guide to change the JDK of the IntelliJ Platform for WS19.2 https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under You should select Java 8 as the running JDK and our plugin should work. However, we should warn that it's not fully tested with WS 19.2 so there may be some functions that are not working as expected. Our preliminary test shows that changing the JDK makes the plugin work again. Sorry for the inconvenience
👍 9
- Run Ctrl+Shift+A or Cmd+Shift+A on Mac - Type "Switch" - Select option as screenshot below - Change JDK to 1.8 - Restart WebStorm
message has been deleted
s
Thanks Albert!
c
As another heads up for upgrades, they (jetbrains) sometimes deprecates their APIs and don't do a great job of telling you and then your plugin takes a dive.
e
I reverted back to Webstorm 19.1. 19.2 broke the issue token dialog, even with JDK 1.8
s
this is making me happy I have just stuck with using the SDF CLI all along
I love webstorm but I have some weird old-school windows phobia of just pointing and clicking to do major deployment-like operations
at least, in general, with the SDF CLI I feel (falsely perhaps) I can always press CTRL+C to abort
e
I'm confident in my clicking ability 😉
Development, that's another story lol
a
@ehcanadian what's the problem with the issue token dialog? Can you share it?
e
@Albert Margarit (NS Eng Lead) Here's the stack trace
a
This looks like the same problem of JDK
are you sure you are running under JDK 8?
e
1.8.0_212
Something doesn't make sense though, because running the same JDK under webstorm 19.2 or 19.2 shouldn't make a difference, I would think...
a
our plugin is using a Java API that changed from Java 8 to Java 9 and therefore it's broken when using it under another JDK
Anyway, looks it's not related to JDK. I was able to reproduce it as well
👍 1
I guess, there's an Intellij API that changed
We'll take a look. Thanks for reporting it
e
Thanks for looking into it! 🙂
a
Unfortunately, the only option at this point is to switch back to 18.. until we release a fix
We found the issue. Working on it. Most likely we'll release the fix for it in our next major release (19.2 Phase 1). The JDK issue will require more time since we need to upgrade some key libraries
k
@Albert Margarit (NS Eng Lead) I looked at switch my JDK version like it says but i only get the one option. This is in Webstorm 2019.2. I have since rolled back to 2019.1.4 and skipped 2019.1 for now.
a
mmm, interesting
maybe you don't have JDK 8 installed in your machine?
k
Possibly not. on Mac
Just installed Webstorm didnt install any JDK
m
People have this working now? I have rolled back and still am not having any luck making it work with 2019.1.4
a
What error are you getting Mike?
d
Hi @Albert Margarit (NS Eng Lead), what issues did WS19.2 cause? I have been using SDF with WS19.2 on both my mac and windows machines and it seems to be working.. (edited)
a
I guess you are using JDK 8 then
d
@Albert Margarit (NS Eng Lead) got it. Great work btw, loving WebStorm with SuiteCloud IDE.