Jaspersoft Support,
I downloaded Jaspersoft Studio Professional 5.2 and installed it on my windows 7 laptop. When I try to connect to our JasperReports Server (vers 5.2) it gives a null pointer exception. See below for details.
Note: I installed the latest 5.2 community plugin of Jaspersoft Studio in Eclipse and was able to connect to our JasperReports Server just fine.
Regards,
-Nick-
Additional Information:
Severity: 2
Version: 5.2
Platforms:
Jaspersoft Studio: Windows 7 Laptop
Jasper Server: Linux Server
Installed Jaspersoft Studio Professional using the following executable:
jaspersoftstudiopro-5.2.0-windows-installer-x86_64.exe
URL to Access Jasper Server: http://{host}:8080/jasperserver-pro
Server Connection Info:
URL provided in the Studio ‘Server Profile Wizard’ (I have tried the following, all getting the same result):
http://{host}:8080/jasperserver-pro
http://{host}:8080/jasperserver-pro/
http://{host}:8080/jasperserver-pro/services/repository (tried this particular path since it is the path used in the ‘Help’ tutorial which describes connecting to a server)
Organization: left the field blank
User: superuser
Password: (the standard superuser password)
When you press ‘Test Connection’ or ‘Finish’ a window pops up which says:
“Exception, if you want to see more information look into the details.
Reason: ; nested exception is: java.lang.NullPointerException”
Error Details:
----------------------------------------------------------------------------------------------
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:152)
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:25)
at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:75)
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:{host name of my local laptop}
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:152)
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:25)
at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:75)
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
-----------------------------------------------------------------------------------------------------------------------
Note that the error details references {host name of my local laptop}, which is the hostname of the laptop where Jaspersoft Studio is installed. Just thought I’d mention that since I thought it was strange that it was in the exception details.
Nicholas May
Recommended Comments