1

I'm getting the following error when I try to click on an RadioChoice button.

ERROR: Wicket.Ajax.Call.failure: Error while parsing response: TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': Value is not a valid ByteString.

I can't provide a code. Any idea about this error.

Denis
  • 192
  • 2
  • 10

1 Answers1

1

It must be something in the values of header variable passed to jQuery here. I guess it is the value of lastFocusId . I'd recommend you to put a break point and see what values are being set and which one is not valid. Most probably lastFocusId has some Unicode characters which cannot be converted to ByteString.

martin-g
  • 17,243
  • 2
  • 23
  • 35