|
Re: Manifest Compatibility [message #115813 is a reply to message #115801] |
Fri, 30 March 2007 21:08 |
Richard Gronback Messages: 605 Registered: July 2009 |
Senior Member |
|
|
Hi Sharanya,
I've not seen this before, but have submitted a fix to CVS for the 3 GMF
manifests below.
Thanks,
Rich
On 3/30/07 4:26 PM, in article eujrpk$h73$1@build.eclipse.org, "Sharanya
Doddapaneni" <shdoddap@cisco.com> wrote:
> Hi,
> We are running into an issue exporting and using gmf plug-ins listed here
>
> org.eclipse.gmf.runtime.emf.clipboard.core_1.0.1.v20060919-0 800.jar
> org.eclipse.gmf.runtime.emf.type.core_1.0.1.v20060919-0800.j ar
> org.eclipse.gmf.runtime.notation_1.0.1.v20060919-0800.jar
>
> The problem seems to be with corrupt manifest files, due to an extra
> space in the manifest file, which causes Eclipse to think it has to
> re-generate the manifest file and when it tries to do so it fails
> because there is no plugin.xml.
>
> Manifest file for this plug-in causing issue (notice the space between ;
> and singleton):
> Bundle-SymbolicName: org.eclipse.gmf.runtime.emf.clipboard.core; singl
> eton:=true
>
> Manifest file for this plugin after the issue was fixed by changing the
> file (notice no space between ; and the word singleton):
> Bundle-SymbolicName: org.eclipse.gmf.runtime.emf.clipboard.core;singl
> eton:=true
>
> The stack trace is as follows when the plug-ins are accessed:
> !ENTRY system.bundle 4 0 2007-03-30 09:36:07.866
> !MESSAGE FrameworkEvent.ERROR
> !STACK 0
> java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(Unknown Source)
> at java.util.zip.ZipFile.<init>(Unknown Source)
> at
> org.eclipse.osgi.framework.util.SecureAction.getZipFile(Secu reAction.java:225)
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicO pen(ZipBundleFile.
> java:79)
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZip File(ZipBundleFile
> .java:92)
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checke dOpen(ZipBundleFil
> e.java:65)
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEnt ry(ZipBundleFile.j
> ava:234)
> at org.eclipse.osgi.baseadaptor.BaseData.getEntry(BaseData.java :96)
> at
> org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.loadManife stFrom(AdaptorUtil
> .java:189)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook .getGeneratedManif
> est(EclipseStorageHook.java:294)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook .createCachedManif
> est(EclipseStorageHook.java:290)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook .getManifest(Eclip
> seStorageHook.java:395)
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.loadManife st(BaseStorage.jav
> a:255)
> at
> org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(Bu ndleInstall.java:8
> 2)
> at
> org.eclipse.osgi.framework.internal.core.Framework.installWo rkerPrivileged(Fra
> mework.java:832)
> at
> org.eclipse.osgi.framework.internal.core.Framework$2.run(Fra mework.java:748)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.Framework.installWo rker(Framework.jav
> a:799)
> at
> org.eclipse.osgi.framework.internal.core.Framework.installBu ndle(Framework.jav
> a:743)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.i nstallBundle(Bundl
> eContextImpl.java:221)
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.installBundles
> (ConfigurationActivator.java:197)
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(Configur
> ationActivator.java:82)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContext
> Impl.java:991)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(Bund
> leContextImpl.java:985)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContext
> Impl.java:966)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.jav
> a:317)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.
> java:329)
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java
> :1046)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(Start
> LevelManager.java:573)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelM
> anager.java:495)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(Sta
> rtLevelManager.java:275)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(Start
> LevelManager.java:455)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.ja
> va:189)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.
> java:291)
>
> !ENTRY org.eclipse.update.configurator 2007-03-30 09:36:07.874
> !MESSAGE Could not install bundle
> ../../plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.0 .1.v20060919-0800.
> jar
>
> Error converting plugin at
> C:\maya\cache\plugins\org.eclipse.gmf.runtime.emf.clipboard. core_1.0.1.v200609
> 19-0800.jar.
>
> Has anyone run into this issue before?
>
> Also, is there fix already available from GMF on this issue.
> Thanks,
> Sharanya
|
|
|
|
Powered by
FUDForum. Page generated in 0.05076 seconds