Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » understanding "Illegal character in scheme name"(error on trying to enter toolchain preferences)
understanding "Illegal character in scheme name" [message #1804027] Sat, 16 March 2019 07:17 Go to next message
ran shalit is currently offline ran shalitFriend
Messages: 10
Registered: January 2015
Junior Member
Hello,

I hope someone can help with the following:

plugin org.eclipse.equinox.register
On pressing windows->preferences->ds-5->toolchain
I get error log:
"Unable to create the selected preference page."
Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 7: initial@reference:file:../../../host_tools/mentor/gnu/arm/plugins/com.altera.ds5ae.toolchain.gcc.baremetal_18.1.0.201809130816.jar
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.checkChars(URI.java:3021)
at java.net.URI$Parser.parse(URI.java:3048)
at java.net.URI.<init>(URI.java:820)
at com.arm.eclipse.build.toolchains.ToolchainManager.convertToURI(ToolchainManager.java:129)
... 193 more

The full text error log is also attached.

Thank for any idea,
ranran
  • Attachment: error.txt
    (Size: 19.63KB, Downloaded 86 times)
Re: understanding "Illegal character in scheme name" [message #1804028 is a reply to message #1804027] Sat, 16 March 2019 07:59 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

com.arm.eclipse.build.toolchains.ToolchainManager.convertToURI(ToolchainManager.java:132)

looks to be the problem.

initial@reference:file:..

is an internal encoding for a bundle. You have picked a seemingly attractive getURI/getLocation method that doesn't do what you want.

Use org.eclipse.core.runtime.FileLocator to get useable URLs.

Regards

Ed Willink
Re: understanding "Illegal character in scheme name" [message #1804044 is a reply to message #1804028] Sat, 16 March 2019 19:07 Go to previous messageGo to next message
ran shalit is currently offline ran shalitFriend
Messages: 10
Registered: January 2015
Junior Member
Ed Willink wrote on Sat, 16 March 2019 07:59
Hi

com.arm.eclipse.build.toolchains.ToolchainManager.convertToURI(ToolchainManager.java:132)

looks to be the problem.

initial@reference:file:..

is an internal encoding for a bundle. You have picked a seemingly attractive getURI/getLocation method that doesn't do what you want.

Use org.eclipse.core.runtime.FileLocator to get useable URLs.

Regards

Ed Willink


Hi Ed,
Thanks.
I am a bit new on all this.
I actually just installed latest intel's DS-5 from their web site.
How do I change this "initial@reference:file:.." in eclipse?

Thank you,
ran
Re: understanding "Illegal character in scheme name" [message #1804057 is a reply to message #1804044] Sat, 16 March 2019 21:47 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

If it's not your code, you should ask on the developers support channel. It looks like a bug. But maybe it is the way you use it.

Regards

Ed Willink
Previous Topic:can not highlight all occurrence of a variable in javascript file in new version of eclipse
Next Topic:No repository found at plugin repository
Goto Forum:
  


Current Time: Sat Apr 20 01:19:20 GMT 2024

Powered by FUDForum. Page generated in 0.03333 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top