注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

和申的个人主页

专注于java开发,1985wanggang

 
 
 

日志

 
 

No JFreeChart object found on the stack with name chart 问题java.lang.NullPointerException: No JFreeChart object found on the stack with name chart 在linux上问题  

2010-09-09 22:59:21|  分类: 项目开发 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

 解決辦法:參考下面的文章:

JFreeChart在Linux下图片不显示:http://1985wanggang.blog.163.com/blog/static/7763833201089112012161/

jfreechart 在linux上中文乱码问题解决办法:http://1985wanggang.blog.163.com/blog/static/77638332010891150250/


[21:01:06.418] Caught an exception while evaluating expression 'chart' against value stack
[21:01:06.418] Caught an Ognl exception while getting property chart - Class: ognl.OgnlRuntime
[21:01:06.418] File: OgnlRuntime.java
[21:01:06.418] Method: getMethodValue
[21:01:06.418] Line: 1416 - ognl/OgnlRuntime.java:1416:-1
[21:01:06.418]  at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:130)
[21:01:06.418]  at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2210)
[21:01:06.418]  at ognl.ASTProperty.getValueBody(ASTProperty.java:114)
[21:01:06.418]  at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
[21:01:06.418]  at ognl.SimpleNode.getValue(SimpleNode.java:258)
[21:01:06.418]  at ognl.Ognl.getValue(Ognl.java:494)
[21:01:06.418]  at com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:206)
[21:01:06.418]  at com.opensymphony.xwork2.ognl.OgnlValueStack.findValue(OgnlValueStack.java:276)
[21:01:06.418]  at com.opensymphony.xwork2.ognl.OgnlValueStack.findValue(OgnlValueStack.java:303)
[21:01:06.418]  at org.apache.struts2.dispatcher.ChartResult.execute(ChartResult.java:179)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:362)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)
[21:01:06.418]  at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
[21:01:06.418]  at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
[21:01:06.418]  at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
[21:01:06.418]  at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
[21:01:06.418]  at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
[21:01:06.418]  at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
[21:01:06.418]  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
[21:01:06.418]  at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
[21:01:06.418]  at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
[21:01:06.418]  at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
[21:01:06.418]  at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
[21:01:06.418]  at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
[21:01:06.418]  at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
[21:01:06.418]  at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
[21:01:06.418]  at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
[21:01:06.418]  at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
[21:01:06.418]  at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)
[21:01:06.418]  at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)
[21:01:06.418]  at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)
[21:01:06.418]  at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
[21:01:06.418]  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
[21:01:06.418]  at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73)
[21:01:06.418]  at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
[21:01:06.418]  at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
[21:01:06.418]  at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[21:01:06.418]  at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)
[21:01:06.418]  at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)
[21:01:06.418]  at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)
[21:01:06.418]  at java.lang.Thread.run(Thread.java:619)
[21:01:06.418] Caused by: ognl.OgnlException: chart [java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart]
[21:01:06.418]  at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1416)
[21:01:06.418]  at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60)
[21:01:06.418]  at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:147)
[21:01:06.418]  at com.opensymphony.xwork2.ognl.accessor.ObjectAccessor.getProperty(ObjectAccessor.java:17)
[21:01:06.418]  at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2210)
[21:01:06.418]  at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:125)
[21:01:06.418]  ... 88 more
[21:01:06.418] Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart
[21:01:06.418]  at org.jfree.chart.ChartFactory.createPieChart(ChartFactory.java:338)
[21:01:06.418]  at com.my163.action.reportmanage.PieChartAction.getChart(PieChartAction.java:72)
[21:01:06.418]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[21:01:06.418]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[21:01:06.418]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[21:01:06.418]  at java.lang.reflect.Method.invoke(Method.java:597)
[21:01:06.418]  at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:851)
[21:01:06.418]  at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1414)
[21:01:06.418]  ... 93 more

 

 解決辦法:參考下面的文章:

JFreeChart在Linux下图片不显示:http://1985wanggang.blog.163.com/blog/static/7763833201089112012161/

jfreechart 在linux上中文乱码问题解决办法:http://1985wanggang.blog.163.com/blog/static/77638332010891150250/



统计信息唧唧歪歪唧唧网ggyygg.net
  评论这张
 
阅读(2955)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2016