for (int i= 0; i < windows.length; i++) {
IWorkbenchWindow window= windows[i];</BUG>
IWorkbenchPage activePage= window.getActivePage();
if (activePage == null)
continue;
<BUG>IViewReference[] refs= activePage.getViewReferences();

for (int j= 0; j < refs.length; j++) {
IViewReference viewReference= refs[j];</BUG>
if (IPageLayout.ID_PROBLEM_VIEW.equals(viewReference.getId()))

return;
if (workbench == null || workbench.isStarting()) {
Display.getCurrent().timerExec(PROBLEMS_VIEW_CREATION_DELAY, this);
return;
}
for (IWorkbenchWindow window : workbench.getWorkbenchWindows()) {
IWorkbenchPage activePage= window.getActivePage();
if (activePage == null)
continue;
for (IViewReference viewReference : activePage.getViewReferences()) {
if (IPageLayout.ID_PROBLEM_VIEW.equals(viewReference.getId()))
