jfrog/jfrog-idea-plugin

exception when using plugin with bad credentials

sverdlov93 opened this issue · 0 comments

Describe the bug
Getting an exception when using plugin with bad credentials.

Expected behavior
To show credentials error only.

Screenshots
java.lang.Throwable: Failed to search artifact by the aql 'items.find({"repo":"artifactory-build-info","path":{"$match":"*"}}).include("name","repo","path","created").sort({"$desc":["created"]}).limit(100)' at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182) at com.jfrog.ide.idea.log.Logger.error(Logger.java:60) at org.jfrog.build.extractor.clientConfiguration.client.artifactory.services.SearchArtifactsByAql.handleUnsuccessfulResponse(SearchArtifactsByAql.java:34) at org.jfrog.build.extractor.clientConfiguration.client.JFrogService.execute(JFrogService.java:130) at org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager.searchArtifactsByAql(ArtifactoryManager.java:224) at com.jfrog.ide.common.ci.CiManagerBase.buildCiTree(CiManagerBase.java:91) at com.jfrog.ide.idea.ci.CiManager$1.run(CiManager.java:85) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:436) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:120) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:496) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:244) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:188) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:624) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:698) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:646) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:623) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:175) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:244) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:829)

Versions

  • JFrog IDEA plugin version: 1.14.1
  • Operating system: macOS