Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340521 - [gerrit] NoClassDefFoundError on synchronization of tasks
Summary: [gerrit] NoClassDefFoundError on synchronization of tasks
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 0.8   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 14:33 EDT by Matthias Sohn CLA
Modified: 2011-03-21 01:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2011-03-20 14:33:38 EDT
eclipse.buildId=M20100909-0800
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.rcp.product -keyring /Users/d029788/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.rcp.product -keyring /Users/d029788/.eclipse_keyring -showlocation

Versions used:
-  latest nightly of gerrit connector	
 org.eclipse.mylyn.gerrit.feature (0.8.0.I20110320-0035) "Mylyn"
- Eclipse 3.6.2
- Mylyn versions:
   org.eclipse.mylyn_feature (3.5.0.I20110225-1516) "Mylyn"
   org.eclipse.mylyn.bugzilla_feature (3.5.0.I20110202-1522) "Mylyn"
   org.eclipse.mylyn.context_feature (3.5.0.I20110225-1516) "Mylyn"
   org.eclipse.mylyn.hudson (0.7.0.I20110225-1516) "Mylyn"
   org.eclipse.mylyn.ide_feature (3.5.0.I20110202-1522) "Mylyn"
   org.eclipse.mylyn.java_feature (3.5.0.I20110202-1522) "Mylyn"
   org.eclipse.mylyn.pde_feature (3.5.0.I20110202-1522) "Mylyn"
   org.eclipse.mylyn.reviews.feature (0.8.0.I20110320-0035) "Mylyn"
   org.eclipse.mylyn.team_feature (3.5.0.I20110225-1516) "Mylyn"
 
When trying to synchronize review tasks from http://egit.eclipse.org/r/
I hit a NoClassDefFoundError.


Error
Sun Mar 20 11:07:28 PDT 2011
Synchronization for connector 'org.eclipse.mylyn.gerrit' failed

java.lang.NoClassDefFoundError: org/eclipse/mylyn/internal/gerrit/core/GerritTaskSchema
	at org.eclipse.mylyn.internal.gerrit.core.GerritTaskDataHandler.initializeTaskData(GerritTaskDataHandler.java:93)
	at org.eclipse.mylyn.internal.gerrit.core.GerritTaskDataHandler.createTaskData(GerritTaskDataHandler.java:64)
	at org.eclipse.mylyn.internal.gerrit.core.GerritConnector.performQuery(GerritConnector.java:189)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQuery(SynchronizeQueriesJob.java:311)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQueries(SynchronizeQueriesJob.java:268)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.run(SynchronizeQueriesJob.java:201)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Steffen Pingel CLA 2011-03-21 01:11:14 EDT
Thanks for pointing that out. The minimum version constraint for the Mylyn Task List feature was too low. I have fixed it in git master.