Jaspersoft Studio Client fails to connect to CA PPM SaaS Jaspersoft reporting server URL

Document ID : KB000031118
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

CA PPM SaaS report developer unable to connect Jaspersoft Studio client to their Jaspersoft server URL.

Expected Results:  Successfully connect Jaspersoft Studio Client to CA PPM SaaS Jaspersoft reporting server.

Actual Results:  Potentially see two types of nested exceptions:

1)      java.net.ConnectException: Connection time out: connect
2)      java.lang.NullPointerException
 
Details of both nested exceptions below:
 
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
 faultNode:
 faultDetail:
                {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
                at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:193)
                at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
                at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
                at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
                at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
                at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
                at org.apache.axis.client.Call.invoke(Call.java:2767)
                at org.apache.axis.client.Call.invoke(Call.java:2443)
                at org.apache.axis.client.Call.invoke(Call.java:2366)
                at org.apache.axis.client.Call.invoke(Call.java:1812)
                at com.jaspersoft.ireport.jasperserver.ws.RepositorySoapBindingStub.list(RepositorySoapBindingStub.java:336)
                at com.jaspersoft.ireport.jasperserver.ws.WSClient.getVersion(WSClient.java:155)
                at com.jaspersoft.studio.server.protocol.soap.SoapConnection.getServerInfo(SoapConnection.java:101)
                at com.jaspersoft.studio.server.protocol.soap.SoapConnection.connect(SoapConnection.java:122)
                at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:83)
                at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:82)
                at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:99)
                at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:95)
                at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:76)
                at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
 
                {http://xml.apache.org/axis/}hostname:XXXXXXXXX
 
java.lang.NullPointerException
                at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
                at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:315)
                at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
                at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
                at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
                at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
                at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
                at org.apache.axis.client.Call.invoke(Call.java:2767)
                at org.apache.axis.client.Call.invoke(Call.java:2443)
                at org.apache.axis.client.Call.invoke(Call.java:2366)
                at org.apache.axis.client.Call.invoke(Call.java:1812)
                at com.jaspersoft.ireport.jasperserver.ws.RepositorySoapBindingStub.list(RepositorySoapBindingStub.java:336)
                at com.jaspersoft.ireport.jasperserver.ws.WSClient.getVersion(WSClient.java:155)
                at com.jaspersoft.studio.server.protocol.soap.SoapConnection.getServerInfo(SoapConnection.java:101)
                at com.jaspersoft.studio.server.protocol.soap.SoapConnection.connect(SoapConnection.java:122)
                at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:83)
                at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:82)
                at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:99)
                at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:95)
                at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:76)
                at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.NullPointerException
                at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:193)
                ... 19 more

 

 

Enviroment:

This applies to On Demand / Saas Enviroments.

Cause:

Error indicates problems in soap protocol communication to the Jaspersoft reporting server.

Resolution:

There could potentially be two options to investigate.  In this case, the customer’s network had a firewall policy in place preventing out bound soap based network connections.  A network firewall policy was updated to allow out bound soap based connections to their CA PPM SaaS URL. 

In addition to the firewall update, customers’ may need to update the network connection provider within the Jaspersoft Studio client.  This configuration in Jaspersoft Studio can be updated from Window – Preferences – General – Network Connections.  A drop-down list at the top of this section allows three options to test:

  •           Direct
  •           Manual
  •           Native

In helping diagnose the connection issue, we had the report developer test connecting to their CA PPM SaaS report server URL from off the company network.  In this case, the developer was able to connect successfully outside of the company network pinpointing the issue to the company network firewall.