org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock

XWiki.org JIRA | Vincent Massol | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {noformat} 2008-07-31 09:49:38,285 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error deleting doc 2844 org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.DirectoryIndexReader.acquireWriteLock(DirectoryIndexReader.java:250) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:725) at com.xpn.xwiki.plugin.lucene.IndexUpdater.deleteOldDocs(IndexUpdater.java:282) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:172) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:49:39,289 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error deleting doc 2845 org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.DirectoryIndexReader.acquireWriteLock(DirectoryIndexReader.java:250) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:725) at com.xpn.xwiki.plugin.lucene.IndexUpdater.deleteOldDocs(IndexUpdater.java:282) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:172) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:49:40,294 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - IOException when opening Lucene Index for writing at /usr/local/apache-tomcat-6.0.14/logs/work/lucene org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:502) at com.xpn.xwiki.plugin.lucene.IndexUpdater.openWriter(IndexUpdater.java:320) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:190) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:49:40,294 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document dev:Drafts.WritingSeleniumsTestsForXWiki.default java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:49:40,295 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document dev:Drafts.WritingSeleniumsTestsForXWiki.default.objects java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:49:40,296 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing documents java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:217) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:49:40,296 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - Writer not open and closeWriter called 2008-07-31 09:53:12,161 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - IOException when opening Lucene Index for writing at /usr/local/apache-tomcat-6.0.14/logs/work/lucene org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:502) at com.xpn.xwiki.plugin.lucene.IndexUpdater.openWriter(IndexUpdater.java:320) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:190) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:53:12,166 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document playground:XWiki.AlexisMonville.default java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:53:12,167 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document playground:XWiki.AlexisMonville.default.objects java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:53:12,167 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing documents java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:217) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:53:12,167 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - Writer not open and closeWriter called Jul 31, 2008 9:53:43 AM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. 2008-07-31 09:55:43,813 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error deleting doc 2844 org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.DirectoryIndexReader.acquireWriteLock(DirectoryIndexReader.java:250) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:725) at com.xpn.xwiki.plugin.lucene.IndexUpdater.deleteOldDocs(IndexUpdater.java:282) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:172) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:55:44,830 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error deleting doc 2845 org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.DirectoryIndexReader.acquireWriteLock(DirectoryIndexReader.java:250) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:725) at com.xpn.xwiki.plugin.lucene.IndexUpdater.deleteOldDocs(IndexUpdater.java:282) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:172) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:55:45,834 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - IOException when opening Lucene Index for writing at /usr/local/apache-tomcat-6.0.14/logs/work/lucene org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:502) at com.xpn.xwiki.plugin.lucene.IndexUpdater.openWriter(IndexUpdater.java:320) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:190) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:55:45,835 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document dev:Drafts.WritingSeleniumsTestsForXWiki.default java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:55:45,836 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document dev:Drafts.WritingSeleniumsTestsForXWiki.default.objects java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:55:45,836 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing documents java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:217) at java.lang.Thread.run(Thread.java:619) 2008-07-31 09:55:45,836 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - Writer not open and closeWriter called java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1070) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:859) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:852) at java.text.DateFormat.format(DateFormat.java:316) at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4938) at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1840) at sun.reflect.GeneratedMethodAccessor971.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor1064.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1504) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:109) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:225) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1070) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:859) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:852) at java.text.DateFormat.format(DateFormat.java:316) at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4938) at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4947) at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1840) at sun.reflect.GeneratedMethodAccessor971.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor1064.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1504) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:109) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:225) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) [ERROR] Method formatDate threw exception for reference $xwiki in template XWiki.Tableresults at [70,20] org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [XWiki.Tableresults] at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:155) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151) at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371) at sun.reflect.GeneratedMethodAccessor1064.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1504) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:109) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:225) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'formatDate' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ XWiki.Tableresults[70,28] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145) ... 50 more Caused by: java.lang.NullPointerException at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4943) at com.xpn.xwiki.XWiki.formatDate(XWiki.java:4947) at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1840) at sun.reflect.GeneratedMethodAccessor971.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) ... 61 more 2008-07-31 10:08:38,047 [http://dev.xwiki.org/xwiki/bin/view/IRCCode/IRCArchiveClassTemplate?language=en] [TP-Processor21] WARN doc.XWikiDocument - Failed to display field [content] in [view] mode for Object [NULL] 2008-07-31 10:15:23,626 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - IOException when opening Lucene Index for writing at /usr/local/apache-tomcat-6.0.14/logs/work/lucene org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:502) at com.xpn.xwiki.plugin.lucene.IndexUpdater.openWriter(IndexUpdater.java:320) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:190) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:15:23,630 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document code:Snippets.WikiSpacesPieChartSnippet.default java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:15:23,631 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document code:Snippets.WikiSpacesPieChartSnippet.default.objects java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:15:23,631 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing documents java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:217) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:15:23,632 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - Writer not open and closeWriter called 2008-07-31 10:16:25,325 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - IOException when opening Lucene Index for writing at /usr/local/apache-tomcat-6.0.14/logs/work/lucene org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:502) at com.xpn.xwiki.plugin.lucene.IndexUpdater.openWriter(IndexUpdater.java:320) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:190) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:16:25,326 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document code:Snippets.WikiSpacesPieChartSnippet.default java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:16:25,327 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document code:Snippets.WikiSpacesPieChartSnippet.default.objects java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:16:25,327 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing documents java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:217) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:16:25,327 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - Writer not open and closeWriter called 2008-07-31 10:17:09,775 [http://code.xwiki.org/xwiki/bin/view/Snippets/WikiSpacesPieChartSnippet] [TP-Processor5] WARN doc.XWikiDocument - Failed to display field [content] in [view] mode for Object [Snippets.WikiSpacesPieChartSnippet] Jul 31, 2008 10:17:23 AM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. 2008-07-31 10:17:25,589 [http://code.xwiki.org/xwiki/bin/view/Snippets/WikiSpacesPieChartSnippet] [TP-Processor42] WARN doc.XWikiDocument - Failed to display field [content] in [view] mode for Object [Snippets.WikiSpacesPieChartSnippet] 2008-07-31 10:17:27,811 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - IOException when opening Lucene Index for writing at /usr/local/apache-tomcat-6.0.14/logs/work/lucene org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:502) at com.xpn.xwiki.plugin.lucene.IndexUpdater.openWriter(IndexUpdater.java:320) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:190) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:17:27,812 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document code:Snippets.WikiSpacesPieChartSnippet.default java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:17:27,813 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing document code:Snippets.WikiSpacesPieChartSnippet.default.objects java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:377) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:205) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:17:27,813 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - error indexing documents java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:217) at java.lang.Thread.run(Thread.java:619) 2008-07-31 10:17:27,830 [Lucene index updating thread] [Lucene Index Updater] ERROR lucene.IndexUpdater - Writer not open and closeWriter called {noformat}

    XWiki.org JIRA | 9 years ago | Vincent Massol
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock
  2. 0

    2008年6月10日 随笔档案 - - BlogJava

    blogjava.net | 11 months ago
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/doc/lucene/write.lock
  3. 0

    Problem with File Locks after running for a while

    GitHub | 6 years ago | ldriscoll
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/data/lucene/f62f4dd4-1f33-438f-8d40-13ba71f8e338/b629s4iybvcuwt0uwhxyw0jzc/write.lock
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unicode index names causing DELETE index to hang

    GitHub | 3 years ago | clintongormley
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/Users/clinton/workspace/elasticsearch/data/elasticsearch/nodes/0/indices/test-weird-index-??/2/index/write.lock
  6. 0

    Error on initializing Lucene index

    GitHub | 2 years ago | vitorenesduarte
    org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/Users/vitorenes/home/progs/orientdb-community-2.0.4/databases/Demo/luceneIndexes/UserLUCENE/write.lock

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.lucene.store.LockObtainFailedException

      Lock obtain timed out: SimpleFSLock@/usr/local/apache-tomcat-6.0.14/logs/work/lucene/write.lock

      at org.apache.lucene.store.Lock.obtain()
    2. Lucene
      IndexWriter.<init>
      1. org.apache.lucene.store.Lock.obtain(Lock.java:85)
      2. org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691)
      3. org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:502)
      3 frames
    3. com.xpn.xwiki
      IndexUpdater.run
      1. com.xpn.xwiki.plugin.lucene.IndexUpdater.openWriter(IndexUpdater.java:320)
      2. com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:190)
      2 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame