Wicket.Ajax.Call.failure: 解析响应值时出错 Value 不是有效的 ByteString
Wicket.Ajax.Call.failure: Error while parsing response Value is not a valid ByteString
当我尝试单击 RadioChoice 按钮时出现以下错误。
ERROR: Wicket.Ajax.Call.failure: Error while parsing response: TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': Value is not a valid ByteString.
我无法提供代码。关于此错误的任何想法。
它必须是传递给 jQuery here 的 header
变量值中的内容。
我猜这是 lastFocusId 的值。
我建议您设置一个断点,看看设置了哪些值,哪些值无效。很可能 lastFocusId
有一些无法转换为 ByteString 的 Unicode 字符。
当我尝试单击 RadioChoice 按钮时出现以下错误。
ERROR: Wicket.Ajax.Call.failure: Error while parsing response: TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': Value is not a valid ByteString.
我无法提供代码。关于此错误的任何想法。
它必须是传递给 jQuery here 的 header
变量值中的内容。
我猜这是 lastFocusId 的值。
我建议您设置一个断点,看看设置了哪些值,哪些值无效。很可能 lastFocusId
有一些无法转换为 ByteString 的 Unicode 字符。