Publish/Generate Task from TAC fails

Talend Version          6.2.1

Summary

 Commandline can't access Nexus to fetch required jars due to java.net.MalformedURLException: For input string
Additional Versions  6.x and above
Product  
Component  
Problem Description
Commandline failed to Publish or Generate Tasks from TAC when the Job requires jars even though these jars are already in Nexus.
Commandline log file shows the following error when trying to fetch one of these jars:

java.lang.Exception: LocalLibraryManager resolve mvn:org.talend.libraries/ojdbc6/6.0.0/jar failed !
    at org.talend.librariesmanager.model.service.LocalLibraryManager.retrieve(LocalLibraryManager.java:404)
    at org.talend.librariesmanager.model.service.LocalLibraryManager.retrieve(LocalLibraryManager.java:709)
    ...
ERROR: invalid repository URLs
java.net.MalformedURLException: For input string: "xyz"
    at java.net.URL.<init>(URL.java:627)
    at java.net.URL.<init>(URL.java:490)
    at java.net.URL.<init>(URL.java:439)
    at org.ops4j.pax.url.mvn.internal.config.MavenRepositoryURL.<init>(MavenRepositoryURL.java:197)
    at org.ops4j.pax.url.mvn.internal.config.MavenConfigurationImpl.getRepositories(MavenConfigurationImpl.java:316)
    at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.selectRepositories(AetherBasedResolver.java:391)
    ...
Caused by: java.lang.NumberFormatException: For input string: "xyz"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:580)
    at java.lang.Integer.parseInt(Integer.java:615)
    at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:216)
    at java.net.URL.<init>(URL.java:622)
    ... 36 more
Problem root cause  
The password set in TAC->Settings->Configuration->"User libraries" contained a special character slash '/'.
Solution or Workaround  Change password to remove slashes
JIRA ticket number  
Version History
Revision #:
1 of 1
Last update:
‎05-17-2017 10:47 PM
Updated by:
 
Labels (1)
Contributors