Skip to content

Commit 3cfdd4a

Browse files
committed
Fix a null reference exception.
1 parent 1b056d6 commit 3cfdd4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chemclipse/plugins/org.eclipse.chemclipse.model/src/org/eclipse/chemclipse/model/support/ChromatogramColumnSupport.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2023, 2025 Lablicate GmbH.
2+
* Copyright (c) 2023, 2026 Lablicate GmbH.
33
*
44
* This program and the accompanying materials are made
55
* available under the terms of the Eclipse Public License 2.0
@@ -50,7 +50,7 @@ public static void parseSeparationColumn(IChromatogram chromatogram, ColumnField
5050
*/
5151
if(parseReferences) {
5252
for(IChromatogram chromatogramReference : chromatogram.getReferencedChromatograms()) {
53-
if(chromatogramReference.isParseSeparationColumnEnabled()) {
53+
if(chromatogramReference != null && chromatogramReference.isParseSeparationColumnEnabled()) {
5454
mapSeparationColumn(chromatogramReference, columnField, separationColumnMapping);
5555
}
5656
}

0 commit comments

Comments
 (0)