{"action":"opened","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5791","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5791/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5791/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5791/events","html_url":"https://github.com/orientechnologies/orientdb/issues/5791","id":137598584,"number":5791,"title":"Lucene Error during exception deserialization: ","user":{"login":"temilmg","id":3005511,"avatar_url":"https://avatars.githubusercontent.com/u/3005511?v=3","gravatar_id":"","url":"https://api.github.com/users/temilmg","html_url":"https://github.com/temilmg","followers_url":"https://api.github.com/users/temilmg/followers","following_url":"https://api.github.com/users/temilmg/following{/other_user}","gists_url":"https://api.github.com/users/temilmg/gists{/gist_id}","starred_url":"https://api.github.com/users/temilmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/temilmg/subscriptions","organizations_url":"https://api.github.com/users/temilmg/orgs","repos_url":"https://api.github.com/users/temilmg/repos","events_url":"https://api.github.com/users/temilmg/events{/privacy}","received_events_url":"https://api.github.com/users/temilmg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T15:07:59Z","updated_at":"2016-03-01T15:07:59Z","closed_at":null,"body":"Lucene integration fails after a heavy use with an exception (see below).\r\nIt looks like a simple Class not found issue but I have used the following maven dependency\r\n\r\n<dependency>\r\n<groupId>com.orientechnologies</groupId>\r\n<artifactId>orientdb-graphdb</artifactId>\r\n<version>2.1.11</version>\r\n</dependency>\r\n\r\nand the documentation says lucene is part of orientdb now so I guess I shouldn't have to add a lucene dependency, also initially the queries work!\r\nFurthermore when it starts failing it completely spams my logfile, I have eneded up with 8gb log files full of the exception seen below. When failing the cpu goes to a 100 and orientdb becomes unresponsive. A server restart clears the problem but after a while the problem returns.\r\n\r\nIm using orientdb 2.1.11 (in docker)\r\n\r\nThe failing query looks as follows:\r\nselect text,title,subtitle, url from Data_14_0  where i18n=? and [pid,title,subtitle,text,words1,words2] lucene (\"text:ergo^4 title:ergo^8 subtitle:ergo^2 pid:ergo^10 words1:ergo^3 words2:ergo^2\") skip 0 limit 10\r\n\r\nMy index: \r\nCREATE INDEX Data_14_0.pid_title_subtitle_text_words1_words2 ON Data_14_0(pid,title,subtitle,text,words1,words2) FULLTEXT ENGINE LUCENE\r\n\r\n\r\nFeb 29, 2016 12:58:42 PM com.orientechnologies.common.log.OLogManager log\r\nWARNING: Caught I/O errors from orientdb/172.17.0.2:2424 (local socket=/172.17.0.4:37597), trying to reconnect (error: java.io.IOException: Error during exception deserialization: java.lang.ClassNotFoundException: org.apache.lucene.queryparser.classic.ParseException)\r\nFeb 29, 2016 12:58:42 PM com.orientechnologies.common.log.OLogManager log\r\nWARNING: Connection re-acquired transparently after 3ms and 1 retries to server 'orientdb:2424/tenant-dana': no errors will be thrown at application level\r\nFeb 29, 2016 12:58:42 PM com.orientechnologies.common.log.OLogManager log\r\nSEVERE: Error during exception deserialization\r\njava.lang.ClassNotFoundException: org.apache.lucene.queryparser.classic.ParseException\r\nat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\nat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\nat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\nat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\nat java.lang.Class.forName0(Native Method)\r\nat java.lang.Class.forName(Class.java:348)\r\nat java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:626)\r\nat java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1613)\r\nat java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)\r\nat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)\r\nat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\nat java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)\r\nat java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501)\r\nat java.lang.Throwable.readObject(Throwable.java:914)\r\nat sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)\r\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nat java.lang.reflect.Method.invoke(Method.java:498)\r\nat java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)\r\nat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)\r\nat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\nat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\nat java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)\r\nat com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.throwSerializedException(OChannelBinaryAsynchClient.java:434)\r\nat com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:398)\r\nat com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:282)\r\nat com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:170)\r\nat com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2158)\r\nat com.orientechnologies.orient.client.remote.OStorageRemote.command(OStorageRemote.java:1188)\r\nat com.orientechnologies.orient.client.remote.OStorageRemoteThread.command(OStorageRemoteThread.java:444)\r\nat com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:72)\r\nat com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:33)\r\nat com.tinkerpop.blueprints.impls.orient.OrientGraphCommand.execute(OrientGraphCommand.java:49)\r\nat dk.mxi.liveapp.integration.ApiSearchEndpoint.lambda$doRoutes$13(ApiSearchEndpoint.java:140)\r\n\r\n"}}