[JBoss JIRA] Created: (GTNPORTAL-1387) NPE on portlet's edit mode when edit mode is not supported
by Prabhat Jha (JIRA)
NPE on portlet's edit mode when edit mode is not supported
----------------------------------------------------------
Key: GTNPORTAL-1387
URL: https://jira.jboss.org/browse/GTNPORTAL-1387
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Prabhat Jha
Fix For: 3.2.0-GA
I have not been able to reproduce it again but this was my workflow:
- Deploy a JSF based portlet which only supports VIEW and HELP mode
- Add the portlet to home page under Edit page and click on its edit icon (pencil).
It throws following exception
2010-07-29 14:00:33,426 ERROR [portal:UIPortletForm] 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(GroovyScript.java:95)
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
at org.exoplatform.webui.form.UIForm.processRender(UIForm.java:191)
at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
at sun.reflect.GeneratedMethodAccessor489.invoke(Unknown Source)
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.AbstractCallSite.call(AbstractCallSite.java:121)
at UIMaskWorkspace.run(UIMaskWorkspace.gtmpl:30)
at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
Looking at source:
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (GTNPORTAL-1538) Remove Shindig warnings at startup
by kien nguyen (JIRA)
Remove Shindig warnings at startup
----------------------------------
Key: GTNPORTAL-1538
URL: https://jira.jboss.org/browse/GTNPORTAL-1538
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: kien nguyen
Priority: Minor
At startup, the following Warning appears.
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsFeatureLoader loadFeatures
INFO: Loading resources from: features/features.txt
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: com/google/caja/plugin/domita-minified.opt.js-Can not locate resource: com/google/caja/plugin/domita-minified.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: features/caja/caja.opt.js-Can not locate resource: features/caja/caja.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: com/google/caja/plugin/valija.co.opt.js-Can not locate resource: com/google/caja/plugin/valija.co.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js-Can not locate resource: com/google/caja/plugin/html-sanitizer-minified.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterProvider <init>
INFO: Using random key for OAuth client-side state encryption
Even if they are not the sign of a real problem, they should be removed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months