[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-1975) JSR168 compliant Portlet throws NullPointerException
Khoi Nguyen (JIRA)
jira-events at lists.jboss.org
Fri Sep 16 06:00:27 EDT 2011
[ https://issues.jboss.org/browse/GTNPORTAL-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628794#comment-12628794 ]
Khoi Nguyen commented on GTNPORTAL-1975:
----------------------------------------
Can you set the logging mode is debug, and let me know what is message in the log before the exception.
We need to check scriptUrl value before getRequestDispatcher, if it's null or not start with '/', that is definitely Alfresco issue, otherwise we'll clearly understand what's problem.
I see in the Alfresco source code at http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/slingshot/source/java/org/alfresco/web/portlet/ProxyPortlet.java, there is a log with debug mode
{code}
if (logger.isDebugEnabled())
logger.debug("Processing portal render request " + req.getScheme() + "://" + req.getServerName() + ":"
+ req.getServerPort() + "/" + req.getContextPath() + " (scriptUrl=" + scriptUrl + ")");
{code}
> JSR168 compliant Portlet throws NullPointerException
> ----------------------------------------------------
>
> Key: GTNPORTAL-1975
> URL: https://issues.jboss.org/browse/GTNPORTAL-1975
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Common integration
> Affects Versions: 3.1.0-GA
> Environment: JBoss EPP 5.1.0, Alfresco Community 3.4.d, Alfresco Share Portlets
> Reporter: Georg Fleischer
> Assignee: Khoi Nguyen
> Labels: Alfresco, NullPointerException, Portlet, portal-s60
> Attachments: stacktrace.txt
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> I have encountered a problem with a portlet for the Enterprise Content Management System Alfresco.
> They provide a portlet "Alfresco Share Repository Browser" which throws an exception in the portal.
> I have informed Alfresco about this issue, but they only use the JSR168 compliant API.
> So they advised me to forward this issue to JBoss, since the NPE is coming from Gatein.
> The original issue was published on the Alfresco issue tracker:
> http://issues.alfresco.com/jira/browse/ALF-9336
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list