Jump to content
Changes to the Jaspersoft community edition download ×

Problem with JRLoader


Recommended Posts

By: jeffrey willis - jeffrey_willis

Problem with JRLoader

2006-03-16 06:24

--Is anyone experiencing the problem that I am?

--I have a report.

--It generate once, but if I try generating it twice I get the following error stack trace:

 

 

06/03/16 08:18:15 java.lang.ClassNotFoundException: net.sf.jasperreports.engine.base.JRBaseSubreport

06/03/16 08:18:15 at java.lang.ClassLoader.findClass(ClassLoader.java:341)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

06/03/16 08:18:15 at java.lang.Class.forName0(Native Method)

06/03/16 08:18:15 at java.lang.Class.forName(Class.java:219)

06/03/16 08:18:15 at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:558)

06/03/16 08:18:15 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)

06/03/16 08:18:15 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

06/03/16 08:18:15 at java.util.ArrayList.readObject(ArrayList.java:547)

06/03/16 08:18:15 at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)

06/03/16 08:18:15 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2

5)

06/03/16 08:18:15 at java.lang.reflect.Method.invoke(Method.java:324)

06/03/16 08:18:15 at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

06/03/16 08:18:15 at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:85)

06/03/16 08:18:15 at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:62)

06/03/16 08:18:15 at mil.af.aces.eod.reports.servlets.JasperReportServlet.doGet(JasperReportServlet.java

:78)

06/03/16 08:18:15 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

06/03/16 08:18:15 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

06/03/16 08:18:15 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.j

ava:824)

06/03/16 08:18:15 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDis

patcher.java:330)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:

830)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)

06/03/16 08:18:15 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourceP

ooledExecutor.java:186)

06/03/16 08:18:15 at java.lang.Thread.run(Thread.java:534)

06/03/16 08:18:15

NESTED BY :

06/03/16 08:18:15 java.lang.ClassNotFoundException: net.sf.jasperreports.engine.base.JRBaseSubreport

06/03/16 08:18:15 at java.lang.ClassLoader.findClass(ClassLoader.java:341)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

06/03/16 08:18:15 at java.lang.Class.forName0(Native Method)

06/03/16 08:18:15 at java.lang.Class.forName(Class.java:219)

06/03/16 08:18:15 at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:558)

06/03/16 08:18:15 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)

06/03/16 08:18:15 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

06/03/16 08:18:15 at java.util.ArrayList.readObject(ArrayList.java:547)

06/03/16 08:18:15 at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)

06/03/16 08:18:15 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2

5)

06/03/16 08:18:15 at java.lang.reflect.Method.invoke(Method.java:324)

06/03/16 08:18:15 at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

06/03/16 08:18:15 at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:85)

06/03/16 08:18:15 at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:62)

06/03/16 08:18:15 at mil.af.aces.eod.reports.servlets.JasperReportServlet.doGet(JasperReportServlet.java

:78)

06/03/16 08:18:15 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

06/03/16 08:18:15 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

06/03/16 08:18:15 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.j

ava:824)

06/03/16 08:18:15 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDis

patcher.java:330)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:

830)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)

06/03/16 08:18:15 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourceP

ooledExecutor.java:186)

06/03/16 08:18:15 at java.lang.Thread.run(Thread.java:534)

06/03/16 08:18:15

NESTED BY :

06/03/16 08:18:15 net.sf.jasperreports.engine.JRException: Class not found when loading object from file : C:

projectsaces-eowebreportsBaseSummaryReport.jasper

06/03/16 08:18:15 at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:93)

06/03/16 08:18:15 at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:62)

06/03/16 08:18:15 at mil.af.aces.eod.reports.servlets.JasperReportServlet.doGet(JasperReportServlet.java

:78)

06/03/16 08:18:15 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

06/03/16 08:18:15 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

06/03/16 08:18:15 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.j

ava:824)

06/03/16 08:18:15 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDis

patcher.java:330)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:

830)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)

06/03/16 08:18:15 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)

06/03/16 08:18:15 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourceP

ooledExecutor.java:186)

06/03/16 08:18:15 at java.lang.Thread.run(Thread.java:534)

06/03/16 08:18:15 Caused by: java.lang.ClassNotFoundException: net.sf.jasperreports.engine.base.JRBaseSubrepor

t

06/03/16 08:18:15 at java.lang.ClassLoader.findClass(ClassLoader.java:341)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

06/03/16 08:18:15 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

06/03/16 08:18:15 at java.lang.Class.forName0(Native Method)

06/03/16 08:18:15 at java.lang.Class.forName(Class.java:219)

06/03/16 08:18:15 at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:558)

06/03/16 08:18:15 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)

06/03/16 08:18:15 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

06/03/16 08:18:15 at java.util.ArrayList.readObject(ArrayList.java:547)

06/03/16 08:18:15 at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)

06/03/16 08:18:15 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2

5)

06/03/16 08:18:15 at java.lang.reflect.Method.invoke(Method.java:324)

06/03/16 08:18:15 at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)

06/03/16 08:18:15 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

06/03/16 08:18:15 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

06/03/16 08:18:15 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

06/03/16 08:18:15 at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:85)

06/03/16 08:18:15 ... 11 more

 

 

--The error is being thrown by the JRLoader class.

--To be more specific Object loadObject(File file) method.

 

 

By: Teodor Danciu - teodord

RE: Problem with JRLoader

2006-03-16 07:12

 

Hi,

 

It might be related to the Orion server.

Some class loader problems in Orion came up in the past.

 

Could you deploy the same application on a different server?

 

I hope this helps.

Teodor

 

 

 

By: jeffrey willis - jeffrey_willis

RE: Problem with JRLoader

2006-03-16 11:09

Teodor,

Thanks for you response, thus right now I have the report in an application deployed on an OC4J webserver.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...