Dominik,

Thanks for your answer.  I've added the parameter you specified into the 
command line of the app server, and checked for the presence of 
jdt-compiler.jar in the classpath, jdt-compiler-3.1.1.jar is in WEB-INF/lib of 
the war file.  Both of these didn't help to resolve the issue.  

Furthermore, I've discovered that almost every 'source' link in the sample 
breaks with the following error:

java.lang.NullPointerException
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.(FileInputStream.java:103)
        at java.io.FileInputStream.(FileInputStream.java:66)
        at jsp_servlet._jsp.__source._jspService(__source.java:135)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
        at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
        at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

whereas any execute link breaks with the NPE error I've posted before.

Please help!!!
Simeon

-----Original Message-----
From: Dominik Dary [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 11:16 AM
To: 'Leyzerzon, Simeon'
Subject: AW: [jasperreports-questions] JRXML Compilation Error


Hello,

check the folowing things:

- jdt-compiler jar in classpath 
- start the appserver with the following param: 
        
        '-Djava.awt.headless=true'

Kind regards

Dominik Dary

Software Engineer
-------------------------------------------------------

Active Information Concept GmbH
Johannes-Gutenberg-Str. 3
21337 Lüneburg
Germany

E-Mail: [EMAIL PROTECTED]

Tel: +49 (0)4131 400 52 56
Fax: +49 (0)4131 400 52 10
http://www.a-i-c.de

-------------------------------------------------------
The information contained in this message is confidential or protected
by law. 
If you are not the intended recipient, please contact the sender and
delete this message. 
Any unauthorised copying of this message or unauthorised distribution of
the information contained herein is prohibited. 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im
> Auftrag von Leyzerzon, Simeon
> Gesendet: Montag, 26. Juni 2006 16:50
> An: 'jasperreports-questions@lists.sourceforge.net'
> Betreff: [jasperreports-questions] JRXML Compilation Error
> 
> Hi,
> 
> I've just downloaded the jasperreport distribution and am doing some
> experimentation with it.
> I build the jasper-webapp war and deployed in on WebLogic 8.1 sp2.
> When running the example and clicking on the link to compile JRXML,
> I'm encountering the following error:
> 
> java.lang.NullPointerException
>       at java.io.File.<init>(File.java:180)
>       at
> net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(J
> asperCompileManager.java:79)
>       at servlets.CompileServlet.service(CompileServlet.java:66)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(
> ServletStubImpl.java:971)
>       at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
> l.java:402)
>       at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
> l.java:305)
>       at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction
> .run(WebAppServletContext.java:6350)
>       at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
> Subject.java:317)
>       at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
> 18)
>       at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSer
> vletContext.java:3635)
>       at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImp
> l.java:2585)
>       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
>       at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> >
> 
> Looks like I have all the necessary files in the war,
> WeappReport.jrxml sits in war's \reports directory.  Am I doing
> anything wrong?
> 
> Could someone please tell me what this could be attributable to and if
> anyone had the same issue how did they solve it.
> 
> Thanks in advance.
> Simeon
> 
> 
> 
> 
> ======================================================================
> ========
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> 
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ======================================================================
> ========
> 
> 
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-
> us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jasperreports-questions mailing list
> jasperreports-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to