| java.lang.StackOverflowError in BundleLoader with version 3.4rc3 [message #328887] | 
Thu, 05 June 2008 22:16  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
I'm hoping someone can provide some feedback / insights into the following  
issue i'm seeing. 
 
I've been using the eclipse RCP platform successfully for a rather small  
project with about 7 plugins and the required set of plugins for the IDE  
application.  i've recently switched to 3.4rc3 from the latest 3.3 and i  
can't start my app anymore.  i'll admit, i've made some changes to my code  
in the process, but i believe nothing "too fancy" to cause an issue like  
this.  
 
i'm running on sun's JDK 1.6  on windows XP.  
 
all of my manifest files are error / warning free.  
 
i took a look at the source code, and noticed that the method  
addExportedProvidersFor keeps track of the "visited" bundles, but it's  
re-entering itself in such a way that the local variable "visited" isn't  
getting propageted through the other methods.  
 
perhaps i have a circular plugin reference or something, but none of the  
tooling is giving me any warnings of that, and i've been running  
successfully on 3.3. 
 
again, any insights into a potential problem would be apreciated.  
 
-Richard 
 
java.lang.StackOverflowError 
at  
 org.eclipse.osgi.framework.util.KeyedHashSet.keyHash(KeyedHa shSet.java:380) 
at  
 org.eclipse.osgi.framework.util.KeyedHashSet.getByKey(KeyedH ashSet.java:209) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoaderProxy.g etPackageSource(BundleLoaderProxy.java:159) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoaderProxy.c reatePackageSource(BundleLoaderProxy.java:213) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.create ExportPackageSource(BundleLoader.java:254) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.getImp ortedSources(BundleLoader.java:239) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.findIm portedSource(BundleLoader.java:1044) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.addExp ortedProvidersFor(BundleLoader.java:904) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.findRe quiredSource(BundleLoader.java:1083) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.create ExportPackageSource(BundleLoader.java:253) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.getImp ortedSources(BundleLoader.java:239) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.findIm portedSource(BundleLoader.java:1044) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.addExp ortedProvidersFor(BundleLoader.java:904) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.findRe quiredSource(BundleLoader.java:1083) 
at  
 org.eclipse.osgi.framework.internal.core.BundleLoader.create ExportPackageSource(BundleLoader.java:253) 
 
and the terror continues
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.07828 seconds