Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » BundleException: Error reading bundle content
BundleException: Error reading bundle content [message #1736689] Fri, 01 July 2016 07:43
Kenneth StyrbergFriend
Messages: 3
Registered: May 2015
Junior Member
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 07:56]

Report message to a moderator

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


Current Time: Fri Apr 26 11:16:57 GMT 2024

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

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

Back to the top