Login Registre-se
Gerar DANFE pelo XML  XML
Índice dos Fóruns » NF-e / NFS-e / CT-e / CF-e / Certificados Digitais
Autor Mensagem
jjordy1

JavaC Membro

Membro desde: 16/09/2015 09:22:00
Mensagens: 13
Offline

mkraulich: vou tentar logo mais posto o resultado !!
macega

JavaC Membro

Membro desde: 08/07/2015 10:17:16
Mensagens: 46
Offline

desculpe a demora em postas.

tive um proplemas recente com o iReport no netbeans que foi o seginte ma minha maquina funcionava prefeito mas mas maquina dava erro de null pont...
erro o nome do relatorio que estava minusculo

tipo



deu trabalho que so gerava erro fora do netbeans ate chequei a instalar o netbeans na maquina que apresentava erro
jjordy1

JavaC Membro

Membro desde: 16/09/2015 09:22:00
Mensagens: 13
Offline

desculpe a demora em postas.

tive um proplemas recente com o iReport no netbeans que foi o seginte ma minha maquina funcionava prefeito mas mas maquina dava erro de null pont...
erro o nome do relatorio que estava minusculo

tipo

view plaincopy to clipboardprint?
// errado mas funcionava no netbeans
FiltroDataListaDeProdutos.main(new String[]{"/br/rel/produtos/vendasMes.jasper", "ANO"});
// certo
FiltroDataListaDeProdutos.main(new String[]{"/br/rel/produtos/VendasMes.jasper", "ANO"});


deu trabalho que so gerava erro fora do netbeans ate chequei a instalar o netbeans na maquina que apresentava erro


no meu aplicativo eu não uso o .Jarpes eu compilo o Jrxml dentro do meu código, no netbeans ele consegue compilar e rodar o relatório mais fora do netbeans não roda !!
macega

JavaC Membro

Membro desde: 08/07/2015 10:17:16
Mensagens: 46
Offline

só não copilo ele direto porque fica um pouco lento e não tem o que mudar em tempo de execução, mas vamos la
tem como postar o código que esta usando com os imports.
jjordy1

JavaC Membro

Membro desde: 16/09/2015 09:22:00
Mensagens: 13
Offline

só não copilo ele direto porque fica um pouco lento e não tem o que mudar em tempo de execução, mas vamos la
tem como postar o código que esta usando com os imports.


Eu tentei fazer isso mais quando eu boto o .jasper não roda, eu já estou desistindo de criar esse gerador de dange

ta ai o codigo




Desde de já agradeço amigo pela atenção
dvcmac

JavaC Membro

Membro desde: 26/03/2015 09:25:27
Mensagens: 11
Offline

jjordy1 wrote:Bom dia galera,

eu estou precisando fazer um gerado de DANFE, eu ate peguei o código daqui e o arquivo danfeR.jrxml.

quando eu rodo o programinha no netbeans ele funciona legal !!! porem quando eu construo o .jar ele da um erro !!

me ajudem ...

erro: net.sf.jasperreports.engine.JRException: Error compiling report java source files: caminho do projeto\dist\danfe_1442407494683_754301.java
java.lang.NullPointerException

já fiz de tudo, pesquisei em todos fórum mas não consigo resolver esse mistério.



Amigo como vc fez para resolver? Estou com o mesmo problema, quando executo o codigo pelo netbeans funciona, quando vou direto no dist da erro nullpointerexeception.


[Email]
macega

JavaC Membro

Membro desde: 08/07/2015 10:17:16
Mensagens: 46
Offline

o meu danfe to gerando apartir do danfeR.jrxml
mas já alterei ele algumas vesses posso te passar o link para você testar ai
https://drive.google.com/open?id=0B1_nXJkF5YiBMTZ6MXNHaDVGaGs

pelo erra que esta ai o arquivo nao esta sendo encontrado

eu chamo o meu relatorio assim

Esta mensagem foi editada 2 vezes. Última atualização foi em 27/07/2016 16:26:11

dvcmac

JavaC Membro

