[resolved] ERROR: '&' is an invalid character in a configuration name

One Star

[resolved] ERROR: '&' is an invalid character in a configuration name

Hi there,
While constructing a job on TOS_DI 6.0.0, I'm facing the following error :
ERROR: '&' is an invalid character in a configuration name
org.eclipse.core.runtime.CoreException: '&' is an invalid character in a configuration name
    at org.eclipse.debug.internal.core.LaunchConfigurationType.newInstance(LaunchConfigurationType.java:475)

follows a long stack of "at ..." and at some point :
Caused by: java.lang.IllegalArgumentException: '&' is an invalid character in a configuration name
    at org.eclipse.debug.internal.core.LaunchManager.isValidLaunchConfigurationName(LaunchManager.java:2710)
    at org.eclipse.debug.internal.core.LaunchConfigurationType.newInstance(LaunchConfigurationType.java:473)
    ... 69 more
ERROR: Can't create maven command launcher.
java.lang.Exception: Can't create maven command launcher.

and some more "at...".
I used to get my workspace located in a path where I could find a & in a subdirectory name. Thought it was coming from this.
I switched the workspace to another path without directories using & in their names.
Still got the same error message.
By exporting the job I found some remaining mentions to the old path (with a directory using & in its name) in my job's .item file, which I corrected and now, still exporting the job I find no mention to the old path anymore.
Restarted TOS_DI, but the job construction still fails with the same error message.
What's going wrong ? Where should I check to correct it and be able to construct a standalone job ?
One Star

Re: [resolved] ERROR: '&' is an invalid character in a configuration name

I just reinstall TOS DI from scratch removing all the configs I could find here and there, and changing the workspace directory.
Then I got an error with maven :
ERROR: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project routines: Fatal error compiling: tools.jar not found: /usr/lib/jvm/java-7-openjdk-amd64/jre/../lib/tools.jar ->

Don't know why java-7 when I configured Java to use java 8 Oracle (in the directory of which I find tools.jar...),
and :
$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

So I just removed java-7-openjdk-amd64 from the list of Installed JREs in the Java Preferences...
And it turned to build the job!
Later I'll have to check the standalone job, not right now...
Moderator

Re: [resolved] ERROR: '&' is an invalid character in a configuration name

Hi mpintor,
So far, talend don't support for open JDK.
Please see document about:TalendHelpCenter:Compatible Platforms and Java environments.
Feel free to let us know if there is any futher help we can give.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.