Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 381902 - fix failing tests due to lack of active part
Summary: fix failing tests due to lack of active part
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.8   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 381564
  Show dependency tree
 
Reported: 2012-06-06 14:25 EDT by Steffen Pingel CLA
Modified: 2012-06-06 17:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2012-06-06 14:25:49 EDT
Some context tests fail if PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart() returns null.

java.lang.NullPointerException
	at org.eclipse.mylyn.monitor.ui.AbstractUserInteractionMonitor.selectionChanged(AbstractUserInteractionMonitor.java:60)
	at org.eclipse.mylyn.java.tests.ResourceStructureMappingTest.testPrentResourceMapping(ResourceStructureMappingTest.java:34)
Comment 1 Steffen Pingel CLA 2012-06-06 17:19:17 EDT
Tests are passing now.