Bug 823459 - Task view throws exception on the first run
Summary: Task view throws exception on the first run
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-mylyn
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Krzysztof Daniel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-21 10:16 UTC by Hedayat Vatankhah
Modified: 2014-01-13 00:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-22 12:42:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Eclipse log for the first run (mylyn exception) (353.86 KB, text/x-log)
2012-05-22 10:38 UTC, Hedayat Vatankhah
no flags Details
Reconciliation log (702.54 KB, text/x-log)
2012-05-22 12:11 UTC, Krzysztof Daniel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Eclipse Project 297769 0 None None None Never

Description Hedayat Vatankhah 2012-05-21 10:16:29 UTC
Description of problem:
when I run Eclipse in a fresh installation of Fedora 17 (RC2 and also TC5), Mylyn's task view shows an exception. If I close Eclipse and run it again, task view works fine.

Version-Release number of selected component (if applicable):
eclipse-mylyn-3.7.0-5.fc17.noarch
eclipse-platform-4.2.0-0.20.I201205031800.fc17.x86_64
(Installed from installation DVD)


How reproducible:
100%

Comment 1 Krzysztof Daniel 2012-05-22 10:02:23 UTC
It would be good if you could attach the stacktrace.

Comment 2 Hedayat Vatankhah 2012-05-22 10:38:04 UTC
Created attachment 585995 [details]
Eclipse log for the first run (mylyn exception)

Comment 3 Krzysztof Daniel 2012-05-22 12:11:13 UTC
Created attachment 586017 [details]
Reconciliation log

Thanks for the log!

I have reproduced the issue. I'm working on it.

Comment 4 Krzysztof Daniel 2012-05-22 12:33:07 UTC
This is the source of all evilness - almost all bundles are affected:

Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin()Lorg/eclipse/core/runtime/Plugin;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/core/internal/plugins/PluginDescriptor, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for interface org/eclipse/core/runtime/IPluginDescriptor have different Class objects for the type or.getPlugin()Lorg/eclipse/core/runtime/Plugin; used in the signature
	at org.eclipse.core.internal.plugins.PluginRegistry.getPluginDescriptor(PluginRegistry.java:117)
	at org.eclipse.core.internal.plugins.PluginRegistry.getPluginDescriptor(PluginRegistry.java:104)
	at org.eclipse.core.runtime.Platform.getPlugin(Platform.java:744)
	at org.eclipse.core.internal.preferences.legacy.InitLegacyPreferences.init(InitLegacyPreferences.java:43)
	at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:147)
	at org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:368)
	at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:166)
	at org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:237)
	at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:410)
	at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:663)
	at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:805)
	at org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.java:38)
	at org.eclipse.core.runtime.preferences.DefaultScope.getNode(DefaultScope.java:76)
	at org.eclipse.ui.preferences.ScopedPreferenceStore.getDefaultPreferences(ScopedPreferenceStore.java:250)
	at org.eclipse.ui.preferences.ScopedPreferenceStore.setDefault(ScopedPreferenceStore.java:618)
	at org.eclipse.mylyn.internal.monitor.ui.MonitorUiPlugin.start(MonitorUiPlugin.java:137)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	... 50 more

Comment 5 Krzysztof Daniel 2012-05-22 12:42:49 UTC
Mystery solved.

Thank you, Hedayat, for your bug report. This is a problem of Mylyn, which they have known for a long time. I'll inform them that it affects all Fedora users.

Comment 6 Hedayat Vatankhah 2012-05-22 18:07:21 UTC
Thanks a lot for following this bug :)


Note You need to log in before you can comment on or make changes to this bug.