[opencms-dev] Error when open OpencmsHallery

Alexander Fedorov fedorov at gridnine.com
Mon Jan 30 15:19:19 CET 2012


Hello everyone!
When I open opencms image gallery (opencms 8.0.2) I get following exception:
Can you help me?

java.lang.NullPointerException
     at 
org.opencms.ade.galleries.CmsGalleryService.search(CmsGalleryService.java:1089)
     at 
org.opencms.ade.galleries.CmsGalleryService.getSearch(CmsGalleryService.java:336)
     at 
org.opencms.ade.galleries.CmsGalleryActionElement.export(CmsGalleryActionElement.java:168)
     at 
org.opencms.ade.galleries.CmsGalleryActionElement.export(CmsGalleryActionElement.java:93)
     at 
org.opencms.ade.galleries.CmsGalleryActionElement.exportAll(CmsGalleryActionElement.java:104)
     at 
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_galleries.gallery_jsp._jspService(gallery_jsp.java:75)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
     at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
     at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
     at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
     at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
     at 
org.opencms.flex.CmsFlexRequestDispatcher.forward(CmsFlexRequestDispatcher.java:111)
     at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:514)
     at 
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)
     at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)
     at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
     at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
     at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
     at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
     at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
     at 
org.opencms.flex.CmsFlexRequestDispatcher.forward(CmsFlexRequestDispatcher.java:111)
     at 
org.opencms.util.CmsRequestUtil.forwardRequest(CmsRequestUtil.java:464)
     at 
org.opencms.workplace.CmsWorkplace.sendForward(CmsWorkplace.java:1731)
     at 
org.opencms.ade.galleries.CmsOpenGallery.openGallery(CmsOpenGallery.java:79)
     at 
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.open_005fade_005fgallery_jsp._jspService(open_005fade_005fgallery_jsp.java:53)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
     at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
     at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
     at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
     at 
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
     at 
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
     at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:612)
     at 
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
     at 
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
     at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:886)
     at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:517)
     at 
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)
     at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)
     at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
     at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
     at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
     at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
     at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
     at 
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
     at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
     at java.lang.Thread.run(Thread.java:662)



More information about the opencms-dev mailing list