我收到来自webreporting.jar的错误消息,这是水晶报告jar。有人可以帮我找到我收到此错误的原因。
11:47:59,828错误 [com.businessobjects.report.web.shared.JSONParameter] (http-localhost-127.0.0.1-8080-5)无法设置祖先: com.businessobjects.report.web.json.JSONException: JSONObject ["祖先"]不是JSONArray。在 com.businessobjects.report.web.json.JSONObject.getJSONArray(JSONObject.java:456) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.shared.JSONParameter.getDiscreteValueFromJSON(JSONParameter.java:708) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.shared.JSONParameter.getValueFromJSON(JSONParameter.java:635) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.shared.JSONParameter.jsonToFieldValues(JSONParameter.java:592) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.shared.JSONParameter.getValues(JSONParameter.java:455) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.shared.JSONParameter.toParameterField(JSONParameter.java:919) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.shared.ParametersHelper.jsonToFields(ParametersHelper.java:326) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.state.ViewerState.restoreCommonState(ViewerState.java:2872) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.state.ViewerState.restore(ViewerState.java:2775) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.component.ViewerContainer.restoreState(ViewerContainer.java:211) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.WorkflowController.loadViewState(WorkflowController.java:418) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.WorkflowController.init(WorkflowController.java:393) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.WorkflowController.doLifecycle(WorkflowController.java:252) [webreporting.jar:14.1.2.1171] at com.businessobjects.report.web.WorkflowController.doAsyncLifecycle(WorkflowController.java:106) [webreporting.jar:14.1.2.1171] at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater._processHttpRequest(CrystalReportViewerUpdater.java:61) [webreporting.jar:14.1.2.1171] at com.crystaldecisions.report.web.ServerControl.processHttpRequest(ServerControl.java:345) [webreporting.jar:14.1.2.1171] at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doUpdate(CrystalReportViewerServlet.java:206) [webreporting.jar:14.1.2.1171] at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(CrystalReportViewerServlet.java:194) [webreporting.jar:14.1.2.1171] at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:] at org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint $ Worker.run(JIoEndpoint.java:930) java.lang.Thread.run上的[jbossweb-7.0.10.Final.jar:](未知来源) [rt.jar:1.7.0_76]我在某处读到了log4j和 将它们放入WEB-INF / classes文件夹中,这将解决问题。 但它不适合我。我是水晶报道的新手。