IdAnalysis analysis = mgr.getSchema().analyzeId( getOriginalId() ); idKernels = analysis.getIdKernels(); if ( !analysis.getFeatureType().getName().equals( ftMapping.getFeatureType() ) ) { String msg = "Cannot insert feature with id '" + getOriginalId() + "' and id generation mode 'UseExisting'. " + "Id does not match configured feature id pattern.";