meatwad Posted February 18, 2011 Share Posted February 18, 2011 I have a subreport with the class set to InputStream and the expression set to parameter X. When I set X with the expression: new FileInputStream("subreport.jasper") I get a java.io.EOFException. If I take the same expression from parameter X and place it directly in the subreport expression it works. What am I doing wrong here? Link to comment Share on other sites More sharing options...
meatwad Posted February 18, 2011 Author Share Posted February 18, 2011 Although I'm not sure if I understand correctly what I am doing, checking the Using Cache option of the subreport allows this to work correctly...I think. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now