Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » BundleException: Error reading bundle content
BundleException: Error reading bundle content [message #1736689] Fri, 01 July 2016 03:43
Eclipse UserFriend
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.

Anyone have any ideas?

update:

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.

Best regards,
Kenneth

[Updated on: Fri, 01 July 2016 03:56] by Moderator

Previous Topic:How to clean up leftover plugin artifact?
Next Topic:Eclipse File storage structure
Goto Forum:
  


Current Time: Tue Mar 18 01:08:22 EDT 2025

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

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

Back to the top