Okay, so I'm working on implementing JasperReports, a free, java
reporting tool (jasperreports.sourceforge.net) within CFMX 6.1
My code looks like this:
<cfscript>
jasperManager = CreateObject("java", "dori.jasper.engine.JasperManager");
jasperDesign =
jasperManager.loadXmlDesign("E:\Inetpub\wwwroot\jasperreports\ProfServFaq.xml");
jasperReport = jasperManager.compileReport(jasperDesign);
</cfscript>
The jasperManager object is instantiated successfully.
The XML report design is loaded successfully.
Then, when compiling the report design, I get an error message, which is
at the end of this message. Basically it says compilation failed,
errors occurred. See errors above.
BUT THERE ARE NO ERRORS ABOVE.
When I compile the report using the iReports report designer tool, I saw
this same message in the output, but there were other error messages.
Presumably, stuff written to stdout or something like that, but they are
not actually exceptions, they're error messages printed out by the
compiler, and then the compiler throws an exception if there were any
errors.
Unfortunately, I can't see the errors that it generates, because either
coldfusion isn't storing them, or I don't know where they're being put.
They are *NOT* in any of the log files in the main log directory.
I know it's a stretch, but does anyone here have any idea how I might
find those errors?
(Yes, I will also ask on the jasper reports list)
- Rick
"Error","jrpp-0","05/19/04","13:06:04","ADSWEB","Errors were encountered
when compiling report expressions class file: See error messages above.
The specific sequence of files included or processed is:
E:\Inetpub\wwwroot\jasperreports\index.cfm "
dori.jasper.engine.JRException: Errors were encountered when compiling
report expressions class file:
See error messages above.
at
dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:154)
at
dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136)
at
dori.jasper.engine.JasperCompileManager.compileReport(JasperCompileManager.java:196)
at dori.jasper.engine.JasperManager.compileReport(JasperManager.java:982)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:74)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1622)
at
cfindex2ecfm564073538.runPage(E:\Inetpub\wwwroot\jasperreports\index.cfm:37)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Re: Where are my java errors? Rick Root
- Re: Where are my java errors? Rick Root