[JBoss JIRA] Created: (GTNPORTAL-944) Improve Error Management in Skin Service
by Tugdual Grall (JIRA)
Improve Error Management in Skin Service
----------------------------------------
Key: GTNPORTAL-944
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-944
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: User Interface, WebUI
Affects Versions: 3.0.0-GA
Reporter: Tugdual Grall
When creating new Skin the developer/web designer has multiple place files to modify to set the correct name/uri of the skin
- web.xml should contains the name
- Stylesheet.css should do a reference to the correct webapp root
- ...
When one of this name is not corect, the system is not working and some error are raised.
For example a NPE is raised when the main CSS is not corrected configure, this occurs when the
skin-web-app/skin/StyleSheet.css does not contais the correct URI
@import url(<INVALIDURI>/UIPortalApplicationSkin.css);
Trace:
SEVERE: Could not render css /gatein-training-skin/skin/Stylesheet-lt.css
java.lang.NullPointerException
at org.exoplatform.portal.resource.SkinService.processCSSRecursively(SkinService.java:437)
at org.exoplatform.portal.resource.SkinService.processCSS(SkinService.java:429)
at org.exoplatform.portal.resource.SkinService.renderCSS(SkinService.java:341)
at org.exoplatform.portal.application.ResourceRequestFilter.doFilter(ResourceRequestFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: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:191)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:637)
We should put proper message in the log file with the place where the configuration is not correct.
for example:
- Invalid <CSS FILE> configuration, Skin service cannot load the skin "TrainingSkin/UIPortalApplicationSkin.css"
--
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
13 years, 11 months
[JBoss JIRA] Created: (GTNPORTAL-784) Exception at startup in the log file
by Chris Laprun (JIRA)
Exception at startup in the log file
------------------------------------
Key: GTNPORTAL-784
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-784
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Identity integration
Affects Versions: 3.0.0-CR01
Reporter: Chris Laprun
Assignee: Chris Laprun
Fix For: 3.0.0-GA
2010-03-02 13:59:25,268 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Attempt to load file war:/conf/portal/group/template/group/pages.xml
2010-03-02 13:59:25,269 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group/template/group/pages.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group/template/group/pages.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
at org.exoplatform.container.configuration.ConfigurationManagerImpl.getInputStream(ConfigurationManagerImpl.java:274)
at org.exoplatform.portal.config.NewPortalConfigListener.getDefaultConfig(NewPortalConfigListener.java:482)
at org.exoplatform.portal.config.NewPortalConfigListener.getConfig(NewPortalConfigListener.java:440)
at org.exoplatform.portal.config.NewPortalConfigListener.createPage(NewPortalConfigListener.java:364)
at org.exoplatform.portal.config.UserPortalConfigService.createUserPortalConfig(UserPortalConfigService.java:310)
at org.exoplatform.portal.config.UserPortalConfigService.createGroupSite(UserPortalConfigService.java:276)
at org.exoplatform.portal.config.GroupPortalConfigListener.preSave(GroupPortalConfigListener.java:145)
at org.exoplatform.services.organization.idm.GroupDAOImpl.preSave(GroupDAOImpl.java:482)
at org.exoplatform.services.organization.idm.GroupDAOImpl.addChild(GroupDAOImpl.java:110)
at org.exoplatform.services.organization.OrganizationDatabaseInitializer.createGroups(OrganizationDatabaseInitializer.java:114)
at org.exoplatform.services.organization.OrganizationDatabaseInitializer.init(OrganizationDatabaseInitializer.java:73)
at org.exoplatform.services.organization.BaseOrganizationService.start(BaseOrganizationService.java:76)
at org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl.start(PicketLinkIDMOrganizationServiceImpl.java:100)
Similar exceptions also happen for other resources:
2010-03-02 13:59:25,267 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group//organization/communication/pages.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group//organization/communication/pages.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
010-03-02 13:59:25,270 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group//organization/communication/navigation.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group//organization/communication/navigation.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
2010-03-02 13:59:25,271 DEBUG [org.exoplatform.portal.config.NewPortalConfigListener] Could not get file war:/conf/portal/group/template/group/navigation.xml will return null instead
java.io.IOException: Resource (war:/conf/portal/group/template/group/navigation.xml) could not be found or the invoker doesn't have adequate privileges to get the resource
...
--
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
13 years, 11 months
[JBoss JIRA] Created: (GTNPORTAL-768) unknown error when click edit layout of Dashboard
by Hang Nguyen (JIRA)
unknown error when click edit layout of Dashboard
-------------------------------------------------
Key: GTNPORTAL-768
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-768
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-CR01
Reporter: Hang Nguyen
Steps:
- Go to Dashboard page
- Click edit layout
=> Unknown error.
java.lang.NullPointerException
at org.exoplatform.portal.webui.workspace.UIMainActionListener$EditInlineActionListener.exec
ute(UIMainActionListener.java:142)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:56)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:74)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:38)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:115)
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(AbstractHttpServlet.java:116)
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.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:75)
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:619)
--
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
13 years, 11 months