jfrog/jfrog-idea-plugin

ActionUpdateThread.OLD_EDT deprecated

Closed this issue · 4 comments

Describe the bug
During the scan process IntelliJ throws following exception and breaks the scan.

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'com.jfrog.ide.idea.actions.ScanTimeLabelAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: org.jfrog.idea]
	at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
	at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
	at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
	at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
	at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.java:200)

To Reproduce

IntelliJ IDEA version: IntelliJ IDEA 2024.1.1 (Ultimate Edition)
JFrog plugin version: 2.6.7
Operating system: Windows 10 Enterprise

  1. Login with SSO to JFrog server

  2. Start the scan

  3. It is scanning project dependencies
    image

  4. It fails in the last step
    image

Expected behavior
Dependencies should be analyzed and report displayed

Additional context
Add any other context about the problem here.

Hi @rivancic,
Thank you for reporting the bug!
It has been solved and will be released in the next cycle

Any info on the next release? It's been a while since the last one in January.

@rivancic
The next release is planned for next week 😁

Solved as of version 2.7.0
@rivancic