[gatein-issues] [JBoss JIRA] Resolved: (GTNPORTAL-1792) NPE on portlet's edit mode in composer while working in front

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Thu Feb 10 22:28:46 EST 2011


     [ https://issues.jboss.org/browse/GTNPORTAL-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Minh Hoang TO resolved GTNPORTAL-1792.
--------------------------------------

    Resolution: Done


> NPE on portlet's edit mode in composer while working in front
> -------------------------------------------------------------
>
>                 Key: GTNPORTAL-1792
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-1792
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1.0-GA
>         Environment: Gate In 3.1 GA
>            Reporter: Tugdual Grall
>            Assignee: Minh Hoang TO
>              Labels: portal-s47
>         Attachments: portlet-very-simple-no-logic.zip
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 1. Create a very simple portlet with 3 modes: view, help, edit
> 			<portlet-mode>view</portlet-mode>
> 			<portlet-mode>edit</portlet-mode>
> 			<portlet-mode>help</portlet-mode>
>    
> 2. Add the logic to call these 3 modes, calling JSPs
> 3. Import the portlet and drop it on a page
> 4. In the Edit Page mode (Composer) click on the pencil :
>     > NPE
> While the edit more from the front is working correctly (Call edit in the window decoration drop down list)
> Exception:
> Feb 10, 2011 4:46:01 PM org.exoplatform.portal.webui.application.UIPortletForm getEditModeContent
> SEVERE: The portlet null could not be loaded. Check if properly deployed.
> java.lang.NullPointerException
> 	at java.lang.String.<init>(String.java:515)
> 	at org.exoplatform.portal.webui.application.UIPortletForm.getEditModeContent(UIPortletForm.java:221)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> 	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
> 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
> 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
> 	at UIPortletForm.run(UIPortletForm.gtmpl:55)
> 	at org.exoplatform.groovyscript.GroovyScript.render(GroovySc

--
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