{"record":{"id":"39c8ec184bd89deb","repo":"pentaho/pentaho-kettle","slug":"regexevalmeta-exception-unabletosavestepinfo","errorCode":null,"errorMessage":"RegexEvalMeta.Exception.UnableToSaveStepInfo","messagePattern":"RegexEvalMeta\\.Exception\\.UnableToSaveStepInfo","errorType":"exception","errorClass":"KettleException","httpStatus":null,"severity":"error","filePath":"engine/src/main/java/org/pentaho/di/trans/steps/regexeval/RegexEvalMeta.java","lineNumber":602,"sourceCode":"          rep.saveStepAttribute( id_transformation, id_step, i, \"field_trimtype\", ValueMetaString\n            .getTrimTypeCode( fieldTrimType[i] ) );\n        }\n      }\n\n      rep.saveStepAttribute( id_transformation, id_step, \"resultfieldname\", resultfieldname );\n      rep.saveStepAttribute( id_transformation, id_step, \"usevar\", usevar );\n      rep.saveStepAttribute( id_transformation, id_step, \"allowcapturegroups\", allowcapturegroups );\n      rep.saveStepAttribute( id_transformation, id_step, \"replacefields\", replacefields );\n      rep.saveStepAttribute( id_transformation, id_step, \"canoneq\", canoneq );\n      rep.saveStepAttribute( id_transformation, id_step, \"caseinsensitive\", caseinsensitive );\n      rep.saveStepAttribute( id_transformation, id_step, \"comment\", comment );\n      rep.saveStepAttribute( id_transformation, id_step, \"dotall\", dotall );\n      rep.saveStepAttribute( id_transformation, id_step, \"multiline\", multiline );\n      rep.saveStepAttribute( id_transformation, id_step, \"unicode\", unicode );\n      rep.saveStepAttribute( id_transformation, id_step, \"unix\", unix );\n      rep.saveStepAttribute( id_transformation, id_step, \"matcher\", matcher );\n    } catch ( Exception e ) {\n      throw new KettleException( BaseMessages.getString( PKG, \"RegexEvalMeta.Exception.UnableToSaveStepInfo\" )\n        + id_step, e );\n    }\n  }\n\n  public void check( List<CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta,\n    RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info, VariableSpace space,\n    Repository repository, IMetaStore metaStore ) {\n\n    CheckResult cr;\n\n    if ( prev != null && prev.size() > 0 ) {\n      cr =\n        new CheckResult( CheckResult.TYPE_RESULT_OK, BaseMessages.getString(\n          PKG, \"RegexEvalMeta.CheckResult.ConnectedStepOK\", String.valueOf( prev.size() ) ), stepMeta );\n      remarks.add( cr );\n    } else {\n      cr =\n        new CheckResult( CheckResult.TYPE_RESULT_ERROR, BaseMessages.getString(","sourceCodeStart":584,"sourceCodeEnd":620,"githubUrl":"https://github.com/pentaho/pentaho-kettle/blob/f3058517a153da500bf4551f46d79b91bf8ec552/engine/src/main/java/org/pentaho/di/trans/steps/regexeval/RegexEvalMeta.java#L584-L620","documentation":"RegexEvalMeta.saveRep persists step attributes (dotall, multiline, unicode, unix, matcher, fields) to the repository; any failure is wrapped in a KettleException 'RegexEvalMeta.Exception.UnableToSaveStepInfo' plus the id_step. Saving the transformation's step configuration failed.","triggerScenarios":"Calling saveRep via saving a transformation to a repository when the repository write fails: connection loss, permission problems, schema errors.","commonSituations":"Repository database read-only or out of space; credentials lacking INSERT/UPDATE rights on step attribute tables; network drop mid-save.","solutions":["Check repository connectivity and retry the save.","Verify the repository user has INSERT/UPDATE privileges on the step attribute tables.","Check database disk space and read-only status.","Look at the chained cause for the concrete SQL error."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":["repository","persistence","save"],"backgroundTag":"database-write-failed","analyzedSha":"f3058517a153da500bf4551f46d79b91bf8ec552","analyzedAt":"2026-09-13T14:04:16.340Z","contentChangedAt":"2026-09-13T14:04:16.340Z","schemaVersion":2},"datasetVersion":"2026-09-20T23:17:15.980Z"}