java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.lucene.queryParser.Token

2006-10-25 Thread Eugeny N Dzhurinsky
includeQuery = queryParser.parse(findQuery.getIncludeQuery()); (findQuery is object, which passed to the find method) this exception is thrown java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.io.WriteAbortedException: writing aborted

Re: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.lucene.queryParser.Token

2006-10-25 Thread Doron Cohen
Hi Eugene, If the query parser (from some reason) throws a ParseException, and the RMI layer attempts to marshal/serialize that exception, there would probably be an issue because although ParseException is serializable (as all throwables) it has a Token data member, which is not serializable.