2013-03-14 86 views
0

无法更新错误抛出j2bugzilla

大家好,

我使用的Java Swing app.While我试图更新错误异常coming.Below事情是代码和异常

定制Bugzilla的抛出j2bugzilla UpdateBug update = new UpdateBug(currentBug); con.executeMethod(update);


com.j2bugzilla.base.BugzillaException: An unknown error was encountered 
    at com.j2bugzilla.base.XmlExceptionHandler.handleFault(XmlExceptionHandler.java:56) 
    at com.j2bugzilla.base.BugzillaConnector.executeMethod(BugzillaConnector.java:154) 
    at bugzilla.ui.Bugzilla.updateBug(Bugzilla.java:351) 
**** 
**** 
Caused by: org.apache.xmlrpc.common.XmlRpcExtensionException: Null values aren't supported, if isEnabledForExtensions() == false 
    at org.apache.xmlrpc.common.TypeFactoryImpl.getSerializer(TypeFactoryImpl.java:118) 
    at org.apache.xmlrpc.serializer.MapSerializer.writeValue(MapSerializer.java:73) 
    at org.apache.xmlrpc.serializer.MapSerializer.writeEntry(MapSerializer.java:67) 
 

它被清除后,从更新的Bugzilla 2.0的jar文件的Bugzilla 2.1.1是支持到XML-RPC-共3.1.3.Thanks

+0

错误null中的任何值不应该是?你能提供更多细节吗? – 2013-04-23 20:43:36

+0

在我的proj我使用xmlrpc客户端和常见的-3.1.3 version.for这个版本,我们必须使用更新的bugzilla jar 2.1.1不低于其他版本,即使我们提供所有的bug值也抛出异常。 – 2013-04-26 13:37:16

回答

0

从您的评论,这听起来像你跑违反已知的错误这是固定在2.x行 - 详情请参阅the tracker。这就是说,这里有一个真正的问题吗?正如预期的那样,升级似乎已经为您解决了这个问题。