<P>
  <BR>
Hi All,<BR>
<BR>
I am trying to build a BreadCrumb portion for my webpages....<BR>
<BR>
I have created a breadcrumb.jsp in which the breadcrumb code goes and just included this file in my template.<BR>
<BR>
**************<breadcrumb.jsp   start>*************<BR>
<BR>
<%@page buffer="none" session="false" import="org.opencms.jsp.*, org.opencms.file.*, java.util.*" %><%<BR>
<BR>
// initialize action element to access the API<BR>
CmsJspNavBuilder cms = new CmsJspNavBuilder(new CmsJspBean().getCmsObject());<BR>
List li = cms.getNavigationBreadCrumb();  //getting error in this line<BR>
%><%= li %><BR>
<BR>
**************<breadcrumb.jsp   end>*************<BR>
<BR>
**************< The Error starts >***************<BR>
java.lang.NullPointerException<BR>
     at org.opencms.jsp.CmsJspNavBuilder.init(CmsJspNavBuilder.java:735)<BR>
     at org.opencms.jsp.CmsJspNavBuilder.<init>(CmsJspNavBuilder.java:146)<BR>
     at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_hello_www.elements.breadcrumb_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_hello_www.elements.breadcrumb_jsp:46)<BR>
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<BR>
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR>
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)<BR>
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)<BR>
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)<BR>
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR>
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR>
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<BR>
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<BR>
     at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)<BR>
     at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:193)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)<BR>
     at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:402)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)<BR>
     at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:215)<BR>
     at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:346)<BR>
     at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_habibcms_www.templates.habibcmstemplate_jsp._jspx_meth_cms_include_2(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_habibcms_www.templates.habibcmstemplate_jsp:853)<BR>
     at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_habibcms_www.templates.habibcmstemplate_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_habibcms_www.templates.habibcmstemplate_jsp:244)<BR>
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<BR>
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR>
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)<BR>
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)<BR>
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)<BR>
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR>
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR>
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<BR>
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<BR>
     at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)<BR>
     at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:193)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)<BR>
     at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:402)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)<BR>
     at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)<BR>
     at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:434)<BR>
     at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:381)<BR>
     at org.opencms.loader.CmsXmlPageLoader.load(CmsXmlPageLoader.java:213)<BR>
     at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:711)<BR>
     at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1302)<BR>
     at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:136)<BR>
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)<BR>
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<BR>
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<BR>
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<BR>
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<BR>
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<BR>
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<BR>
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<BR>
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<BR>
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<BR>
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)<BR>
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)<BR>
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<BR>
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)<BR>
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<BR>
     at java.lang.Thread.run(Thread.java:595)<BR>
<BR>
**************< The Error END >*************************<BR>
<BR>
Any one please guide how to create a bread crumb in my web pages...<BR>
<BR>
<BR>

</P>


Regards, <br>
Syed Mujahid Basha, <br>
GCI Solutions Pvt. Limited, <br>
www.g-c-i.com, <br>
Bangalore. <br>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>