Skip to:
1.Nevada example data, L2A, downloaded from Example Data Products - EnMAP
2.Dragged and dropped into SNAP, loads well
3.HSV visualizations (with default parameters) returns this error (Details copied in the Notes of this slide):
4.I close and reopen SNAP, reload image, re-visualize (same default parameters). This time I get all correct. I could not replicate it.
java.lang.NullPointerException
at org.esa.snap.rcp.spectrum.SpectrumTopComponent$ProductNodeHandler.removeBandFromSpectra(SpectrumTopComponent.java:1256)
at org.esa.snap.rcp.spectrum.SpectrumTopComponent$ProductNodeHandler.nodeRemoved(SpectrumTopComponent.java:1228)
at org.esa.snap.core.datamodel.Product.fireEvent(Product.java:414)
SNAP-3793 On GitHub
OK I also have not come across this crash again with SNAP11 RC2
The crash cannot be reproduced. Nevertheless, I added some checks for null at that code part.
1.Nevada example data, L2A, downloaded from Example Data Products - EnMAP
2.Dragged and dropped into SNAP, loads well
3.HSV visualizations (with default parameters) returns this error (Details copied in the Notes of this slide):
4.I close and reopen SNAP, reload image, re-visualize (same default parameters). This time I get all correct. I could not replicate it.
java.lang.NullPointerException
at org.esa.snap.rcp.spectrum.SpectrumTopComponent$ProductNodeHandler.removeBandFromSpectra(SpectrumTopComponent.java:1256)
at org.esa.snap.rcp.spectrum.SpectrumTopComponent$ProductNodeHandler.nodeRemoved(SpectrumTopComponent.java:1228)
at org.esa.snap.core.datamodel.Product.fireEvent(Product.java:414)