Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] java.lang.StackOverflowError in BundleLoader with version 3.4rc3


Hi Richard, can you enter a bug report in bugzilla against the Equinox Framework component?

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox

Thanks,
John



"Richard Huddleston" <rhuddusa@xxxxxxxxx>
Sent by: platform-core-dev-bounces@xxxxxxxxxxx

06/05/2008 10:10 PM

Please respond to
"Eclipse Platform Core component developers list."        <platform-core-dev@xxxxxxxxxxx>

To
platform-core-dev@xxxxxxxxxxx
cc
Subject
[platform-core-dev] java.lang.StackOverflowError in BundleLoader        with version 3.4rc3





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(KeyedHashSet.java:380)
at org.eclipse.osgi.framework.util.KeyedHashSet.getByKey(KeyedHashSet.java:209)
at org.eclipse.osgi.framework.internal.core.BundleLoaderProxy.getPackageSource(BundleLoaderProxy.java:159)
at org.eclipse.osgi.framework.internal.core.BundleLoaderProxy.createPackageSource(BundleLoaderProxy.java:213)
at org.eclipse.osgi.framework.internal.core.BundleLoader.createExportPackageSource(BundleLoader.java:254)
at org.eclipse.osgi.framework.internal.core.BundleLoader.getImportedSources(BundleLoader.java:239)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findImportedSource(BundleLoader.java:1044)
at org.eclipse.osgi.framework.internal.core.BundleLoader.addExportedProvidersFor(BundleLoader.java:904)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findRequiredSource(BundleLoader.java:1083)
at org.eclipse.osgi.framework.internal.core.BundleLoader.createExportPackageSource(BundleLoader.java:253)
at org.eclipse.osgi.framework.internal.core.BundleLoader.getImportedSources(BundleLoader.java:239)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findImportedSource(BundleLoader.java:1044)
at org.eclipse.osgi.framework.internal.core.BundleLoader.addExportedProvidersFor(BundleLoader.java:904)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findRequiredSource(BundleLoader.java:1083)
at org.eclipse.osgi.framework.internal.core.BundleLoader.createExportPackageSource(BundleLoader.java:253)

and the terror continues
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-core-dev


Back to the top