88Views3Replies

Author Options:

Error 500 trying to view message Answered

I received an e-mail saying that I was sent a private message (with the full text of the message) but when I go into the Inbox I do not see the message and when I click the Reply link in my e-mail I get the following error message:

ERROR 500: com.instructables.exception.NotPermittedException: null or uninvolved or non-admin user may not view message XQM9PGUGA1BGJH0

Exception
com.instructables.exception.NotPermittedException: null or uninvolved or non-admin user may not view message XQM9PGUGA1BGJH0
 at com.instructables.manager.HibernateMessageManager.load(HibernateMessageManager.java:56)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.instructables.transaction.TransactionHandler.invoke(TransactionHandler.java:69)
 at $Proxy15.load(Unknown Source)
 at com.instructables.webapp.you.ShowMessages.prepare(ShowMessages.java:53)
 at com.instructables.servlet.ActionServlet.prepare(ActionServlet.java:170)
 at com.instructables.servlet.ActionServlet.doGet(ActionServlet.java:60)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
 at com.instructables.filter.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:48)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.TemporaryProFilter.doFilter(TemporaryProFilter.java:77)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.SecurityFilter.doFilter(SecurityFilter.java:140)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.SetupFilter.doFilter(SetupFilter.java:68)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.instructables.filter.NextPageFilter.doFilter(NextPageFilter.java:53)
 at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
 at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
 at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
 at java.lang.Thread.run(Thread.java:595)

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
StumpChunkman
StumpChunkman

10 years ago

I sent you a pm, to see if it's something we can replicate. Please check it out, and feel free to reply. If it all works fine, it may have got deleted somewhere. If you get the same message, then we have to figure out what's going on.

0
jasonwebb
jasonwebb

Reply 10 years ago

Yep, it works. Maybe the message was deleted by the sender? I didn't check on that, but nonetheless I would think a less verbose error in this case would be a good idea, like "Message has been retracted" as opposed to the runtime error here, haha.

0
kelseymh
kelseymh

Reply 10 years ago

If that turns out to be the case (and perhaps you could PM (not post here) Matt with the user who sent it to you, and if you happen to remember, the subject line. They can check the database history to see if that's what happened, or if the DB got corrupted in some other way. What you have discovered is that the Inbox software doesn't handle missing messages correctly. Obviously if it did, you wouldn't get a runtime error.