question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’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:closed
  • Created 11 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
dboissiercommented, Aug 27, 2012

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

0reactions
matteosistercommented, Aug 27, 2012

ok! With a “real” url it worked!!! Many thanks, close this issue!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found