Bug 784238 - [ovirt-reports] - Reports - GUI Shows error when ovirt_history is empty
Summary: [ovirt-reports] - Reports - GUI Shows error when ovirt_history is empty
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-reports
Version: unspecified
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Yaniv Lavi
QA Contact: David Botzer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-24 11:29 UTC by David Botzer
Modified: 2014-01-14 00:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-24 11:56:53 UTC
oVirt Team: ---


Attachments (Terms of Use)
crash (24.62 KB, text/plain)
2012-01-24 11:29 UTC, David Botzer
no flags Details

Description David Botzer 2012-01-24 11:29:58 UTC
Created attachment 557191 [details]
crash

Description of problem:
After I create the ovirt_history db (create_db.sh) and start setting up the ovirt-engine (adding host)
I try to connect with jasperserver GUI and it crashes when I open any report

(Happens on the ovirt-report Host)

Version-Release number of selected component (if applicable):
ovirt-engine-3.0.0_0001-1.3 , ovirt-report 3.0

How reproducible:
always

Steps to Reproduce:
1.install clean ovirt-engine
2.create the ovirt_history db
3.add DC+Cluster+Host
4. Open reports GUI

Actual results:
the GUI gives ERROR when trying to run any report

Expected results:
should not crash

Additional info:
See attached

com.jaspersoft.jasperserver.api.JSException: jsexception.error.creating.connection
Error Trace

com.jaspersoft.jasperserver.api.JSException: jsexception.error.creating.connection at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.JdbcDataSourceService.createConnection(JdbcDataSourceService.java:63) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.BaseJdbcDataSource.setReportParameterValues(BaseJdbcDataSource.java:49) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.JdbcDataSourceService.setReportParameterValues(JdbcDataSourceService.java:68) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeQuery(EngineServiceImpl.java:1049) at

Comment 1 Yaniv Lavi 2012-01-24 11:56:53 UTC
You didn't set the data source.



yaniv

Comment 2 David Botzer 2012-01-24 12:06:05 UTC
I didnt needed to do so, since I didnt changed anything,
The data source was already confogured correctly,
ovirt-report is on host 97-12 & engine is 97.47

jdbc:postgresql://<engine>:5432/ovirt_history

Shell I reopen ?


Note You need to log in before you can comment on or make changes to this bug.