Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330761 - Exception thrown when restarting after uninstalling a bundle involved with weaving
Summary: Exception thrown when restarting after uninstalling a bundle involved with we...
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Weaving (show other bugs)
Version: 3.6.1   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Lippert CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 17:27 EST by Andrew Eisenberg CLA
Modified: 2021-08-30 20:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Eisenberg CLA 2010-11-21 17:27:33 EST
I got this exception when restarting after uninstalling a bundle.  I believe that this bundle provides some aspects to include in the weaving process.  If it helps, I can look up the update site that installs this bundle.

java.lang.IllegalStateException: Bundle
"reference:file:plugins/gw.studio.gosu.editor_0.7.0.jar" has been
uninstalled
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractB
undle.java:1164)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.checkLoader(BundleHost.j
ava:186)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.jav
a:228)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBu
ndle.java:1197)
at 
org.eclipse.equinox.weaving.hooks.WeavingLoaderDelegateHook.postFindClass(Un
known Source)
at 
org.eclipse.osgi.internal.loader.BundleLoader.searchHooks(BundleLoader.java:
520)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:486)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
2)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
0)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at 
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:33
8)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.jav
a:232)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBu
ndle.java:1197)
at 
org.codehaus.jdt.groovy.integration.LanguageSupportFactory.tryInstantiate(La
nguageSupportFactory.java:140)
at 
org.codehaus.jdt.groovy.integration.LanguageSupportFactory.getLanguageSuppor
t(LanguageSupportFactory.java:113)
at 
org.codehaus.jdt.groovy.integration.LanguageSupportFactory.newCompilationUni
t(LanguageSupportFactory.java:69)
at 
org.eclipse.jdt.internal.core.PackageFragment.buildStructure(PackageFragment
.java:92)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
at 
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:51
5)
at 
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:25
2)
at 
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:23
8)
at 
org.eclipse.ajdt.core.javaelements.AJCompilationUnitManager.createCU(AJCompi
lationUnitManager.java:190)
at 
org.eclipse.ajdt.core.javaelements.AJCompilationUnitManager.initCompilationU
nits(AJCompilationUnitManager.java:236)
at org.eclipse.ajdt.ui.AspectJUIPlugin$1.run(AspectJUIPlugin.java:336)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Martin Lippert CLA 2010-11-25 10:27:10 EST
Hi Andrew!

Seems like some stale data is hanging around in Equinox Weaving after the bundle gots uninstalled. I will take a look at that. Thanks for reporting!

Cheers,
-Martin
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:05:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 3 Eclipse Genie CLA 2021-08-30 20:05:17 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.