Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » genReport create pdf even when exception
genReport create pdf even when exception [message #1763721] Fri, 19 May 2017 03:48 Go to next message
charles candy is currently offline charles candyFriend
Messages: 24
Registered: March 2013
Junior Member
Hi,

I had batch generating report pdf and excel . sometime when no data , it will still generate the pdf.

recently because of someone change the db IP, the batch suppose to failed still keep generate pdf and excel with only master page.


is there a way to prevent generate file ?

I try run view report as pdf on eclipse , no error show up still the pdf generated with only master page .




Re: genReport create pdf even when exception [message #1763737 is a reply to message #1763721] Fri, 19 May 2017 08:32 Go to previous message
charles candy is currently offline charles candyFriend
Messages: 24
Registered: March 2013
Junior Member
it look like birt continue the process even though connection to db failed . I can see more message when i try output xlsx

Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: Could not connect: Access denied for user 'user2'@'192.168.56.101' (using password: YES)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:557)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:499)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:384)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:825)
at org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:469)
at org.mariadb.jdbc.Driver.connect(Driver.java:104)
... 32 more

May 19, 2017 10:22:43 AM uk.co.spudsoft.birt.emitters.excel.framework.Logger warn
WARNING: Not visiting class org.eclipse.birt.report.engine.content.impl.TableContent
May 19, 2017 10:22:43 AM uk.co.spudsoft.birt.emitters.excel.framework.Logger warn
WARNING: Not visiting class org.eclipse.birt.report.engine.content.impl.TableContent
Previous Topic:where is subReport in Birt ?
Next Topic:Meter Chart - Set regions at runtime from Series data
Goto Forum:
  


Current Time: Sat Apr 27 00:07:28 GMT 2024

Powered by FUDForum. Page generated in 0.03265 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top