Please check rev 7815592. When I try to save the data I get the exception below:
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
site:/lib/Board line 95 in call to 'Db.save'
site:/admin/structure line 39 in call to 'Board.save_data'
Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
at luan.modules.lucene.LuceneIndex.save(LuceneIndex.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at luan.LuanJavaFunction$JavaMethod$1.invoke(LuanJavaFunction.java:531)
at luan.LuanJavaFunction.doCall(LuanJavaFunction.java:88)
at luan.LuanJavaFunction.call(LuanJavaFunction.java:73)
at luan.impl.FnCall.call(FnCall.java:31)
at luan.impl.FnCall.eval(FnCall.java:23)
at luan.impl.ExpressionsStmt.eval(ExpressionsStmt.java:14)
at luan.impl.Block.eval(Block.java:22)
at luan.impl.Closure.call(Closure.java:70)
at luan.impl.Closure.call(Closure.java:43)
at luan.impl.FnCall.call(FnCall.java:31)
at luan.impl.FnCall.eval(FnCall.java:23)
at luan.impl.ExpressionsStmt.eval(ExpressionsStmt.java:14)
at luan.impl.Block.eval(Block.java:22)
at luan.impl.IfStmt.eval(IfStmt.java:22)
at luan.impl.Block.eval(Block.java:22)
at luan.impl.Closure.call(Closure.java:70)
at luan.impl.Closure.call(Closure.java:43)
at luan.LuanFunction.call(LuanFunction.java:11)
at luan.modules.http.HttpServicer.service(HttpServicer.java:159)
at luan.modules.http.LuanHandler.handle(LuanHandler.java:31)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)