Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromatogram CDF Reader - fix NPE #361

Closed
eselmeister opened this issue May 17, 2023 · 0 comments
Closed

Chromatogram CDF Reader - fix NPE #361

eselmeister opened this issue May 17, 2023 · 0 comments

Comments

@eselmeister
Copy link
Contributor

!MESSAGE Cannot invoke "org.eclipse.chemclipse.model.core.IScan.getTargets()" because the return value of "net.openchrom.csd.converter.supplier.cdf.model.VendorChromatogramCSD.getScan(int)" is null
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.chemclipse.model.core.IScan.getTargets()" because the return value of "net.openchrom.csd.converter.supplier.cdf.model.VendorChromatogramCSD.getScan(int)" is null
	at net.openchrom.csd.converter.supplier.cdf.io.support.AbstractCDFChromatogramArrayReader.readPeakTable(AbstractCDFChromatogramArrayReader.java:213)
	at net.openchrom.csd.converter.supplier.cdf.io.ChromatogramReaderCSD.readChromatogram(ChromatogramReaderCSD.java:130)
	at net.openchrom.csd.converter.supplier.cdf.io.ChromatogramReaderCSD.readFile(ChromatogramReaderCSD.java:67)
	at net.openchrom.csd.converter.supplier.cdf.io.ChromatogramReaderCSD.read(ChromatogramReaderCSD.java:49)
	at net.openchrom.csd.converter.supplier.cdf.converter.ChromatogramImportConverterCSD.convert(ChromatogramImportConverterCSD.java:40)
	at org.eclipse.chemclipse.converter.chromatogram.AbstractChromatogramConverter.getChromatogram(AbstractChromatogramConverter.java:238)
	at org.eclipse.chemclipse.converter.chromatogram.AbstractChromatogramConverter.convert(AbstractChromatogramConverter.java:134)
	at org.eclipse.chemclipse.ux.extension.xxd.ui.internal.runnables.ChromatogramImportRunnable.run(ChromatogramImportRunnable.java:93)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant