Bug 229779 NPE in performance tests
There are several NPEs within the UI session tests that prevent them from running. They all are due to calls to setDegredationComment() within the constructor of the tests. This should instead be called from within the test method itself - the test object does not exist when the constructor is invoked and this method will NPE.
tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/PerspectiveSwitchTest.java
this.id2 = ids[1];
        this.activeEditor = ids[2];
        setDegradationComment("<a href=https://bugs.eclipse.org/bugs/show_bug.cgi?id=179581>See Bug 179581</a>");
    }
	
    /**
     * Test perspective switching performance. 
     */
    protected void runTest() throws CoreException, WorkbenchException {
        
        final IPerspectiveRegistry registry = WorkbenchPlugin.getDefault()
                .getPerspectiveRegistry();
        final IPerspectiveDescriptor perspective1 = registry
                .findPerspectiveWithId(id1);
        final IPerspectiveDescriptor perspective2 = registry
                .findPerspectiveWithId(id2);
        
        
        
        if (perspective1 == null) {
            System.out.println("Unknown perspective ID: " + id1);
            return;
        }
        if (perspective2 == null) {
            System.out.println("Unknown perspective ID: " + id2);
            return;
        }