Membro desde: 26/03/2015 09:25:27
Mensagens: 11
Offline

Oi já resolvi!


Obrigado



macega wrote:o meu danfe to gerando apartir do danfeR.jrxml
mas já alterei ele algumas vesses posso te passar o link para você testar ai
https://drive.google.com/open?id=0B1_nXJkF5YiBMTZ6MXNHaDVGaGs

pelo erra que esta ai o arquivo nao esta sendo encontrado

eu chamo o meu relatorio assim
[Email]
vlucas981

JavaC Membro

Membro desde: 22/03/2016 15:02:15
Mensagens: 96
Offline

macega wrote:o meu danfe to gerando apartir do danfeR.jrxml
mas já alterei ele algumas vesses posso te passar o link para você testar ai
https://drive.google.com/open?id=0B1_nXJkF5YiBMTZ6MXNHaDVGaGs

pelo erra que esta ai o arquivo nao esta sendo encontrado

eu chamo o meu relatorio assim



Amigo, baixei o arquivo jrxml que você anexou aqui no tópico, porém quando eu o implemento em minha classe(a mesma que o maciel disponibilizou em outro tópico), me deparo com 100 erros:


log4j:WARN No appenders could be found for logger (net.sf.jasperreports.engine.xml.JRXmlDigesterFactory).
log4j:WARN Please initialize the log4j system properly.
| ERROR: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:535: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Hora_Saida.getValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_Hora_Saida.getValue())) : null); //$JR_EXPR_ID=32$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:545: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Data_Saida.getValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_Data_Saida.getValue())) : null); //$JR_EXPR_ID=34$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:557: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_DataEmissao.getValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_DataEmissao.getValue())) : null); //$JR_EXPR_ID=36$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:584: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorBase.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorBase.getValue()))); //$JR_EXPR_ID=41$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:589: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorICMS.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorICMS.getValue()))); //$JR_EXPR_ID=42$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:594: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorProdutos.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorProdutos.getValue()))); //$JR_EXPR_ID=43$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:599: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorBaseST.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorBaseST.getValue()))); //$JR_EXPR_ID=44$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:604: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorOutro.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorOutro.getValue()))); //$JR_EXPR_ID=45$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:609: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorNF.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorNF.getValue()))); //$JR_EXPR_ID=46$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:614: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorIPI.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorIPI.getValue()))); //$JR_EXPR_ID=47$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:619: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorSeguro.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorSeguro.getValue()))); //$JR_EXPR_ID=48$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:624: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorFrete.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorFrete.getValue()))); //$JR_EXPR_ID=49$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:629: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorDesconto.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorDesconto.getValue()))); //$JR_EXPR_ID=50$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:672: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Trans_PesoB.getValue()) != null ? Double.parseDouble(((java.lang.String)field_Trans_PesoB.getValue())) : null); //$JR_EXPR_ID=58$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:677: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Trans_PesoL.getValue()) != null ? Double.parseDouble(((java.lang.String)field_Trans_PesoL.getValue())) : null); //$JR_EXPR_ID=59$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:692: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorST.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorST.getValue()))); //$JR_EXPR_ID=62$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:727: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO1.getValue())); //$JR_EXPR_ID=69$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:732: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR1.getValue())); //$JR_EXPR_ID=70$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:742: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO2.getValue())); //$JR_EXPR_ID=72$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:747: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR2.getValue())); //$JR_EXPR_ID=73$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:757: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO3.getValue())); //$JR_EXPR_ID=75$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:762: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR3.getValue())); //$JR_EXPR_ID=76$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:772: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO4.getValue())); //$JR_EXPR_ID=78$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:777: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR4.getValue())); //$JR_EXPR_ID=79$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:787: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO5.getValue())); //$JR_EXPR_ID=81$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:792: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR5.getValue())); //$JR_EXPR_ID=82$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:802: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO6.getValue())); //$JR_EXPR_ID=84$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:807: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR6.getValue())); //$JR_EXPR_ID=85$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:817: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO7.getValue())); //$JR_EXPR_ID=87$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:822: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR7.getValue())); //$JR_EXPR_ID=88$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:832: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO8.getValue())); //$JR_EXPR_ID=90$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:837: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR8.getValue())); //$JR_EXPR_ID=91$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:847: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO9.getValue())); //$JR_EXPR_ID=93$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:852: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR9.getValue())); //$JR_EXPR_ID=94$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:862: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO10.getValue())); //$JR_EXPR_ID=96$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:867: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR10.getValue())); //$JR_EXPR_ID=97$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:926: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_Quantidade.getValue()))); //$JR_EXPR_ID=105$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:931: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_Valor.getValue()))); //$JR_EXPR_ID=106$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:936: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_Total.getValue()))); //$JR_EXPR_ID=107$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:941: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_AliqICMS.getValue()))); //$JR_EXPR_ID=108$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:946: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_AliqIPI.getValue()))); //$JR_EXPR_ID=109$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:956: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_BC.getValue()))); //$JR_EXPR_ID=111$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:961: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_ValorIPI.getValue()))); //$JR_EXPR_ID=112$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:966: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_ValorICMS.getValue()))); //$JR_EXPR_ID=113$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:986: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ISSQN_Total.getValue()) != null ? Double.parseDouble(((java.lang.String)field_ISSQN_Total.getValue())) : null); //$JR_EXPR_ID=117$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:991: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ISSQN_Base.getValue()) != null ? Double.parseDouble(((java.lang.String)field_ISSQN_Base.getValue())) : null); //$JR_EXPR_ID=118$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:996: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ISSQN_Valor.getValue()) != null ? Double.parseDouble(((java.lang.String)field_ISSQN_Valor.getValue())) : null); //$JR_EXPR_ID=119$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1201: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Hora_Saida.getOldValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_Hora_Saida.getOldValue())) : null); //$JR_EXPR_ID=32$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1211: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Data_Saida.getOldValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_Data_Saida.getOldValue())) : null); //$JR_EXPR_ID=34$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1223: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_DataEmissao.getOldValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_DataEmissao.getOldValue())) : null); //$JR_EXPR_ID=36$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1250: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorBase.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorBase.getOldValue()))); //$JR_EXPR_ID=41$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1255: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorICMS.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorICMS.getOldValue()))); //$JR_EXPR_ID=42$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1260: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorProdutos.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorProdutos.getOldValue()))); //$JR_EXPR_ID=43$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1265: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorBaseST.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorBaseST.getOldValue()))); //$JR_EXPR_ID=44$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1270: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorOutro.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorOutro.getOldValue()))); //$JR_EXPR_ID=45$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1275: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorNF.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorNF.getOldValue()))); //$JR_EXPR_ID=46$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1280: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorIPI.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorIPI.getOldValue()))); //$JR_EXPR_ID=47$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1285: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorSeguro.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorSeguro.getOldValue()))); //$JR_EXPR_ID=48$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1290: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorFrete.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorFrete.getOldValue()))); //$JR_EXPR_ID=49$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1295: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorDesconto.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorDesconto.getOldValue()))); //$JR_EXPR_ID=50$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1338: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Trans_PesoB.getOldValue()) != null ? Double.parseDouble(((java.lang.String)field_Trans_PesoB.getOldValue())) : null); //$JR_EXPR_ID=58$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1343: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Trans_PesoL.getOldValue()) != null ? Double.parseDouble(((java.lang.String)field_Trans_PesoL.getOldValue())) : null); //$JR_EXPR_ID=59$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1358: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorST.getOldValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorST.getOldValue()))); //$JR_EXPR_ID=62$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1393: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO1.getValue())); //$JR_EXPR_ID=69$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1398: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR1.getValue())); //$JR_EXPR_ID=70$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1408: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO2.getValue())); //$JR_EXPR_ID=72$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1413: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR2.getValue())); //$JR_EXPR_ID=73$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1423: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO3.getValue())); //$JR_EXPR_ID=75$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1428: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR3.getValue())); //$JR_EXPR_ID=76$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1438: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO4.getValue())); //$JR_EXPR_ID=78$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1443: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR4.getValue())); //$JR_EXPR_ID=79$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1453: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO5.getValue())); //$JR_EXPR_ID=81$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1458: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR5.getValue())); //$JR_EXPR_ID=82$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1468: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO6.getValue())); //$JR_EXPR_ID=84$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1473: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR6.getValue())); //$JR_EXPR_ID=85$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1483: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO7.getValue())); //$JR_EXPR_ID=87$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1488: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR7.getValue())); //$JR_EXPR_ID=88$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1498: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO8.getValue())); //$JR_EXPR_ID=90$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1503: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR8.getValue())); //$JR_EXPR_ID=91$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1513: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO9.getValue())); //$JR_EXPR_ID=93$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1518: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR9.getValue())); //$JR_EXPR_ID=94$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1528: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.util.Date)parameter_FAT_VENCIMENTO10.getValue())); //$JR_EXPR_ID=96$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1533: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.Double)parameter_FAT_VALOR10.getValue())); //$JR_EXPR_ID=97$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1592: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_Quantidade.getOldValue()))); //$JR_EXPR_ID=105$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1597: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_Valor.getOldValue()))); //$JR_EXPR_ID=106$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1602: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_Total.getOldValue()))); //$JR_EXPR_ID=107$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1607: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_AliqICMS.getOldValue()))); //$JR_EXPR_ID=108$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1612: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_AliqIPI.getOldValue()))); //$JR_EXPR_ID=109$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1622: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_BC.getOldValue()))); //$JR_EXPR_ID=111$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1627: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_ValorIPI.getOldValue()))); //$JR_EXPR_ID=112$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1632: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(Double.parseDouble(((java.lang.String)field_Prod_ValorICMS.getOldValue()))); //$JR_EXPR_ID=113$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1652: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ISSQN_Total.getOldValue()) != null ? Double.parseDouble(((java.lang.String)field_ISSQN_Total.getOldValue())) : null); //$JR_EXPR_ID=117$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1657: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ISSQN_Base.getOldValue()) != null ? Double.parseDouble(((java.lang.String)field_ISSQN_Base.getOldValue())) : null); //$JR_EXPR_ID=118$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1662: error: incompatible types: Double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ISSQN_Valor.getOldValue()) != null ? Double.parseDouble(((java.lang.String)field_ISSQN_Valor.getOldValue())) : null); //$JR_EXPR_ID=119$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1867: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Hora_Saida.getValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_Hora_Saida.getValue())) : null); //$JR_EXPR_ID=32$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1877: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_Data_Saida.getValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_Data_Saida.getValue())) : null); //$JR_EXPR_ID=34$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1889: error: incompatible types: Date cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_DataEmissao.getValue()) != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").parse(((java.lang.String)field_DataEmissao.getValue())) : null); //$JR_EXPR_ID=36$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1916: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorBase.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorBase.getValue()))); //$JR_EXPR_ID=41$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1921: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorICMS.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorICMS.getValue()))); //$JR_EXPR_ID=42$
^
/home/victor/Documentos/Netbeans Projects/NFeTeste/NFeTeste/danfe_1473769539261_235752.java:1926: error: incompatible types: double cannot be converted to String
value = (java.lang.String)(((java.lang.String)field_ValorProdutos.getValue()) == null ? 0.00 : Double.parseDouble(((java.lang.String)field_ValorProdutos.getValue()))); //$JR_EXPR_ID=43$
^
100 errors

| ERROR: java.lang.NullPointerException



Você pode me ajudar?
macega

JavaC Membro

Membro desde: 08/07/2015 10:17:16
Mensagens: 46
Offline

pelo erro mostrado você esta passando um valor null
ERROR: java.lang.NullPointerException

verifica se o xml esta sendo carregado

qualquer coisas posta o código ai para gente dar uma olhada
 
Índice dos Fóruns » NF-e / NFS-e / CT-e / CF-e / Certificados Digitais
Ir para:   
Powered by JForum 2.1.9 © JForum Team