Hello Red1,
I just integrated Jasper Report with Compiere. I follow the manual I get from Compiere Utils: http://sourceforge.net/project/showfile ... _id=260196
But everytime I run the report I get this error:
VTreePanel.setSelectedNode = myJasper
AMenu => 1000019 myJasper
ProcessDialog - Process=1000009; SOTrx=false
ProcessDialog.init
ProcessCtl.process - WindowNo=2 - ProcessInfo[myJasper,Process_ID=1000009,Error=false,Summary=,Log=0]
ProcessCtl.getInstanceID = 1000774
ProcessParameter.initDialog
ProcessCtl.run - AD_PInstance_ID=1000774, Record_ID=0
ProcessCtl.startClass - org.mycompiere.report.ReportStarter - ProcessInfo[myJasper,Process_ID=1000009,AD_PInstance_ID=1000774,Error=false,Summary=,Log=0]
===========> ReportStarter.startProcess: Can not run report - java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ServerError: Unexpected Error; nested exception is:
java.lang.ExceptionInInitializerError > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292) > sun.rmi.transport.Transport$1.run(Transport.java:148) > java.security.AccessController.doPrivileged(Native Method) > sun.rmi.transport.Transport.serviceCall(Transport.java:144) > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) > java.lang.Thread.run(Thread.java:534) > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) > sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) > org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) > org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135) > org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96) > org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) > org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) > org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100) > org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) > $Proxy3.runReport(Unknown Source) > org.mycompiere.report.ReportStarter.startProcess(ReportStarter.java:56) > org.compiere.apps.ProcessCtl.startClass(ProcessCtl.java:168) > org.compiere.apps.ProcessCtl.run(ProcessCtl.java:338)
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ServerError: Unexpected Error; nested exception is:
java.lang.ExceptionInInitializerError
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at MLookupCache: cacheReset - WindowNo=2 - 0 -> 0
How can I successfully integrated Compiere and Jasper Report?
What should actually happen when I click the report process- {Should the report just like the one like I create using iReport and view in pdf format it directly print to printer.}
Any help and suggestion is appreciated..Thank you..
Regards..
<< aMir >>