[jboss-jira] [JBoss JIRA] Created: (JBFORUMS-262) Empty post error displays MessageValidationException

Luc Boudreau (JIRA) jira-events at lists.jboss.org
Mon Nov 5 15:37:44 EST 2007


Empty post error displays MessageValidationException
----------------------------------------------------

                 Key: JBFORUMS-262
                 URL: http://jira.jboss.com/jira/browse/JBFORUMS-262
             Project: JBoss Forums
          Issue Type: Bug
          Components: Forum View Layer
    Affects Versions: 1.0.1 RC
         Environment: Any
            Reporter: Luc Boudreau
         Assigned To: Ryszard Kozmik
            Priority: Critical


Try to create a post, don't write anything as a subject or a body and press submit. The error message is totally useless.

Message : org.jboss.portlet.forums.ui.action.MessageValidationException. Please try again

Stack :

2007-11-05 15:41:35,075 ERROR [org.jboss.portlet.forums.ui.JSFUtil] org.jboss.po
rtlet.forums.ui.JSFUtil
org.jboss.portlet.forums.ui.action.MessageValidationException
        at org.jboss.portlet.forums.ui.action.PostAction.validateMessage(PostAct
ion.java:561)
        at org.jboss.portlet.forums.ui.action.NewTopic.execute(NewTopic.java:118
)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.el.parser.AstValue.invoke(AstValue.java:130)
        at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274)

        at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja
va:68)
        at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.ja
va:69)
        at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
nListenerImpl.java:63)
        at org.jboss.portlet.forums.auth.AuthorizationListener.processAction(Aut
horizationListener.java:101)
        at javax.faces.component.UICommand.broadcast(UICommand.java:106)
        at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:9
0)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1
64)
        at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(Lifecycl
eImpl.java:316)
        at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
:86)
        at org.jboss.portlet.forums.ui.ForumsJSFPortlet.processAction(ForumsJSFP
ortlet.java:281)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeActio
n(PortletContainerImpl.java:458)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(Po
rtletContainerImpl.java:401)
        at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(P
ortletContainerInvoker.java:86)
        at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:131)
        at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jbos
s$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(Transact
ionInterceptor.java:106)
        at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRe
quired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103
964459766407072.java)
        at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java
:195)
        at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRe
quired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103
964459766407072.java)
        at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java
:195)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list