[JBoss JIRA] Created: (GTNPORTAL-769) NPE when input invalid URL in portal
by Hang Nguyen (JIRA)
NPE when input invalid URL in portal
------------------------------------
Key: GTNPORTAL-769
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-769
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-CR01
Reporter: Hang Nguyen
- run tomcat
- input URL: http://localhost:8080/portal/login
- Click enter
=> Show exception in cygwin
java.lang.NullPointerException: Username is null
at org.exoplatform.web.security.Credentials.<init>(Credentials.java:52)
at org.exoplatform.web.login.PortalLoginController.doGet(PortalLoginController.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at org.exoplatform.container.web.AbstractHttpServlet.onService(AbstractHttpServlet.java:167)
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:433)
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, 10 months
[JBoss JIRA] Created: (GTNPORTAL-790) Page doesn't display when created in pages.xml
by Benjamin Janssens (JIRA)
Page doesn't display when created in pages.xml
----------------------------------------------
Key: GTNPORTAL-790
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-790
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.0.0-CR01
Environment: Windows xp, firefox 3.6, IE 8, Chrome 4
Reporter: Benjamin Janssens
Priority: Minor
I created a node and a page in
\server\default\deploy\gatein.ear\02portal.war\WEB-INF\conf\portal\portal\classic\navigation.xml and pages.xml
navigation.xml :
<node>
<uri>testmnode</uri>
<name>test</name>
<label>Test</label>
<visible>true</visible>
<page-reference>portal::classic::testPage</page-reference>
</node>
pages.xml
<page>
<name>testPage</name>
<title>Test</title>
<access-permissions>Everyone</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
</page>
The node is displayed correctly into the portal. If I clicked on the node, the URL change, but nothing happens. I have to edit the node with the edit navigation panel, then go to the selector page (the page is displayed as selected) just click save, then save the node and then the page is displayed when I click on the node.
--
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, 10 months