lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.lucene.queryParser.Token
Date Wed, 25 Oct 2006 08:47:19 GMT
Hi there!

I'm trying to implement a service, which is doing search on Lucene index. This
service contains a method returning List of Integer values, and takes custom
object as a parameter. All objects passing to this service are serializable,
but for some reason when executing this code

Query 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; java.io.NotSerializableException: org.apache.lucene.queryParser.Token
 sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
 sun.rmi.server.UnicastRef.invoke(Unknown Source)
 LuceneService.LuceneService_Stub.find(Unknown Source)

Am I miss something?

-- 
Eugene N Dzhurinsky

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message