IntelliJ IDEA 2020.2.3: No valid license found

Answered

When updating the IntelliJ tools in TeamCity from 2020.1.x to 2020.2.x the build step fails with the following error:

 

No valid license found
2020-11-26 12:59:04,378 [ 1045] ERROR - #LicenseManager - No valid license found
java.lang.Throwable: No valid license found
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:143)
at com.intellij.ide.a.i.J.c(J.java:173)
at com.intellij.ide.a.i.J.a(J.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.idea.MainImpl.start(MainImpl.java:98)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:302)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:242)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:47)
at java.lang.Thread.run(Thread.java:748)
2020-11-26 12:59:04,380 [ 1047] ERROR - #LicenseManager - IntelliJ IDEA 2020.2.3 Build #IU-202.7660.26
2020-11-26 12:59:04,380 [ 1047] ERROR - #LicenseManager - JDK: 1.8.0_275; VM: OpenJDK 64-Bit Server VM; Vendor: Private Build
2020-11-26 12:59:04,380 [ 1047] ERROR - #LicenseManager - OS: Linux
Process exited with code 7
2
3 comments

Would it be possible to share how you updated the IntelliJ tools? I have just tested via the Administration - Tools and my test inspections tool worked just fine.

0

I update as usual via the Admin Tools menu.

In the meantime I have some additional information but still no solution. I tried updating the JDK from JDK 8 to JDK 11 which did not help.

#LicenseManager - IntelliJ IDEA 2020.2.3  Build #IU-202.7660.26
#LicenseManager - JDK: 11.0.9.1; VM: OpenJDK 64-Bit Server VM; Vendor: Ubuntu
#LicenseManager - OS: Linux

Also the code analysis step runs. It is only the duplicates finder which fails with the license error message.

 

0

Hi Peter,

 

thanks for the info, the duplicates finder bit was actually the critical part as I had only tested inspections. I have created https://youtrack.jetbrains.com/issue/TW-69437 to track this issue, please feel free to vote for it. I'm afraid that I don't really have a workaround besides downgrading idea as of yet, should we find anything we'll post it in the issue.

0

Please sign in to leave a comment.