Getting error while retrieving data from Cassandra in JasperSoft Studio

0

I have to generate Jasper Report using JasperSoft Studo using data from Cassandra.

I created connection between JasperSoft Studio 6.2.2 and Apache Cassandra 3.5 successfully, but I am getting following error while retrieving data from Cassandra.

(CassandraDataAdapterService.java:40) contributeParameters(..) : hostname: 127.0.0.1
(CassandraDataAdapterService.java:40) contributeParameters(..) : port:9042
(CassandraDataAdapterService.java:40) contributeParameters(..) : keyspace:hr
(CassandraDataAdapterService.java:40) contributeParameters(..) : username: cassandra
(CassandraDataAdapterService.java:40) contributeParameters(..) : password: cassandra
java.lang.NullPointerException
at com.jaspersoft.connectors.cassandra.CassandraFieldsProvider.getFields(CassandraFieldsProvider.java:80)
at com.jaspersoft.studio.data.cassandra.CassandraFieldsProvider.getFields(CassandraFieldsProvider.java:46)
at com.jaspersoft.studio.data.cassandra.CassandraDataAdapterDescriptor.getFields(CassandraDataAdapterDescriptor.java:68)
at com.jaspersoft.studio.property.dataset.dialog.DataQueryAdapters.doGetFields(DataQueryAdapters.java:396)
at com.jaspersoft.studio.data.designer.AQueryDesignerContainer$1.run(AQueryDesignerContainer.java:53)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
 
I don't know the exact reason behing this error.
Can anyone please help me.
Thanks in advance.....
ek90's picture
4
Joined: Apr 29 2016 - 3:03am
Last seen: 3 years 5 months ago

0 Answers:

No answers yet
Feedback