-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi, I'm trying to configure the plugin (version 0.9.4) in PHPStorm 10.0.3 but I'm getting a "URL malformed" exception. The server URL and credentials are working fine because when I click on "Test connection" button I get back the success message, also if I click the refresh button on the plugin panel from the editor it logs back the current status of jobs but doesn't fill the job's list view and after testing and applying the config values it logs the error mentioned above. The full output can be read below:
URL is malformed
java.lang.IllegalArgumentException: URL is malformed
at org.codinjutsu.tools.jenkins.logic.UrlBuilder.handleException(UrlBuilder.java:141)
at org.codinjutsu.tools.jenkins.logic.UrlBuilder.createViewUrl(UrlBuilder.java:97)
at org.codinjutsu.tools.jenkins.logic.RequestManager.loadJenkinsWorkspace(RequestManager.java:86)
at org.codinjutsu.tools.jenkins.logic.LoginService$1.run(LoginService.java:61)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:366)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
Caused by: java.net.MalformedURLException: unknown protocol: jenkins-drupal.hiberus.com
at java.net.URL.(URL.java:593)
at java.net.URL.(URL.java:483)
at java.net.URL.(URL.java:432)
at org.codinjutsu.tools.jenkins.logic.UrlBuilder.createViewUrl(UrlBuilder.java:95)
... 16 more
If we take a quick look I think is because when it fetches the workspace the URI doesn't contain the schema (http in my case). Hope it can be fixed soon. Cheers