Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Shravan  
#1 Posted : Tuesday, July 26, 2011 1:31:52 AM(UTC)
Shravan

Rank: Newbie

Groups: Member
Joined: 7/26/2011(UTC)
Posts: 4

Downloaded ImageUploaderFlashNoSetup zip package and copied all the folders and setup in the eclipse IDE. But when I run index.jsp I see this below error. There are no dependency errors!!

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at com.aurigma.web.imageuploaderflash.DemoData.getAttributeValue(DemoData.java:159)
at com.aurigma.web.imageuploaderflash.DemoData.isSelectedDemo(DemoData.java:146)
at org.apache.jsp.WEB_002dINF.layouts.main_jsp._jspService(main_jsp.java:163)
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:386)
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.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:624)
at com.aurigma.web.template.LayoutTag.doEndTag(LayoutTag.java:23)
at org.apache.jsp.index_jsp._jspx_meth_template_005flayout_005f0(index_jsp.java:108)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:67)
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:386)
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.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:859)
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)
Jul 26, 2011 2:39:53 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: An exception occurred processing JSP page /WEB-INF/layouts/../jspf/menu.jspf at line 26

23: }
24: NamedNodeMap attributes = level2Node.getAttributes();
25: %>
26: <li class="<%= demoData.isSelectedDemo(level2Node) ? "selected" : ""%>">
27: <a href="<%= demoData.getRootUrl() + "/" + attributes.getNamedItem("url").getTextContent()%>">
28: <%= attributes.getNamedItem("title").getTextContent()%>
29: </a>


Stacktrace:
at com.aurigma.web.template.LayoutTag.doEndTag(LayoutTag.java:25)
at org.apache.jsp.index_jsp._jspx_meth_template_005flayout_005f0(index_jsp.java:108)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:67)
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:386)
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.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:859)
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)


Please, let me know what could be the issue?
Thank You.
Dmitry.Obukhov  
#2 Posted : Tuesday, July 26, 2011 2:55:03 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Administration
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

Thanks for contacting us.

This error is seemed very strange. I looked through our earlier records. Unfortunately, we have not got any similar reports from our other clients. Also, I could not replicate the problem locally.
Please be sure that you copied all folders and files of JSP sample and check whether these folders have read/write permissions. You can try to run the project on Apache Tomcat server first.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Shravan  
#3 Posted : Wednesday, July 27, 2011 12:55:11 AM(UTC)
Shravan

Rank: Newbie

Groups: Member
Joined: 7/26/2011(UTC)
Posts: 4

Thank You. Got it working
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.