Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368873 - Hudson standalone tests fail with NoClassDefFoundError
Summary: Hudson standalone tests fail with NoClassDefFoundError
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 15:01 EST by Steffen Pingel CLA
Modified: 2012-01-17 16:51 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (3.82 KB, application/octet-stream)
2012-01-17 16:51 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2012-01-17 15:01:36 EST
Tests are failing to load the extension registry.

java.lang.NoClassDefFoundError: org/eclipse/core/runtime/RegistryFactory
	at org.eclipse.core.runtime.Platform.getExtensionRegistry(Platform.java:913)
	at org.eclipse.mylyn.commons.core.ExtensionPointReader.read(ExtensionPointReader.java:78)
	at org.eclipse.mylyn.internal.commons.repositories.core.LocationService$LocationServiceInitializer.<clinit>(LocationService.java:43)
	at org.eclipse.mylyn.internal.commons.repositories.core.LocationService.getDefault(LocationService.java:69)
	at org.eclipse.mylyn.commons.repositories.core.RepositoryLocation.<init>(RepositoryLocation.java:96)
	at org.eclipse.mylyn.hudson.tests.core.HudsonServerBehaviourTest.testParseJobHealthNoReport(HudsonServerBehaviourTest.java:29)
	
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.mylyn.internal.commons.repositories.core.LocationService$LocationServiceInitializer
	at org.eclipse.mylyn.internal.commons.repositories.core.LocationService.getDefault(LocationService.java:69)
	at org.eclipse.mylyn.commons.repositories.core.RepositoryLocation.<init>(RepositoryLocation.java:96)
	at org.eclipse.mylyn.hudson.tests.core.HudsonServerBehaviourTest.testParseJobHealth(HudsonServerBehaviourTest.java:37)
Comment 1 Steffen Pingel CLA 2012-01-17 16:51:06 EST
Added org.eclipse.equinox.registry as a dependency.
Comment 2 Steffen Pingel CLA 2012-01-17 16:51:09 EST
Created attachment 209647 [details]
mylyn/context/zip