Jump to content
We've recently updated our Privacy Statement, available here ×

Custom datasource, NullPointerException, problem when loading the serviceClass


thanatonaute

Recommended Posts

Hi,

I'm trying to implement my first CustomDS. Acutally this custom ds is allow to perform nfdump queries within a report.

I made the following files:

- WEB-INF/nfdumpds.properties

- WEB-INF/applicationContext-nfdumpDS.xml

- and the java classes I put under WEB-INF/classes:

nfdumpQueryExecuter.class

nfdumpDataSourceService.class

nfdumpDataSource.class

nfdumpQueryExecuterFactory.class

 

I see the new datasource is available in jasperserver but when i try to create one I'm getting the null pointer exception below,  which reffers to "newReportDataSource" function.

It seems that the serviceClass from the serviceClasseName in the xml bean file can't be loaded.

I just don't understand why :s

(I'm far from beeing an expert in java ;)

Someone may give me a hint ?

thanks!

(I'm using jasperserver 3.7 ce)

Code:


Post Edited by thanatonaute at 06/16/2011 10:32
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...