URL is malformed
See original GitHub issueI’m trying to install this plugin on PhpStorm and there is a problem. The settings are ok, and the connection is “succesfull”, but as soon as I open phpstorm I get the error in the subject. This is the complete stack trace:
URL is malformed: URL is malformed
java.lang.IllegalArgumentException: URL is malformed
at org.codinjutsu.tools.jenkins.logic.UrlBuilder.handleException(UrlBuilder.java:109)
at org.codinjutsu.tools.jenkins.logic.UrlBuilder.createViewUrl(UrlBuilder.java:75)
at org.codinjutsu.tools.jenkins.logic.JenkinsRequestManager.loadJenkinsWorkspace(JenkinsRequestManager.java:113)
at org.codinjutsu.tools.jenkins.logic.JenkinsBrowserLogic.loadJenkinsWorkspace(JenkinsBrowserLogic.java:145)
at org.codinjutsu.tools.jenkins.logic.JenkinsBrowserLogic.reloadConfiguration(JenkinsBrowserLogic.java:107)
at org.codinjutsu.tools.jenkins.logic.JenkinsBrowserLogic.init(JenkinsBrowserLogic.java:88)
at org.codinjutsu.tools.jenkins.JenkinsControlComponent$4.run(JenkinsControlComponent.java:197)
at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:203)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.java:163)
at com.intellij.openapi.project.impl.ProjectManagerImpl$5$2.run(ProjectManagerImpl.java:442)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:538)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.net.MalformedURLException: no protocol: ci//api/xml?tree=name,url,jobs%5Bname,url,color,buildable,inQueue,healthReport%5Bdescription,iconUrl%5D,lastBuild%5Bid,url,building,result,number%5D,property%5BparameterDefinitions%5Bname,type,defaultParameterValue%5Bvalue%5D,choices%5D%5D%5D
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.codinjutsu.tools.jenkins.logic.UrlBuilder.createViewUrl(UrlBuilder.java:73)
... 26 more
In the settings I have configured only the server address which is: http://ci.vivacom.com/
Issue Analytics
- State:
- Created 11 years ago
- Comments:5
Top Results From Across the Web
Malformed URL | Imperva
This violation indicates that a request that was not created by a browser, and does not comply with HTTP standards, has been sent...
Read more >Malformed URL - Common causes and quick fixes - Opster
This guide will help you check for common problems that cause the log ” malformed URL ” to appear.
Read more >What does it mean when we have a malformed URL exception ...
MalformedURLException is cause if either no legal protocol could be found in a specification string or the string could not be parsed or...
Read more >New Phishing Attack Identified: Malformed URL Prefixes
Attackers are able to get around many email scanners using these malformed URL prefixes between the Scheme and Host. The URLs don't fit...
Read more >Base URL malformed or empty - Sitebulb
This means that the URL in question contains a base URL which is malformed or empty. Why is this important? The base tag...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

hi,
Please go to your http://jenkins_server/configure and check the value of Jenkins URL (located above Email Notification section). Normally you should have your jenkins server url. If not, please fix it (unless you need to keep the value ci/ and in that case, the plugin will not work)
Regards,
David
ok! With a “real” url it worked!!! Many thanks, close this issue!