ireport 报表技术

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0
	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)

 

root cause

net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0
	net.sf.jasperreports.engine.JRHyperlinkHelper.getLinkTarget(JRHyperlinkHelper.java:273)
	net.sf.jasperreports.engine.base.JRBaseTextField.normalizeLinkTarget(JRBaseTextField.java:317)
	net.sf.jasperreports.engine.base.JRBaseTextField.readObject(JRBaseTextField.java:381)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	java.util.ArrayList.readObject(ArrayList.java:593)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
	java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
	java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:92)
	net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:68)
	org.apache.jsp.index_jsp._jspService(index_jsp.java:82)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
	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)

 

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.


Apache Tomcat/6.0.24

 

错误原因:

工具制作出来的 *.jrxml *.jasper 和你程序中提供的jar包冲突,换句话说 就是 jar最好和工具的版本保持一致

你可能感兴趣的:(IREPORT)