Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 299154
Collapse All | Expand All

(-)earproject/org/eclipse/jst/j2ee/application/internal/operations/ClassPathSelection.java (-1 / +4 lines)
Lines 1136-1142 Link Here
1136
		Archive anArchive = null;
1136
		Archive anArchive = null;
1137
		if (element.isValid()) {
1137
		if (element.isValid()) {
1138
			try {
1138
			try {
1139
				anArchive = (Archive) getEARFile().getFile(element.getText());
1139
				EARFile earFile = getEARFile();
1140
				if( earFile != null ){
1141
					anArchive = (Archive) earFile.getFile(element.getText());
1142
				}
1140
			} catch (FileNotFoundException e) {
1143
			} catch (FileNotFoundException e) {
1141
			}
1144
			}
1142
		}
1145
		}

Return to bug 299154