[
https://jira.jboss.org/jira/browse/GTNPORTAL-242?page=com.atlassian.jira....
]
LiemNC reassigned GTNPORTAL-242:
--------------------------------
Assignee: LiemNC
IllegalArgumentException when input invalid URL of portal
---------------------------------------------------------
Key: GTNPORTAL-242
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-242
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta02
Reporter: Hang Nguyen
Assignee: LiemNC
Fix For: 3.0.0-Beta03
Original Estimate: 4 hours
Remaining Estimate: 4 hours
Run tomcat
Input URL to access GateIn is invalid:
http://localhost:8080/portal/public or private
--> click enter --> show exception
java.lang.IllegalArgumentException: No empty name accepted
at org.chromattic.common.JCR.validateName(JCR.java:99)
at org.chromattic.core.DomainSession.encodeName(DomainSession.java:337)
at org.chromattic.core.DomainSessionImpl._getChild(DomainSessionImpl.java:436)
at org.chromattic.core.DomainSession.getChild(DomainSession.java:480)
at org.chromattic.core.EntityContext.getChild(EntityContext.java:227)
at
org.chromattic.core.mapper.onetomany.hierarchical.AnyChildMap.get(AnyChildMap.java:54)
at
org.gatein.mop.core.api.workspace.SiteContainer.getSite(SiteContainer.java:52)
at
org.gatein.mop.core.api.workspace.WorkspaceImpl.getSite(WorkspaceImpl.java:124)
at
org.exoplatform.portal.pom.config.tasks.PortalConfigTask$Load.run(PortalConfigTask.java:2
29)
at org.exoplatform.portal.pom.config.POMSession.execute(POMSession.java:328)
at
org.exoplatform.portal.pom.config.ExecutorDispatcher.execute(ExecutorDispatcher.java:41)
at
org.exoplatform.portal.pom.config.TaskExecutionDecorator.execute(TaskExecutionDecorator.j
ava:36)
at org.exoplatform.portal.pom.config.cache.DataCache.read(DataCache.java:137)
at org.exoplatform.portal.pom.config.cache.DataCache.execute(DataCache.java:62)
at
org.exoplatform.portal.pom.config.POMDataStorage.execute(POMDataStorage.java:123)
at
org.exoplatform.portal.pom.config.POMDataStorage.getPortalConfig(POMDataStorage.java:132)
at
org.exoplatform.portal.config.DataStorageImpl.getPortalConfig(DataStorageImpl.java:259)
at
org.exoplatform.portal.config.DataStorageImpl.getPortalConfig(DataStorageImpl.java:117)
at
org.exoplatform.portal.config.UserPortalConfigService.getUserPortalConfig(UserPortalConfi
gService.java:126)
at
org.exoplatform.portal.application.PortalStateManager.getUserPortalConfig(PortalStateMana
ger.java:176)
at
org.exoplatform.portal.application.PortalStateManager.restoreUIRootComponent(PortalStateM
anager.java:103)
at
org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java
:92)
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