Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340521

Summary: [gerrit] NoClassDefFoundError on synchronization of tasks
Product: z_Archived Reporter: Matthias Sohn <matthias.sohn>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: 0.8   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.