can you help me !

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
Yolanda
Posts: 1
Joined: Tue Jul 17, 2018 4:52 am
antibot: No, of course not.

can you help me !

Post by Yolanda » Tue Jul 17, 2018 5:01 am

hi,
i am getting some weired error when working with Jsp from tomcat and same application is rurring fine from command line...
it will be great if some one can help..
i am using linux..
.java 1.4.1..
i guess as some one has already posted the same exception when he is trying access it from ColudFusion and otherwise it works...
is there any Compable Problems?

exception is:
sun.java2d.SunGraphicsEnvironment.createFontProperties()Lsun/awt/FontProperties;
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)
Root cause:
java.lang.AbstractMethodError: sun.java2d.SunGraphicsEnvironment.createFontProperties()Lsun/awt/FontProperties;
at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:95)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:7
at com.eteks.java2d.PJAGraphicsEnvironment.<init>(PJAGraphicsEnvironment.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Font.initializeFont(Font.java:303)
at java.awt.Font.<init>(Font.java:339)
at org.jfree.chart.plot.PiePlot.<clinit>(Unknown Source)
at org.jfree.chart.ChartFactory.createPieChart(Unknown Source)
at com.newbreak.reportgenerator.graphlib.NBChartUtilities.drawPieChartForRow(NBChartUtilities.java:159)
at com.newbreak.reportgenerator.graphlib.NBPieChart._generateChart(NBPieChart.java:625)
at com.newbreak.reportgenerator.graphlib.NBPieChart.generateMultipleRegressionChart(NBPieChart.java:425)
at Thanks

Post Reply