Oops, an error has ocurred

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Oops, an error has ocurred

Jose - russianforfree.com

Hi,

I have received a error message.
I was answering the this thread: http://nabble-support.1.n2.nabble.com/Mix-between-quot-Category-quot-and-quot-news-quot-td6967235.html#a6971521

When I clicked "post message" I received the error message and afterwards i couldn't post the message. Despite that, if I see the list of topic, I see myself as the author of the last post with the time when the error happened, but if I get inside the topic, I can't see the post. Somehow the post of the topic are gone.


Below you can find the error report:

Error 500
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/nabble/n2.nabble/lucene/1/write.lock
        in create_child_of_page_node(nabble:reply.naml:58) -  - public void nabble.view.web.template.NodePageNamespace.create_child_of_page_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws nabble.model.ModelException,javax.servlet.ServletException
        in catch_exception(nabble:reply.naml:56) -  - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in if(nabble:reply.naml:50) -  - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in current_permission_version(nabble:permissions.naml:6) -
        in as_node_page(nabble:utilities.naml:879) -  - public void nabble.view.web.template.NodeNamespace.as_node_page(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
        in get_node_from_parameter(nabble:utilities.naml:879) -  - public void nabble.view.web.template.ServletNamespace.get_node_from_parameter(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws java.io.IOException,javax.servlet.ServletException
        in node_page(nabble:reply.naml:48) -
        in overridden(paid_support:paid_support.naml:3) -
        in new_post(nabble:reply.naml:2) -
        in (nabble:reply.naml:1) -
Message: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/nabble/n2.nabble/lucene/1/write.lock
RequestURI: /template/NamlServlet.jtp
Server: n2.nabble.com
Caused by:
fschmidt.util.servlet.JtpContextServlet$JtpServletException: url=http://nabble-support.1.n2.nabble.com/template/NamlServlet.jtp?message=
Peter <Nabble> wrote
Try changing the length attribute on category_table macro.

Hi Peter. Thanks for writing.

When I select "category" as my app type, I find this in "category_table"
            <n.category_table.>
                <n.subcategories_column/>
                <n.topic_count_column?width="5em"/>
                <n.post_count_column?width="5em"/>
                <n.last_post_column/>
            </n.category_table.> 

Should I write here some "length" attribute? How?

If I switch my app type to "forum" I have this:
<macro name="forum_topics_per_page"> 35</macro>

I understand that changing that "35" I change the number of topic per page. But for category, I have tried with
<macro name="<b>category_topics_per_page">15</macro> and it doesn't work.

Sorry, but my knowledge of code seems limited enough, not to be able to understand what to do.

On the other hand, going to option --> application --> change appearance, and from there clicking "preferences" you have to topic per page option, where you can change the topic per page for everything (forum, gallery, mixed, blog and newspaper) but "category".

A bit of help would be appreciated. Thanks!
Jose&node=6968650¯o=reply&subject=Re: Mix between "Category" and "news"&original=
Peter <Nabble> wrote
Try changing the length attribute on category_table macro.
  method=POST user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 referer=http://nabble-support.1.n2.nabble.com/template/NamlServlet.jtp?macro=reply&node=6968650 remote=83.97.226.130
        at fschmidt.util.servlet.JtpContextServlet.handleException(JtpContextServlet.java:558)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:463)
        at fschmidt.util.servlet.JtpContextServlet.service(JtpContextServlet.java:332)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:141)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
        at cachingfilter.CachingFilter.doFilter(CachingFilter.java:157)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
        at fschmidt.util.servlet.BadBotFilter.doFilter(BadBotFilter.java:74)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
        at nabble.view.lib.NabbleErrorFilter.doFilter(NabbleErrorFilter.java:21)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
        at org.eclipse.jetty.server.Server.handle(Server.java:346)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: nabble.naml.compiler.TemplateRuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/nabble/n2.nabble/lucene/1/write.lock
        in create_child_of_page_node(nabble:reply.naml:58) - <n.create_child_of_page_node commit="[n.not.is_preview/]"> - public void nabble.view.web.template.NodePageNamespace.create_child_of_page_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws nabble.model.ModelException,javax.servlet.ServletException
        in catch_exception(nabble:reply.naml:56) - <n.catch_exception. id="save-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in if(nabble:reply.naml:50) - <n.if.not.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in as_node_page(nabble:utilities.naml:879) - <n.get_node_from_parameter.as_node_page.do/> - public void nabble.view.web.template.NodeNamespace.as_node_page(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
        in get_node_from_parameter(nabble:utilities.naml:879) - <n.get_node_from_parameter.as_node_page.do/> - public void nabble.view.web.template.ServletNamespace.get_node_from_parameter(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws java.io.IOException,javax.servlet.ServletException
        in node_page(nabble:reply.naml:48) - <n.node_page.>
        in overridden(paid_support:paid_support.naml:3) - <n.overridden
                page_name="[n.page_name/]"
                mailing_list_etiquette="[n.mailing_list_etiquette/]"
                bottom="[n.bottom/]"
                focus="[n.focus/]"
        />
        in new_post(nabble:reply.naml:2) - <n.new_post>
        in (nabble:reply.naml:1) - <macro name="reply" requires="servlet">
        at nabble.naml.compiler.Compiler.interpFix(Compiler.java:2000)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1629)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1114)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.naml.namespaces.BasicNamespace.catch_exception(BasicNamespace.java:575)
        at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1550)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1624)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:139)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1550)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1624)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1114)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58)
        at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:25)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.view.web.template.NodeNamespace.as_node_page(NodeNamespace.java:859)
        at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1550)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1618)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:58)
        at nabble.naml.compiler.ScopedInterpreterImpl$1.printTo(ScopedInterpreterImpl.java:25)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:31)
        at nabble.view.web.template.ServletNamespace.get_node_from_parameter(ServletNamespace.java:310)
        at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1550)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1618)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1114)
        at nabble.naml.compiler.Template.run(Template.java:60)
        at nabble.naml.compiler.Template.run(Template.java:33)
        at nabble.modules.ModuleManager.run(ModuleManager.java:281)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:152)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:461)
        ... 34 more
