Skip to Content
0
Former Member
Sep 15, 2016 at 06:54 PM

NullPointerConnection when trying to getService(RAS)

60 Views

Hi,

We are upgrading from BO Xi r2 to BO 4.1 (crystal Report 2016).

we are using the following code to creat a pdf to send to the user email.

This is working Fine under BO XI R2 but this line is null when using the new BO 4.1 server :

IReportAppFactory reportAppFactory = (IReportAppFactory) iEnterpriseSession.getService(QueryCMSName, "RASReportFactory"); //this return null

There's something more strange.

Since we're using Weblogic (10.3.3) to host our java App, I tried a simple jar directly on the unix server and the code worked.

I'm sure I'm missing a parameter on Weblogic side and/or BO side.

I've joinded the java method causing the error and the stacktrace.

All the help is much appreciated.

Thanks, Elliot

Attachments

Method.txt.zip (1.8 kB)