• Welcome to KonaKart Community Forum. Please login or sign up.
 

KonaKart with Magnolia integration problems

Started by AdrianB, October 19, 2010, 02:02:39 am

Previous topic - Next topic

AdrianB

Hi all,

I'm experiencing problems with konakart when coupled with Magnolia.  The problem is as detailed below, would appreciate any help with this:

1)  Enter konakart from Magnolia.  It is using the supplied sample shop.
2)  Go to my Account and login

It appears to login ok, but the following error appears in the Java console


19-Oct 11:45:25 ERROR (Include.java:doEndTag:227) Can't render paragraph template /templates/konakart/kkpara.jsp
info.magnolia.module.templating.RenderException: Can't render paragraph template /templates/konakart/kkpara.jsp
       at info.magnolia.module.templating.paragraphs.JspParagraphRenderer.onRender(JspParagraphRenderer.java:58)
       at info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:86)
       at info.magnolia.module.templating.paragraphs.AbstractParagraphRenderer.render(AbstractParagraphRenderer.java:64
)
       at info.magnolia.module.templating.engine.DefaultRenderingEngine$RenderingHelper$1.render(DefaultRenderingEngine
.java:77)
       at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:168)
       at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:124)
       at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:117)
       at info.magnolia.module.templating.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$93b3c331.render(<generated>)
       at info.magnolia.cms.taglibs.Include.doEndTag(Include.java:213)
...

Full stack trace attached.




Then if I continue:
1.  Choose an item and put it in the cart.
2.  Press checkout
3.  Press confirm

Then the browser says "Unfortunately we have encountered a malfunction.
Please contact the system administrator."
and the following is output in the Java console:


19-Oct 11:53:25 ERROR (?:handleException:?) A customer has received the following exception message: : Exception Name =
com.konakart.app.KKException : Exception Message = org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'C:/apps/konakart/templates\store1\OrderConfReceived_en.vm'
19-Oct 11:53:25 ERROR (?:handleException:?) The full exception is:
com.konakart.app.KKException: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'C:/apps/
konakart/templates\store1\OrderConfReceived_en.vm'
       at com.konakart.app.KKEng.manageThrowable(Unknown Source)
       at com.konakart.app.KKEng.sendOrderConfirmationEmail1(Unknown Source)
       at com.konakart.al.OrderMgr.sendOrderConfirmationEmail(Unknown Source)
       at com.konakart.al.OrderMgr.saveOrder(Unknown Source)
       at com.konakart.actions.CheckoutConfirmationSubmitAction.execute(Unknown Source)
       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
       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:646)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
       at com.headwire.magnolia.ForwardDoFilter.doFilter(ForwardDoFilter.java:41)
       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:233)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
       at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'C:/apps/konakart/templates\
store1\OrderConfReceived_en.vm'
       at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)
       at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)
       at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
       at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1077)
       at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:528)
       at com.konakart.bl.BaseMgr.getTemplate(Unknown Source)
       at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail1(Unknown Source)
       ... 29 more


Brian

Could you explain how you have integrated KonaKart with Magnolia?

AdrianB

Yes, I used the "Magnolia CMS Module" as indicated on the konakart site.  It points to here:
http://www.headwire.com/public/en/hw/cms/modules/konakart.html

reusr1

You're experiencing a problem with the velocity templates - the configuration in the konakart admin console for the velocity email templates should be changed to a relative path instead of the absolute path. Please let me know if this fixes the problem. If the problem goes away, I'll update the documentation. Also, try to disable email notifications for test purposes and see if everything works fine. Please keep me posted if the change works.

Thanks

Ruben

AdrianB

Sorry but could you help me with that?  I'm not sure what the relative path would be.

Currently, the Magnolia-konakart is running in
C:\apps\tomcat

and I configured the store in
C:\apps\konakart

The file in question resides in
C:\apps\konakart\templates\store1\OrderConfReceived_en.vm


I've tried changing the forward slashes to backslashes.

reusr1

have you tried to just use templates? no full path?

AdrianB

I tried it but it didn't work.  (Result stack trace is printed below).

Is it related to the NullPointerException while attempting to render kk_para.jsp?


22-Oct 11:34:46 ERROR (?:handleException:?) A customer has received the following exception message: : Exception Name =
com.konakart.app.KKException : Exception Message = org.apache.velocity.exception.ResourceNotFoundException: Unable to fi
nd resource 'templates\store1\OrderConfReceived_en.vm'
22-Oct 11:34:46 ERROR (?:handleException:?) The full exception is:
com.konakart.app.KKException: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'template
s\store1\OrderConfReceived_en.vm'
        at com.konakart.app.KKEng.manageThrowable(Unknown Source)
        at com.konakart.app.KKEng.sendOrderConfirmationEmail1(Unknown Source)
        at com.konakart.al.OrderMgr.sendOrderConfirmationEmail(Unknown Source)
        at com.konakart.al.OrderMgr.saveOrder(Unknown Source)
        at com.konakart.actions.CheckoutConfirmationSubmitAction.execute(Unknown Source)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        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:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at com.headwire.magnolia.ForwardDoFilter.doFilter(ForwardDoFilter.java:41)
        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:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'templates\store1\OrderConfR
eceived_en.vm'
        at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)
        at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)
        at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
        at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1077)
        at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:528)
        at com.konakart.bl.BaseMgr.getTemplate(Unknown Source)
        at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail1(Unknown Source)
        ... 29 more



Btw - thanks for helping with this!

reusr1

I looked into this a bit further - you need to set the following property in the konakart-velocity.properties file (found in WEB-INF/classes)

#replace with the location of your konakart installation, also configure the velocity configuration in konakart admin to template
file.resource.loader.path = C:/Program Files/KonaKart

