Issues in connecting Jaspersoft Studio to JasperReports Server

0

Hi,

I have installed JasperReport Server 5.5 enterprise avaluation edition and Jaspersoft Studio 5.5 professional edition on 64bit windows machine.Both these softwares are on the same machine.

I have created one sample report in Jaspersoft Studio and wanted to publish that report on jasperReport server. So in Studio i have created JasperReport server connection and there i ahve specified the Jasperreport server details like

Name : JasperReports Server Pro

URL : http://172.20.30.86:8080/jasperserver-pro/

Username na dpassword : jasperadmin

When i test the connection , i'm getting the below exception

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:339)
    at com.jaspersoft.ireport.jasperserver.ws.WSClient.getVersion(WSClient.java:155)
    at com.jaspersoft.studio.server.protocol.soap.SoapConnection.getServerInfo(SoapConnection.java:29)
    at com.jaspersoft.studio.server.protocol.soap.SoapConnection.connect(SoapConnection.java:39)
    at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:24)
    at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:77)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:106)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:100)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:80)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    {http://xml.apache.org/axis/}hostname:cloudx-224-231

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:339)
    at com.jaspersoft.ireport.jasperserver.ws.WSClient.getVersion(WSClient.java:155)
    at com.jaspersoft.studio.server.protocol.soap.SoapConnection.getServerInfo(SoapConnection.java:29)
    at com.jaspersoft.studio.server.protocol.soap.SoapConnection.connect(SoapConnection.java:39)
    at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:24)
    at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:77)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:106)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:100)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:80)
    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

 

So what would the problem in this case ?

Please help me in this regard.

 Thanks in Advance

 ShreeCS

shreecs's picture
14
Joined: Dec 23 2013 - 12:55am
Last seen: 5 years 7 months ago

2 Answers:

1

I was finally able to connect to the JRS repository from Studio by changing preferences in Studio -> Window/Preferences, then General/Network Connections, for the Active Provider dropdown I selected Manual.  I restarted the app and the Repository showed up.

HTH - betty

 

bplummer's picture
Joined: Oct 29 2013 - 12:14pm
Last seen: 3 years 2 days ago

thanks you bplummer.

100% effective

jargalejandro - 5 years 1 week ago
2

Hi,

 

This kind of issue usually happens when there is a proxy in the way of connecting Jaseprsoft Studio to Jasperreports Server. Add your Proxy URL to the network connections/proxy bypass list and try connecting again.

 

Hope this helps.

- Stas

stasp's picture
18000
Joined: Jun 3 2009 - 9:53am
Last seen: 1 day 34 min ago

I also am getting this same exception when I try to connect Studio to the JRS on the same server. I don't have a proxy. Any other ideas?

-bplummer

ps - apologies for the vote down - not paying attention to random clicking...

bplummer - 5 years 11 months ago

try to copy the connection URL, paste it into browser and try to connect. The URL should look something like this:

http://<domain_name>/jasperserver-pro/

If you are sure that the URL is correct and you still cannot connect, there is some network configration standing in the way. It can be firewall or proxy or some other filter.

stasp - 5 years 11 months ago
Feedback
randomness