[JBoss JIRA] Created: (GTNPORTAL-164) Problem when click switch view mode in dashboard page
by Hang Nguyen (JIRA)
Problem when click switch view mode in dashboard page
-----------------------------------------------------
Key: GTNPORTAL-164
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-164
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-CR01
Reporter: Hang Nguyen
Fix For: 3.0.0-CR01
Steps:
- Create new page for Dashboard --> at step 3: click edit portlet --> change number of column is invalid --> show message --> OK --> display number default is: 3
- Click switch view mode --> click edit portlet --> number of column is : 0 --> don't display dashboard portlet --> Error.
java.lang.IllegalArgumentException
at org.exoplatform.portal.pom.config.tasks.DashboardTask$Save.run(DashboardTask.java:83)
at org.exoplatform.portal.pom.config.POMSession.execute(POMSession.java:289)
at org.exoplatform.portal.pom.config.POMSessionManager.execute(POMSessionManager.java:315)
at org.exoplatform.portal.pom.config.POMDataStorage.execute(POMDataStorage.java:73)
at org.exoplatform.dashboard.webui.component.UIDashboardContainer.save(UIDashboardContainer.
java:459)
at org.exoplatform.dashboard.webui.component.UIDashboardEditForm$SaveActionListener.execute(
UIDashboardEditForm.java:117)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processAction(UIFormLifecycle.java:1
15)
at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processAction(UIFormLifecycle.java:4
4)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLi
fecycle.java:58)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:112)
at org.exoplatform.webui.application.portlet.PortletApplication.processAction(PortletApplica
tion.java:165)
at org.exoplatform.webui.application.portlet.PortletApplicationController.processAction(Port
letApplicationController.java:80)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerI
mpl.java:557)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java
:505)
at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatc
her.java:42)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java
:196)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttri
buteConversationInterceptor.java:119)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherIn
terceptor.java:49)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcher
Interceptor.java:123)
at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:8
2)
at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
at org.gatein.wci.command.CommandServlet.doPost(CommandServlet.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:
86)
at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:190)
at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:
69)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterc
eptor.java:77)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportIntercepto
r.java:69)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.ja
va:117)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker
.java:230)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomization
Interceptor.java:76)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.ja
va:229)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvok
erService.java:152)
at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInv
okerService.java:173)
at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:853)
at org.exoplatform.portal.webui.application.UIPortletActionListener$ProcessActionActionListe
ner.execute(UIPortletActionListener.java:98)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecy
cle.java:117)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecy
cle.java:53)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:66)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:30)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:112)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java
:100)
at org.exoplatform.web.WebAppController.service(WebAppController.java:147)
at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(T
hreadLocalSessionProviderInitializedFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentit
yFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilt
er.java:112)
at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava: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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
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:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (GTNPORTAL-785) NPE with cache eviction at startup
by Chris Laprun (JIRA)
NPE with cache eviction at startup
----------------------------------
Key: GTNPORTAL-785
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-785
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JCR integration
Affects Versions: 3.0.0-CR01
Reporter: Chris Laprun
Fix For: 3.0.0-GA
Lots of similar errors in the logs:
2010-03-02 14:03:23,592 DEBUG [org.jboss.cache.eviction.DefaultEvictionActionPolicy] Unable to evict /$CHILD_NODES/1ef78b47c0a8011760c4f76cbb7afc8a/[http://www.gatein.org/jcr/mop/1.0/]customization:1
java.lang.NullPointerException
at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy.evict(ParentNodeEvictionActionPolicy.java:81)
at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:265)
at org.jboss.cache.eviction.BaseEvictionAlgorithm.evict(BaseEvictionAlgorithm.java:232)
at org.jboss.cache.eviction.BaseEvictionAlgorithm.prune(BaseEvictionAlgorithm.java:572)
at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:146)
at org.jboss.cache.RegionImpl.processEvictionQueues(RegionImpl.java:128)
at org.jboss.cache.eviction.EvictionTimerTask.handleRegion(EvictionTimerTask.java:115)
at org.jboss.cache.eviction.EvictionTimerTask.processRegions(EvictionTimerTask.java:107)
at org.jboss.cache.eviction.EvictionTimerTask.access$100(EvictionTimerTask.java:42)
at org.jboss.cache.eviction.EvictionTimerTask$Task.run(EvictionTimerTask.java:133)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (GTNPORTAL-288) portlets are being accessed twice during the creation or editing of a page
by Matt Wringe (JIRA)
portlets are being accessed twice during the creation or editing of a page
--------------------------------------------------------------------------
Key: GTNPORTAL-288
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-288
Project: GateIn Portal
Issue Type: Bug
Reporter: Matt Wringe
When you click on the 'Site Editor->Edit Page', one thread will try and handle this request properly, but about 30 seconds later, another thread will appear and try to access the same page. This also occurs when you are creating the page for the first time.
Steps to reproduce
1) create a break point somewhere in the code which will be hit when clicking on edit page (for example UIMainActionListener.EditCurrentPageActionListener.execute). Create another break point at UIPortalApplication.processRender
2) setup the server for debugging
3) click on the Edit Page link
4) when the first break point is reached wait
5) about 30 seconds later another thread will be trying to render the page
Expected results: no other thread should occur.
You should also be able to see in the logs that the portlets are being accessed twice.
This is causing some issues with portlets not behaving properly when a new page is created or edited.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (GTNPORTAL-630) NPE while trying to get resource of type img/png
by Prabhat Jha (JIRA)
NPE while trying to get resource of type img/png
------------------------------------------------
Key: GTNPORTAL-630
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-630
Project: GateIn Portal
Issue Type: Bug
Components: WCI integration
Affects Versions: 3.0.0-Beta05, 3.0.0-Beta04
Reporter: Prabhat Jha
To reproduce this error,
- Build and deploy portlet from http://anonsvn.jboss.org/repos/qa/prabhat/tictactoe-portlet
-Add it to home page and go to see the homepage.
You will get following exception. Please not that there is potentially a bug with bridge but in JBoss Portal, the portlet renders fine so I would expect the same over here as well.
13:24:31,867 INFO [portal:UIPortletActionListener] Try to get a resource of type: image/png for the portlet: StatefulPortletContext[local._dumbvalue,ExoPortletState[portletId=local./tictactoe-portlet.Richfaces Tic Tac Toe Portlet,state={}]]
13:24:31,868 ERROR [portal:UIPortletActionListener] Problem while serving resource for the portlet: local._dumbvalue
java.lang.NullPointerException
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:83)
at org.exoplatform.portal.webui.application.UIPortletActionListener$ServeResourceActionListener.execute(UIPortletActionListener.java:371)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:124)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:53)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:66)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:30)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:113)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:105)
at org.exoplatform.web.WebAppController.service(WebAppController.java:143)
at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpSer
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (GTNPORTAL-694) Exception when selecting Vista window decoration
by Wesley Hales (JIRA)
Exception when selecting Vista window decoration
------------------------------------------------
Key: GTNPORTAL-694
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-694
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-CR01
Reporter: Wesley Hales
Assignee: Truong Le
* Note - This works normally after the exception occured and I logged back in.
Sign In -> Edit Page (Home) -> Add any portlet -> select edit properties of new portlet window -> Decoration Themes -> Select Vista -> Save & Close -> Save the page
Then the error popup and stacktrace below occured for me...
[STDOUT] Creating a new session of the 'sample-ext'
21:30:35,585 INFO [portal:PortalSessionListener] portal' portal
21:33:25,744 ERROR [portal:UIPortalApplication] Error during the processAction phase
java.lang.NullPointerException
at org.exoplatform.portal.webui.portal.UIPortalComponent.getTemplate(UIPortalComponent.java:64)
at org.exoplatform.portal.webui.util.PortalDataMapper.toContainer(PortalDataMapper.java:112)
at org.exoplatform.portal.webui.util.PortalDataMapper.toPageModel(PortalDataMapper.java:180)
at org.exoplatform.portal.webui.util.PortalDataMapper.buildModelObject(PortalDataMapper.java:77)
at org.exoplatform.portal.webui.
Going back to the page and trying to do the same steps again, I get....
[ChromatticSessionImpl] Attempt to insert context EntityContext[state=ObjectStatus[status=TRANSIENT],mapper=EntityMapper[class=class org.gatein.mop.core.api.workspace.UIWindowImpl,typeName=mop:uiwindow]] as an existing child with name mop:70067cdf-79dd-484b-8132-d4cec25cb9ac child of node /production/mop:workspace/mop:portalsites/mop:classic/mop:rootpage/mop:children/mop:pages/mop:children/mop:homepage/mop:rootcomponent
21:34:58,595 ERROR [portal:UIPortalApplication] Error during the processAction phase
org.chromattic.api.DuplicateNameException: Attempt to insert context EntityContext[state=ObjectStatus[status=TRANSIENT],mapper=EntityMapper[class=class org.gatein.mop.core.api.workspace.UIWindowImpl,typeName=mop:uiwindow]] as an existing child with name mop:70067cdf-79dd-484b-8132-d4cec25cb9ac child of node /production/mop:workspace/mop:portalsites/mop:classic/mop:rootpage/mop:children/mop:pages/mop:children/mop:homepage/mop:rootcomponent
at org.chromattic.core.DomainSessionImpl._persist(DomainSessionImpl.java:199)
at org.chromattic.core.DomainSessionImpl._persist(DomainSessionImpl.java:170)
at org.chromattic.core.DomainSession.persist(DomainSession.java:351)
at org.chromattic.core.EntityContext.addChild(EntityContext.java:187)
at org.chromattic.core.mapper.onetomany.hierarchical.AnyChildMap.put(AnyChildMap.java:85)
at org.chromattic.core.mapper.onetomany.hierarchical.AnyChildMap.put(AnyChildMap.java:31)
at org.gatein.mop.core.api.wo
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months