Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361921

Summary: Bundle Overview with OSGi JMX integration cannot open Manifest Editor
Product: z_Archived Reporter: Kaloyan Raev <kaloyan>
Component: LibraAssignee: Kaloyan Raev <kaloyan>
Status: RESOLVED FIXED QA Contact: Kaloyan Raev <kaloyan>
Severity: major    
Priority: P3 CC: mlippert
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Kaloyan Raev CLA 2011-10-25 08:56:35 EDT
When using the Bundle Overview editor part with the OSGi JMX integration, opening the Manifest in the Manifest Editor fails silently. Exception is logged in the Error Log. 

If the bundle is from the workspace, then the exception is like:

java.net.URISyntaxException: Illegal character in opaque part at index 17: reference:file:C:\Work\Libra\runtime-New_configuration\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\plugins\my.shell.command_1.0.0.qualifier.jar
	at java.net.URI$Parser.fail(Unknown Source)
	at java.net.URI$Parser.checkChars(Unknown Source)
	at java.net.URI$Parser.parse(Unknown Source)
	at java.net.URI.<init>(Unknown Source)
	at org.eclipse.libra.framework.editor.ui.internal.overview.BundleInformationDetailsPart.openBundleEditor(BundleInformationDetailsPart.java:742)

If the bundle is from the server runtime, then the exception is like:

java.lang.IllegalArgumentException: URI is not hierarchical
	at java.io.File.<init>(Unknown Source)
	at org.eclipse.libra.framework.editor.ui.internal.overview.BundleInformationDetailsPart.openBundleEditor(BundleInformationDetailsPart.java:742)