Caused by: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/nabble/n2.nabble/lucene/1/write.lock
        at nabble.model.Lucene.add(Lucene.java:120)
        at nabble.model.Lucene.access$100(Lucene.java:60)
        at nabble.model.Lucene$2$1.run(Lucene.java:201)
        at fschmidt.db.pool.DbDatabaseImpl$Con.commit(DbDatabaseImpl.java:329)
        at fschmidt.db.pool.DbDatabaseImpl.commitTransaction(DbDatabaseImpl.java:105)
        at fschmidt.db.extend.FilterDatabase.commitTransaction(FilterDatabase.java:103)
        at nabble.view.web.template.NodePageNamespace.create_child_of_page_node(NodePageNamespace.java:138)
        at sun.reflect.GeneratedMethodAccessor424.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:20)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1550)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1624)
        ... 82 more
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/nabble/n2.nabble/lucene/1/write.lock
        at org.apache.lucene.store.Lock.obtain(Lock.java:84)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1115)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:959)
        at nabble.model.lucene.IndexCache$MyIndexWriter.<init>(IndexCache.java:164)
        at nabble.model.lucene.IndexCache.openIndexWriter(IndexCache.java:232)
        at nabble.model.Lucene.add(Lucene.java:113)
        ... 94 more
Reply | Threaded
Open this post in threaded view
|

Re: Oops, an error has ocurred

Peter <Nabble>
Thank you for reporting this error. We are looking into it.
Nabble staff. We never ask for passwords.
Reply | Threaded
Open this post in threaded view
|

Re: Oops, an error has ocurred

Jose - russianforfree.com

Hi Peter,

This error message appeared using Firefox and for half and hour (while I was in the forum), my last 3 posts where invisible. I also checked with IE and Chrome and couldn't find the posts. Now i can see the posts again.
Reply | Threaded
Open this post in threaded view
|

Re: Oops, an error has ocurred

Peter <Nabble>
It has nothing to do with the browsers. It was an internal Nabble issue that affected other users as well.
Nabble staff. We never ask for passwords.