shreecs Posted January 3, 2014 Share Posted January 3, 2014 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 likeName : JasperReports Server ProURL : http://172.20.30.86:8080/jasperserver-pro/Username na dpassword : jasperadminWhen i test the connection , i'm getting the below exceptionAxisFault 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-231java.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 More sharing options...
stasp Posted January 6, 2014 Share Posted January 6, 2014 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 More sharing options...
bplummer Posted January 30, 2014 Share Posted January 30, 2014 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... Link to comment Share on other sites More sharing options...
stasp Posted January 30, 2014 Share Posted January 30, 2014 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 More sharing options...
Solution bplummer Posted January 30, 2014 Solution Share Posted January 30, 2014 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 More sharing options...
jargalejandro Posted January 5, 2015 Share Posted January 5, 2015 thanks you bplummer. 100% effective Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now