2 Replies Latest reply on May 31, 2006 7:38 AM by Vitaly Zabaluev

    Error during portlet parameter's value changing

    Vitaly Zabaluev Newbie

      Hi,
      My config:
      jdk1.5.0_05
      jboss-4.0.3SP1
      jboss-portal-2.4 from cvs
      MySQL 5.0 with config according to http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors

      When I try to edit weather portlet parameter (Zip Code) via edit link at the left upper portltet's corner, I get this exception (Zip Code = "33146"):

      javax.servlet.ServletException: Bad portlet id format _1
       org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:237)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      
      root cause
      
      java.lang.IllegalArgumentException: Bad portlet id format _1
       org.jboss.portal.federation.impl.FederatingPortletInvokerService.getFederatedPortletInvokerFor(FederatingPortletInvokerService.java:201)
       org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:153)
       sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       $Proxy49.invoke(Unknown Source)
       org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:64)
       org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:245)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
       org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:82)
       org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
       org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:113)
       sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       $Proxy38.invoke(Unknown Source)
       org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:263)
       org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:119)
       org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:93)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
       org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:80)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
       org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
       org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:133)
       org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:409)
       org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:77)
       org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:255)
       org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:93)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
       org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:80)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
       org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
       org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
       org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
       org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:152)
       org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
       org.jboss.portal.core.CoreController.handle(CoreController.java:140)
       sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
       $Proxy123.handle(Unknown Source)
       org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
       org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.server.aspects.server.ParametersInterceptor.invoke(ParametersInterceptor.java:107)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
       org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
       org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:231)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      


      Furthermore, if I try to edit any parameter's value of any portlet by Management Portlet\Instances\Update button - I get exception too. For example, if I try to change CMSPortletInstance's indexpage parameter value, I get:
      19:49:46,904 ERROR [[/portal-core]] Error calling action method of component wit
      h id _tagId24_1:_tagId29_1
      javax.faces.FacesException: Error calling action method of component with id _ta
      gId24_1:_tagId29_1
      at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
      nListenerImpl.java:74)
      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:271)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
      :86)
      at org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFace
      sGenericPortlet.java:221)
      at org.jboss.portal.portlet.container.PortletContainer.invokeAction(Port
      letContainer.java:538)
      at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletC
      ontainer.java:479)
      at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch
      (PortletContainerInvoker.java:125)
      at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(Portle
      tInvocation.java:245)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
      ava:142)
      at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke
      (TransactionInterceptor.java:69)
      at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
      Interceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
      ava:132)
      at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(Head
      erInterceptor.java:50)
      at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
      Interceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
      ava:132)
      at org.jboss.portal.portlet.aspects.component.CacheInterceptor.invoke(Ca
      cheInterceptor.java:83)
      at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
      Interceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
      ava:132)
      at org.jboss.portal.portlet.aspects.component.ModesInterceptor.invoke(Mo
      desInterceptor.java:62)
      at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
      Interceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
      ava:132)
      at org.jboss.portal.portlet.aspects.component.WindowStatesInterceptor.in
      voke(WindowStatesInterceptor.java:57)
      at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
      Interceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
      ava:132)
      at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterce
      ptor.invoke(SessionPostDispatchInterceptor.java:63)
      at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
      Interceptor.java:37)
      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
      ava:132)
      at org.jboss.portal.portlet.aspects.component.ContextDispatcherIntercept
      or$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
      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 org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j
      ava:104)
      at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.
      java:152)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
      atcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
      ispatcher.java:539)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
      patcher.java:499)
      at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(Abst
      ractRequestContext.java:196)
      at org.jboss.portal.portlet.aspects.component.ContextDispatcherIntercept
      or$1.include(ContextDispatcherInterceptor.java:68)
      at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet
      .java:84)
      at org.jboss.portal.portlet.aspects.component.ContextDispatcherIntercept
      or.invoke(ContextDispatcherInterceptor.java:74)

      ...