2014-01-24 36 views
0

得到這個錯誤在Repository Explorer - >Create JasperReports Server Connection(Eclipse中)JasperStudio JasperReports的服務器訪問配置:AxisFault: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) 
... 
Caused by: java.lang.NullPointerException 
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:193) 

雖然調用服務器的URL,例如http://somehost:8080/jasperserver/services/repository作品在瀏覽器中指出:

repository 

Hi there, this is an AXIS service! 

Perhaps there will be a form for invoking the service here... 

使用JasperServer 5.2.0JasperStudio 5.5.0

回答

0

這可能是由於某些本地HTTP代理設置問題。

爲了解決這個問題,你可以嘗試以下方法:

  • Window->Preferences->General->Network Connections->

    1. Provider: Manual(其中應用Eclipse的代理設置)根據需要
    2. 調整代理規則)(嘗試包括/排除規則匹配你的碧玉服務器主機)
    3. 重新啓動Eclipse重要!

我發現這個解決方案的小小隱祕的位置:Jasper forum question 3143 comment 16.

相關問題