fixed null pointer exception
dpp parameters are now checked before every module is created
might have been fixed in earlier commits, eclipse did not change code
when switching git branches or adding new lines
package net.sf.mzmine.modules.visualization.spectra.simplespectra.datapointprocessing;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import java.util.logging.Logger;
-import cern.colt.Arrays;
import net.sf.mzmine.datamodel.DataPoint;
import net.sf.mzmine.main.MZmineCore;
import net.sf.mzmine.modules.MZmineProcessingStep;
@@ -181,7 +181,7 @@ public class DataPointProcessingController {
if(!step.getParameterSet().checkParameterValues(err)) {
setResults(ProcessedDataPoint.convert(dp));
setStatus(ControllerStatus.CANCELED);
- logger.warning("Not all parameters set." + Arrays.toString(err.toArray(new String[0])));
+ logger.warning(step.getModule().getName() + " Not all parameters set." + Arrays.toString(err.toArray(new String[0])));
return;
}
