olá a todos;
estou testando a release 3.4.2s do AdempiereLBR;
windows XP Pro sp2 + Java 1.6.0_10 + PostgreSQL 8.2 ;
fiz a instalação padrão, cadastrei produtos, fornecedores e clientes , criei uma ordem de venda, fiz expedição e faturei;
consegui emitir a nota fiscal usando a tabela lbr_notafiscal ;
gostaria de reimprimir uma nota fiscal, para tanto utilizei a janela “Localização Brasil\Nota Fiscal\Impressão Nota Fiscal”
porém ocorre um erro, segue anexo o log, por favor o que poderia estar errado ?
obrigado
22:43:21.203 VTreePanel.setSelectedNode: Node = Impressão Nota Fiscal [11]
22:43:21.203 AMenu.propertyChange: 1000027 - Impressão Nota Fiscal [11]
22:43:21.218 FormFrame.openForm: AD_Form_ID=1000003 - Class=org.adempierelbr.form.FormNotaFiscal [104]
22:43:21.218 FormNotaFiscal.init: [104]
22:43:21.375 FormNotaFiscal.executeQuery: [104]
22:43:23.718 FormNotaFiscal.actionPerformed: Cmd=Impresso [11]
22:43:23.718 FormNotaFiscal.executeQuery: [11]
22:43:37.578 FormNotaFiscal.actionPerformed: Cmd=Ok [11]
22:43:37.578 FormNotaFiscal.saveSelection: [11]
22:43:37.578 FormNotaFiscal.saveSelection: LBR_NotaFiscal_ID=1000011 [11]
===========> MDocPrint.load: NO Data found for LBR_DocPrint_ID=2000000 [11]
java.lang.Exception
at org.compiere.model.PO.load(PO.java:1227)
at org.compiere.model.PO.load(PO.java:1170)
at org.compiere.model.PO.(PO.java:157)
at org.compiere.model.PO.(PO.java:106)
at org.compiere.model.X_LBR_DocPrint.(X_LBR_DocPrint.java:32)
at org.adempierelbr.model.MDocPrint.(MDocPrint.java:55)
at org.adempierelbr.form.FormNotaFiscal.print(FormNotaFiscal.java:487)
at org.adempierelbr.form.FormNotaFiscal.actionPerformed(FormNotaFiscal.java:447)
at org.compiere.apps.AppsAction.actionPerformed(AppsAction.java:266)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
22:43:37.625 MIssue.create: NO Data found for LBR_DocPrint_ID=2000000 [11]
22:43:37.703 Trx.commit: **** POSave_b20966ba-c420-4e03-83fb-9ef3f1ec4198 [11]
22:43:37.703 Trx.close: POSave_b20966ba-c420-4e03-83fb-9ef3f1ec4198 [11]
22:43:38.218 FormNotaFiscal.getSelection: [11]
===========> MDocPrintForm.setFields: [11]
org.postgresql.util.PSQLException: ERROR: syntax error at or near “null”; State=42601; ErrorCode=0
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:255)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at org.compiere.util.CPreparedStatement.executeQuery(CPreparedStatement.java:121)
at org.adempierelbr.model.MDocPrintForm.setFields(MDocPrintForm.java:91)
at org.adempierelbr.process.ProcPrintNF.print(ProcPrintNF.java:182)
at org.adempierelbr.form.FormNotaFiscal.print(FormNotaFiscal.java:514)
at org.adempierelbr.form.FormNotaFiscal.actionPerformed(FormNotaFiscal.java:447)
at org.compiere.apps.AppsAction.actionPerformed(AppsAction.java:266)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
22:43:38.281 MIssue.create: [11]
22:43:38.328 Trx.commit: **** POSave_8a95bd21-bbde-4d79-a1cc-9bc586a59c0a [11]
22:43:38.328 Trx.close: POSave_8a95bd21-bbde-4d79-a1cc-9bc586a59c0a [11]
===========> FormNotaFiscal.actionPerformed: [11]
java.lang.ArrayIndexOutOfBoundsException: 0
at com.java4less.textprinter.TextPrinter.finishPage(TextPrinter.java:615)
at com.java4less.textprinter.TextPrinter.endJob(TextPrinter.java:1278)
at org.adempierelbr.model.MDocPrint.endJob(MDocPrint.java:119)
at org.adempierelbr.form.FormNotaFiscal.print(FormNotaFiscal.java:522)
at org.adempierelbr.form.FormNotaFiscal.actionPerformed(FormNotaFiscal.java:447)
at org.compiere.apps.AppsAction.actionPerformed(AppsAction.java:266)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
Hospedeiro = Empresa-06 : 1099 (NÃO Ativo)
LAN: Tunnel=false, Objects=false, Process=false
Banco de Dados = Empresa-06 : 5432 / adempiere
Esquema = adempiere
Usuário/Contato = SuperUser
Papel (Função) = Grupo Cli Admin
Empresa = Grupo Cli
Organização = Empresa
Data = 2009-02-26 00:00:00
Impressora = hp deskjet 5550 series
Implementation VClir = ${env.ADEMPIERE_VCliR}
Implementation Version = ${env.ADEMPIERE_VERSION} 20090226-1933
AdempiereHome = \Adempiere
AdempiereProperties = C:\Documents and Settings\Hajime\Adempiere.properties
Language=[Portuguese (BR),Locale=pt_BR,AD_Language=pt_BR,DatePattern=DD/MM/YYYY,DecimalPoint=false]
MClient[1000000-Grupo Cli]
Documentos Multi-Idiomas = true
BaseLanguage = false/false
Java HotSpot™ Client VM 11.0-b15
java.io.tmpdir=C:\DOCUME~1\Hajime\CONFIG~1\Temp\Windows XP 5.1 Service Pack 2
=== Environment === 2145673845
Adempiere® Release 3.4.2s_2008-12-08 -Smart Suite ERP,CRM and SCM- © 1999-2007 Adempiere ®; Implementation: ${env.ADEMPIERE_VERSION} 20090226-1933 - ${env.ADEMPIERE_VCliR}
Empresa-01/192.168.15.100
CConnection[name=Empresa-06{Empresa-06-adempiere-adempiere},AppsHost=Empresa-06,AppsPort=1099,Profile=L,type=PostgreSQL,DBhost=Empresa-06,DBport=5432,DBname=adempiere,BQ=false,FW=false,FWhost=,FWport=0,UID=adempiere,PWD=adempiere]
Database=PostgreSQL - 8.2.9 - Driver =PostgreSQL Native Driver - PostgreSQL 8.2 JDBC3 with SSL (build 504) - via DataSource
DB_PostgreSQL[null]
AppsServerOK=false, DatabaseOK=true
=== Context ===
#AD_Client_ID == 1000000
#AD_Client_Name == Grupo Cli
#AD_Language == pt_BR
#AD_Org_ID == 1000000
#AD_Org_Name == Empresa
#AD_PrintColor_ID == 100
#AD_PrintFont_ID == 130
#AD_PrintPaper_ID == 100
#AD_PrintTableFormat_ID == 100
#AD_Role_ID == 1000000
#AD_Role_Name == Grupo Cli Admin
#AD_Session_ID == 1000158
#AD_User_ID == 100
#AD_User_Name == SuperUser
#C_BP_Group_ID == 1000000
#C_ConversionType_ID == 114
#C_Country_ID == 139
#C_PaymentTerm_ID == 1000000
#C_Region_ID == 142
#C_TaxCategory_ID == 1000000
#C_Tax_ID == 1000001
#C_UOM_ID == 100
#Date == 2009-02-26 00:00:00
#GL_Category_ID == 1000002
#LBR_MatrixPrinter_ID == 1000000
#M_Locator_ID == 1000000
#M_PriceList_ID == 1000000
#M_Product_Category_ID == 1000000
#M_Warehouse_ID == 1000001
#Printer == hp deskjet 5550 series
#R_StatusCategory_ID == 1000000
#R_Status_ID == 1000000
#SalesRep_ID == 100
#ShowAcct == Y
#ShowAdvanced == Y
#ShowTrl == Y
#StdPrecision == 2
#SysAdmin == Y
#User_Level == CO
#User_Org == 0,1000000
#YYYY == Y
$C_AcctSchema_ID == 1000000
$C_Currency_ID == 297
$Element_AC == Y
$Element_BP == Y
$Element_OO == Y
$Element_PR == Y
$HasAlias == Y
0|WindowName == &Menu
2|IsSOTrx == Y
2|WindowName == Impressão Nota Fiscal
AutoCommit == Y
AutoNew == N
P103|Type == S
P143|C_BPartner_ID == 1000000
P143|C_DocTypeTarget_ID == 1000073
P189|DataType == S
P|C_Country_ID == 139
java.naming.provider.url == jnp://Empresa-06:1099
org.adempiere.security.principal == org.compiere.db.SecurityPrincipal@1272cd3
org.compiere.model.DefaultRole == MRole[1000000,Grupo Cli Admin,UserLevel= CO,AD_Client_ID IN(0,1000000),AD_Org_ID IN(0,1000000)]
org.compiere.util.CLogErrorBuffer.errors == [java.util.logging.LogRecord@1a2275c, java.util.logging.LogRecord@183d3de, java.util.logging.LogRecord@1166ec4]
org.compiere.util.CLogErrorBuffer.history == [[Ljava.util.logging.LogRecord;@15b6354, [Ljava.util.logging.LogRecord;@d62dd4, [Ljava.util.logging.LogRecord;@15abfe1]
org.compiere.util.CLogErrorBuffer.issueError == true
org.compiere.util.CLogErrorBuffer.logs == [java.util.logging.LogRecord@eb6e4c, java.util.logging.LogRecord@96569e, java.util.logging.LogRecord@10a9a1, java.util.logging.LogRecord@1f09665, java.util.logging.LogRecord@21dfa1, java.util.logging.LogRecord@1e0dbb6, java.util.logging.LogRecord@178cb51, java.util.logging.LogRecord@16c349e, java.util.logging.LogRecord@f2aa38, java.util.logging.LogRecord@1855788, java.util.logging.LogRecord@135cc8e, java.util.logging.LogRecord@108ab5d, java.util.logging.LogRecord@2a6d5a, java.util.logging.LogRecord@1714a77, java.util.logging.LogRecord@cff259, java.util.logging.LogRecord@2fd667, java.util.logging.LogRecord@a52b44, java.util.logging.LogRecord@1bbaad3, java.util.logging.LogRecord@1cc2562, java.util.logging.LogRecord@1aa70ef, java.util.logging.LogRecord@dc82be, java.util.logging.LogRecord@10bc1d5, java.util.logging.LogRecord@e295d8, java.util.logging.LogRecord@1dbd0c7, java.util.logging.LogRecord@67e8f5, java.util.logging.LogRecord@1ef3229, java.util.logging.LogRecord@c63847, java.util.logging.LogRecord@198f101, java.util.logging.LogRecord@1f681ad, java.util.logging.LogRecord@bbadde, java.util.logging.LogRecord@193eb05, java.util.logging.LogRecord@2ac74f, java.util.logging.LogRecord@832f51, java.util.logging.LogRecord@9788bf, java.util.logging.LogRecord@92d5c0, java.util.logging.LogRecord@f66e9, java.util.logging.LogRecord@12d7308, java.util.logging.LogRecord@db3de8, java.util.logging.LogRecord@1bd581e, java.util.logging.LogRecord@1e4320e, java.util.logging.LogRecord@9251cc, java.util.logging.LogRecord@385cb0, java.util.logging.LogRecord@4d2f21, java.util.logging.LogRecord@15152f9, java.util.logging.LogRecord@1e5d2f, java.util.logging.LogRecord@177f01d, java.util.logging.LogRecord@1351f72, java.util.logging.LogRecord@a37c24, java.util.logging.LogRecord@12b2d25, java.util.logging.LogRecord@1a10b00, java.util.logging.LogRecord@1d94153, java.util.logging.LogRecord@4fcfde, java.util.logging.LogRecord@1d7f901, java.util.logging.LogRecord@1cd479, java.util.logging.LogRecord@c1884e, java.util.logging.LogRecord@1dbf1b0, java.util.logging.LogRecord@d88d07, java.util.logging.LogRecord@1130699, java.util.logging.LogRecord@165ec0, java.util.logging.LogRecord@a6cee5, java.util.logging.LogRecord@1592d22, java.util.logging.LogRecord@1a2275c, java.util.logging.LogRecord@c631dc, java.util.logging.LogRecord@1f3724c, java.util.logging.LogRecord@1d50fde, java.util.logging.LogRecord@104e1ca, java.util.logging.LogRecord@183d3de, java.util.logging.LogRecord@1cad432, java.util.logging.LogRecord@1314cac, java.util.logging.LogRecord@1a0ba0c, java.util.logging.LogRecord@1166ec4, java.util.logging.LogRecord@1c211b3, java.util.logging.LogRecord@18207f, java.util.logging.LogRecord@1fd8876, java.util.logging.LogRecord@a2e43, java.util.logging.LogRecord@633e10, java.util.logging.LogRecord@17f95de, java.util.logging.LogRecord@1483b35]
=== System ===
awt.toolkit=sun.awt.windows.WToolkit
com.mchange.v2.log.MLog=com.mchange.v2.log.FallbackMLog
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=customization.jar;patches.jar;Adempiere.jar;AdempiereCLib.jar;CompiereJasperReqs.jar
java.class.version=50.0
java.Clirsed.dirs=C:\Arquivos de programas\Java\jre6\lib\Clirsed
java.ext.dirs=C:\Arquivos de programas\Java\jre6\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home=C:\Arquivos de programas\Java\jre6
java.io.tmpdir=C:\DOCUME~1\Hajime\CONFIG~1\Temp
java.library.path=C:\Arquivos de programas\Java\jre6\launch4j-tmp;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Arquivos de programas\QuickTime\QTSystem;\bin
java.runtime.name=Java™ SE Runtime Environment
java.runtime.version=1.6.0_10-b33
java.specification.name=Java Platform API Specification
java.specification.vClir=Sun Microsystems Inc.
java.specification.version=1.6
java.vClir=Sun Microsystems Inc.
java.vClir.url=http://java.sun.com/
java.vClir.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_10
java.vm.info=mixed mode, sharing
java.vm.name=Java HotSpot™ Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vClir=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vClir=Sun Microsystems Inc.
java.vm.version=11.0-b15
line.separator=
os.arch=x86
os.name=Windows XP
os.version=5.1
path.separator=;
sun.arch.data.model=32
sun.boot.class.path=C:\Arquivos de programas\Java\jre6\lib\resources.jar;C:\Arquivos de programas\Java\jre6\lib\rt.jar;C:\Arquivos de programas\Java\jre6\lib\sunrsasign.jar;C:\Arquivos de programas\Java\jre6\lib\jsse.jar;C:\Arquivos de programas\Java\jre6\lib\jce.jar;C:\Arquivos de programas\Java\jre6\lib\charsets.jar;C:\Arquivos de programas\Java\jre6\classes
sun.boot.library.path=C:\Arquivos de programas\Java\jre6\bin
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=Service Pack 2
user.country=BR
user.dir=C:\Adempiere\lib
user.home=C:\Documents and Settings\Hajime
user.language=pt
user.name=Hajime
user.timezone=America/Sao_Paulo
user.variant=