[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-630) NPE while trying to get resource of type img/png

Matt Wringe (JIRA) jira-events at lists.jboss.org
Fri Feb 19 16:41:10 EST 2010


    [ https://jira.jboss.org/jira/browse/GTNPORTAL-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515514#action_12515514 ] 

Matt Wringe commented on GTNPORTAL-630:
---------------------------------------

I committed a patch (r1787) )what will throw an error message if the byte[] is empty and will print any chars if present. But we still need to figure out the other main errors to this 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: PC integration
>    Affects Versions: 3.0.0-Beta04, 3.0.0-Beta05
>            Reporter: Prabhat Jha
>             Fix For: 3.0.0-GA
>
>
> 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

        


More information about the gatein-issues mailing list