Problems encountered in processing landsat8/9 images with C2RCC

Hi all,

I encountered the following problems when using C2RCC to process landsat8/9 images.:

The input file is: LC09_L1TP_118038_20220118_20220118_02_T1_MTL.txt


Does anyone know what are the problems?
Thank you!

You should consult the FAQ document as it will help you formulate a more useful post.

You need to provide enough detail to allow others to reproduce the error: OS Version, software versions of SNAP and whether updates have been applied. If you are not using SNAP 9 you should try updating.

The error popup is just a generic “something went wrong in Java”. You should attach the messages.log file, which may provide useful details for the error. You appear to be using Windows. If E: is an external drive you should mention which filesystem format is used (because some Windows tools require NTFS filesystems).

Hi gnwiii,

Thank you very much for your answer!

I use the windows10 operating system, and the E disk is a local storage disk. Snap software has been updated to the latest version of snap 9, and all applications have been updated.

Here are the messages with errors Log file, please have a look:


at org.esa.s3tbx.c2rcc.landsat.LandsatMetadata.collectionNumber(

at org.esa.s3tbx.c2rcc.landsat.LandsatMetadata.(

at org.esa.s3tbx.c2rcc.landsat.C2rccLandsat8Operator.prepareInputs(

at org.esa.snap.core.gpf.pointop.PointOperator.initialize(

at org.esa.snap.core.gpf.internal.OperatorContext.initializeOperator(

at org.esa.snap.core.gpf.internal.OperatorContext.getTargetProduct(

at org.esa.snap.core.gpf.Operator.getTargetProduct(

at org.esa.snap.core.gpf.GPF.createProductNS(

at org.esa.snap.core.gpf.GPF.createProduct(

at org.esa.snap.core.gpf.GPF.createProduct(

at org.esa.snap.core.gpf.ui.DefaultSingleTargetProductDialog.createTargetProduct(

[catch] at org.esa.snap.core.gpf.ui.SingleTargetProductDialog.onApply(

at org.esa.snap.ui.AbstractDialog.lambda$initUI$6(

at javax.swing.AbstractButton.fireActionPerformed(

at javax.swing.AbstractButton$Handler.actionPerformed(

at javax.swing.DefaultButtonModel.fireActionPerformed(

at javax.swing.DefaultButtonModel.setPressed(

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(

at java.awt.AWTEventMulticaster.mouseReleased(

at java.awt.Component.processMouseEvent(

at javax.swing.JComponent.processMouseEvent(

at java.awt.Component.processEvent(

at java.awt.Container.processEvent(

at java.awt.Component.dispatchEventImpl(

at java.awt.Container.dispatchEventImpl(

at java.awt.Component.dispatchEvent(

at java.awt.LightweightDispatcher.retargetMouseEvent(

at java.awt.LightweightDispatcher.processMouseEvent(

at java.awt.LightweightDispatcher.dispatchEvent(

at java.awt.Container.dispatchEventImpl(

at java.awt.Window.dispatchEventImpl(

at java.awt.Component.dispatchEvent(

at java.awt.EventQueue.dispatchEventImpl(

at java.awt.EventQueue.access$500(

at java.awt.EventQueue$

at java.awt.EventQueue$

at Method)



at java.awt.EventQueue$

at java.awt.EventQueue$

at Method)


at java.awt.EventQueue.dispatchEvent(

at org.netbeans.core.TimableEventQueue.dispatchEvent(

at java.awt.EventDispatchThread.pumpOneEventForFilters(

at java.awt.EventDispatchThread.pumpEventsForFilter(

at java.awt.EventDispatchThread.pumpEventsForHierarchy(

at java.awt.EventDispatchThread.pumpEvents(

at java.awt.EventDispatchThread.pumpEvents(


Do you know the reason for the problem?

thank you!


it seems the metadata format is different than expected.
Can you attach the *MTL.txt file?

I’ve tested with some other scene “LC09_L1TP_140047_20220128_20220128_02_T1” and the processor worked.

Anyway, the processor has not been updated for L9 data. So even if you get results be cautious with the results.

I’ve noted this in our issue tracker.
[SIIITBX-423] Using Landsat9 with C2RCC causes a NullPointerException - JIRA (

1 Like