|BundleException: Error reading bundle content [message #1736890]
||Mon, 04 July 2016 08:52
Registered: May 2015
I posted in Eclipse Platform, but posting here instead.|
In our RCP application we use EquinoxBundle.update() method to refresh loaded bundles. But in Eclipse 4.6 we get a MalformedURLException "no protocol: initial@reference:file:<path to bundle>
This is not seen in Eclipse 4.5.2.
The exception occur in the Storage.class where a check "path.startsWith("reference") is made and then makes a call to new URL(null, path, URLStreamHandler), if the check fails as in my case since my path starts with "initial@reference...", it calls new URL(path) directly and triggers the above exception.
Anyone have any ideas?
Powered by FUDForum
. Page generated in 0.02639 seconds