FusionCharts Forum: NullPointerException when running in Eclipse+Tomcat - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

NullPointerException when running in Eclipse+Tomcat Getting a NullPointerException when trying to run the provided sample file

#1 User is offline   exchequer598 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 19-July 10

Posted 19 July 2010 - 08:14 AM

Hey guys! Amazing job with FusionCharts.



To start off, I copied the required files (JSP renderer, the JS file and the SWF files) into my own JSP project (running Eclipse Ganymede and Apache Tomcat). I've also copied the data.xml file and the BasicCharts.jsp file to test it. Now when I run the page, I am getting an error. Here's the error log generated.




org.apache.jasper.JasperException: java.lang.NullPointerException

	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)

	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)

	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

	com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)

	com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:468)

	com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)

	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

	javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)





Am I missing some reference files? Please help! Thanks in advance:)
0

Other Replies To This Topic

#2 User is offline   exchequer598 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 19-July 10

Posted 21 July 2010 - 11:25 PM

Fixed the issue myself:D

I had not set the relative path for the SWF file, correctly!

0

Other Replies To This Topic

#3 User is offline   Sanjukta 

  • Supreme Being
  • Group: Administrators
  • Posts: 1664
  • Joined: 15-March 10

Posted 21 July 2010 - 11:52 PM

Hi,

Glad that your issue is resolved.

Keep smiling and keep FusionCharting! :D

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sanjukta

Follow us @Twitter!
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic