大家好,
我正在使用java swing app自定义bugzilla throw 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更新到支持xmlrpc-common-3.1.3.的bugzilla 2.1.1后,该文件被清除。
从你的评论中,听起来你好像遇到了一个已知的错误,这个错误在2。X线——详细信息请参见跟踪器。话虽如此,这里真的有问题吗?升级似乎已经为您解决了这个问题,正如预期的那样。