大家好,
我正在使用 java swing app 自定义 bugzilla throw j2bugzilla。当我尝试更新 bug 时,异常即将到来。下面是代码和异常
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)
将 jar 文件从 bugzilla 2.0 更新到支持 xmlrpc-common-3.1.3 的 bugzilla 2.1.1 后清除。谢谢