Snappy - Operator GenericRegionMergingOp

Hi, I am creating a function to call the GenericRegionMergingOp operator.
The parameters are all set:

[totalIterationsForSecondSegmentation=50, regionMergingCriterion=Best Fitting, threshold=100.0, sourceBandNames=[Ljava.lang.String;@6e730be6, mergingCostCriterion=Spring]
(also tried with a string where the bandnames are separated by comma)

Both run (no errors) and create an empty image.
I have tried other operators (like KMeansClusterAnalysis) and they work fine.
I have tried the segmentation with my image within SNAP without problem.

Anyone has GenericRegionMergingOp working? Any clues on how I can find out what the problem is?

Thank you

A post was merged into an existing topic: Snappy - GenericRegionMergingOp