项目

一般

简介

AASV10 企业版管控台日志查看功能异常问题

佘 肃徽将近 3 年 之前添加

在管控台上进行日志文件查看时,无法显示日志数据,日志报错信息如下。

javax.el.PropertyNotFoundException: Field 'loggerName' not found in DataProvider.

at com.sun.webui.jsf.faces.DataProviderELResolver$ValueData.getValue(DataProviderELResolver.java:405)

at com.sun.webui.jsf.faces.DataProviderELResolver.getValue(DataProviderELResolver.java:154)

at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:156)

at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:184)

at com.sun.el.parser.AstValue.getValue(AstValue.java:115)

at com.sun.el.parser.AstValue.getValue(AstValue.java:179)

at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:202)

at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:2013)

at com.sun.jsftemplating.el.VariableResolver$CopyPropertyDataSource.findPropertyValue(VariableResolver.java:789)

at com.sun.jsftemplating.el.VariableResolver$PropertyDataSource.getValue(VariableResolver.java:835)

at com.sun.jsftemplating.el.VariableResolver.resolveVariables(VariableResolver.java:246)

at com.sun.jsftemplating.el.VariableResolver.resolveVariables(VariableResolver.java:482)

at com.sun.jsftemplating.component.ComponentUtil.resolveValue(ComponentUtil.java:596)

at com.sun.jsftemplating.layout.descriptors.handler.Handler.getInputValue(Handler.java:191)

at com.sun.jsftemplating.layout.descriptors.handler.HandlerContextImpl.getInputValue(HandlerContextImpl.java:136)

at com.sun.jsftemplating.handlers.UtilHandlers.write(UtilHandlers.java:154)

at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

经分析是因为由于磁盘空间不足或者手工修改过日志文件等原因,造成管控台解析日志文件失败,造成无法显示日志文件内容。

解决方案:将有问题的日志文件格式修复,或者删掉有问题的日志文件即可解决。