Hope this helps. I'll have a look at the bundler to see what's going wrong there.

AdrianB

The problem is two fold:
1)  I didn't have email configured correctly.  So now I've turned off email options and now I can buy things, no worries.
2)  The display of a customer's account throws the null pointer exception, producing the stack trace as attached to the first message in this chain - strangely though, this stacktrace doesn't make it into any of the logs.

Below I've attached the log from "localhost.2010-10-26.log" in the hopes that it may shed some light on the issue.

Thanks again.


26/10/2010 10:13:41 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
26/10/2010 10:13:41 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
26/10/2010 10:18:27 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:494)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:476)
at com.konakart.al.KKAppEng.getDateAsString(Unknown Source)
at org.apache.jsp.WEB_002dINF.jsp.AfterLoginBody_jsp._jspService(AfterLoginBody_jsp.java:549)
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:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
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:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:296)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)
at org.apache.jsp.templates.konakart.kkpara_jsp._jspx_meth_c_005fimport_005f0(kkpara_jsp.java:266)
at org.apache.jsp.templates.konakart.kkpara_jsp._jspService(kkpara_jsp.java:98)
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:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
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:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at info.magnolia.context.WebContextImpl.include(WebContextImpl.java:180)
at info.magnolia.module.templating.paragraphs.JspParagraphRenderer.onRender(JspParagraphRenderer.java:56)
at info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:86)
at info.magnolia.module.templating.paragraphs.AbstractParagraphRenderer.render(AbstractParagraphRenderer.java:64)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$RenderingHelper$1.render(DefaultRenderingEngine.java:77)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:168)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:124)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:117)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$dec043d.render(<generated>)
at info.magnolia.cms.taglibs.Include.doEndTag(Include.java:213)
at org.apache.jsp.templates.konakart.simpleTemplate_jsp._jspx_meth_cms_005fincludeTemplate_005f1(simpleTemplate_jsp.java:405)
at org.apache.jsp.templates.konakart.simpleTemplate_jsp._jspx_meth_cms_005fcontentNodeIterator_005f1(simpleTemplate_jsp.java:379)
at org.apache.jsp.templates.konakart.simpleTemplate_jsp._jspService(simpleTemplate_jsp.java:196)
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:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
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:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at info.magnolia.module.templating.renderers.JspTemplateRenderer.onRender(JspTemplateRenderer.java:73)
at info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:86)
at info.magnolia.module.templating.renderers.AbstractTemplateRenderer.renderTemplate(AbstractTemplateRenderer.java:76)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$RenderingHelper$2.render(DefaultRenderingEngine.java:105)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:168)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:127)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$dec043d.render(<generated>)
at info.magnolia.module.templating.RenderingFilter.render(RenderingFilter.java:132)
at info.magnolia.module.templating.RenderingFilter.doFilter(RenderingFilter.java:92)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.BackwardCompatibilityFilter.doFilter(BackwardCompatibilityFilter.java:72)
at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:121)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:103)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:61)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:90)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:64)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:76)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:64)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:130)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:57)
at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:123)
at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:75)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:83)
at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:61)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:89)
at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:80)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at com.headwire.magnolia.EnsureKonakartInit.doFilter(EnsureKonakartInit.java:25)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:102)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:99)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:64)
at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:96)
at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:199)
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:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
26/10/2010 10:18:27 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:494)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:476)
at com.konakart.al.KKAppEng.getDateAsString(Unknown Source)
at org.apache.jsp.WEB_002dINF.jsp.AfterLoginBody_jsp._jspService(AfterLoginBody_jsp.java:549)
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:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
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:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:296)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)
at org.apache.jsp.templates.konakart.kkpara_jsp._jspx_meth_c_005fimport_005f0(kkpara_jsp.java:266)
at org.apache.jsp.templates.konakart.kkpara_jsp._jspService(kkpara_jsp.java:98)
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:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
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:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at info.magnolia.context.WebContextImpl.include(WebContextImpl.java:180)
at info.magnolia.module.templating.paragraphs.JspParagraphRenderer.onRender(JspParagraphRenderer.java:56)
at info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:86)
at info.magnolia.module.templating.paragraphs.AbstractParagraphRenderer.render(AbstractParagraphRenderer.java:64)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$RenderingHelper$1.render(DefaultRenderingEngine.java:77)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:168)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:124)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:117)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$dec043d.render(<generated>)
at info.magnolia.cms.taglibs.Include.doEndTag(Include.java:213)
at org.apache.jsp.templates.konakart.simpleTemplate_jsp._jspx_meth_cms_005fincludeTemplate_005f1(simpleTemplate_jsp.java:405)
at org.apache.jsp.templates.konakart.simpleTemplate_jsp._jspx_meth_cms_005fcontentNodeIterator_005f1(simpleTemplate_jsp.java:379)
at org.apache.jsp.templates.konakart.simpleTemplate_jsp._jspService(simpleTemplate_jsp.java:196)
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:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
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:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at info.magnolia.module.templating.renderers.JspTemplateRenderer.onRender(JspTemplateRenderer.java:73)
at info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:86)
at info.magnolia.module.templating.renderers.AbstractTemplateRenderer.renderTemplate(AbstractTemplateRenderer.java:76)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$RenderingHelper$2.render(DefaultRenderingEngine.java:105)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:168)
at info.magnolia.module.templating.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:127)
at info.magnolia.module.templating.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$dec043d.render(<generated>)
at info.magnolia.module.templating.RenderingFilter.render(RenderingFilter.java:132)
at info.magnolia.module.templating.RenderingFilter.doFilter(RenderingFilter.java:92)

AdrianB

For the above post, here I've attached the full log file.

reusr1

Unfortunately I am not able to recreate the error you described. What locale is your computer set to? have you tried to create a new account and see if it has the same problem?

Thanks