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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]