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

Issues in connecting Jaspersoft Studio to JasperReports Server


shreecs
Go to solution Solved by bplummer,

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

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

Link to comment
Share on other sites

  • 4 weeks later...

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

 

http:///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.

Link to comment
Share on other sites

  • Solution

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

 

Link to comment
Share on other sites

  • 11 months later...

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...