Details
-
Assistance
-
Resolution: Done
-
Critical
-
None
-
None
Description
I was testing with the cg21 templates (sent by Pôl) and added some pages. After adding a new page, I get the following errors and although I am logged on and in EDIT mode the toolbar is not appearing.
It could be related to the way he is creating the link to open the AddContainer_Engine (perhaps ask him to give you the templates in order to check). But anyway the toolbar should not be so fragile and perhaps you can find a more robust way to not cause the disappearing.
2009-04-27 19:34:06,656: ERROR [http-127.0.0.1-8080-4] AbstractJahiaGWTServiceImpl, org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl: org.jahia.exceptions.JahiaException: User message=404 Page not found, System message=Page does not exist : -1
org.jahia.exceptions.JahiaException: User message=404 Page not found, System message=Page does not exist : -1
at org.jahia.data.JahiaData.buildData(JahiaData.java:144)
at org.jahia.data.JahiaData.<init>(JahiaData.java:86)
at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.buildJahiaData(AbstractJahiaGWTServiceImpl.java:227)
at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.retrieveJahiaData(AbstractJahiaGWTServiceImpl.java:202)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.getGWTToolbars(ToolbarServiceImpl.java:109)
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 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...
2009-04-27 19:34:06,937: ERROR [http-127.0.0.1-8080-4] Visibility, org.jahia.services.toolbar.bean.Visibility: Error in getRealValue
java.lang.NullPointerException
at org.jahia.services.toolbar.bean.Visibility.getRealValue(Visibility.java:143)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTToolbarSet(ToolbarServiceImpl.java:145)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.getGWTToolbars(ToolbarServiceImpl.java:117)
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 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
...
2009-04-27 19:34:07,281: ERROR [http-127.0.0.1-8080-4] Selected, org.jahia.services.toolbar.bean.Selected:
java.lang.NullPointerException
at org.jahia.services.toolbar.resolver.impl.OperationModeSelectedResolver.isSelected(OperationModeSelectedResolver.java:53)
at org.jahia.services.toolbar.bean.Selected.getRealValue(Selected.java:85)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTItem(ToolbarServiceImpl.java:474)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTItemsGroup(ToolbarServiceImpl.java:413)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTToolbar(ToolbarServiceImpl.java:310)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTToolbarSet(ToolbarServiceImpl.java:146)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.getGWTToolbars(ToolbarServiceImpl.java:117)
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 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
...
2009-04-27 19:34:07,453: ERROR [http-127.0.0.1-8080-4] JahiaItemsGroupFactoryImpl, org.jahia.ajax.gwt.templates.components.toolbar.server.factory.impl.JahiaItemsGroupFactoryImpl: Error while creating change site link
java.lang.NullPointerException
at org.jahia.ajax.gwt.templates.components.toolbar.server.factory.impl.JahiaItemsGroupFactoryImpl.populateWithChangeSiteItems(JahiaItemsGroupFactoryImpl.java:211)
at org.jahia.ajax.gwt.templates.components.toolbar.server.factory.impl.JahiaItemsGroupFactoryImpl.populateItemsList(JahiaItemsGroupFactoryImpl.java:106)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTItemsGroup(ToolbarServiceImpl.java:428)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTToolbar(ToolbarServiceImpl.java:310)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.createGWTToolbarSet(ToolbarServiceImpl.java:146)
at org.jahia.ajax.gwt.templates.components.toolbar.server.ToolbarServiceImpl.getGWTToolbars(ToolbarServiceImpl.java:117)
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 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.jahia.ajax.gwt.commons.server.AbstractJahiaGWTServiceImpl.service(AbstractJahiaGWTServiceImpl.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...