Background JS executor not serializable.
Code:
WebClient client = new WebClient(); try { Page page = client.getPage("http://www.google.com"); FileOutputStream fos = new FileOutputStream("object" + ".ser"); ObjectOutputStream out = new ObjectOutputStream(fos); out.writeObject(page); out.close(); } catch (FailingHttpStatusCodeException e) { e.printStackTrace(); } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); }
Now fixed in SVN. Thanks for reporting.
Hopefully finally fixed. Please keep in mind, that the page itself is serialized, but all outstanding javascript jobs are ignored during serialization.