Olá, estou tentando gerar o boleto do bradesco, porém na hora de gerar está lançando a seguinte exception:
br.com.caelum.stella.boleto.exception.GeracaoBoletoException: br.com.caelum.stella.boleto.exception.GeracaoBoletoException: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : nossoNumeroECodDocumento] with root cause
java.util.IllegalFormatConversionException: d != java.lang.String
Verifiquei que o erro está ocorrendo na linha 83 da classe br.com.caelum.stella.boleto.bancos.Bradesco (versão 2.1.0):
StringBuilder builder = new StringBuilder().append( String.format("%02d", emissor.getCarteira()));
Obs: O método emissor.getCarteira() está retornando "06"
Estou fazendo algo de errado?
Abraços