lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6767) TooComplexToDeterminizeException is not serializable because of Automaton reference
Date Thu, 27 Aug 2015 20:17:46 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717438#comment-14717438
] 

Michael McCandless commented on LUCENE-6767:
--------------------------------------------

This was fixed with LUCENE-6713 (just recently released in Lucene 5.3.0), though I didn't
do a thorough check for any other unserializable custom exceptions...

> TooComplexToDeterminizeException is not serializable because of Automaton reference
> -----------------------------------------------------------------------------------
>
>                 Key: LUCENE-6767
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6767
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/queryparser
>    Affects Versions: 5.2.1
>            Reporter: Manuel Dominguez Sarmiento
>            Priority: Minor
>
> This prevents properly wrapping and propagating the exception across remoting barriers
(Spring Remoting, RMI, etc.) which require serialization.
> Caused by: java.io.NotSerializableException: org.apache.lucene.util.automaton.Automaton
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
> 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
> 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
> 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
> 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
> 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
> 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
> 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
> 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message