Results 1 to 5 of 5
  1. #1
    nayanjyoti is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Post Problem in sub reporting

    Hi,

    While i call report, my code works fine. but as i call subreport it shows following errors..........

    net.sf.jasperreports.engine.JRException: Could not load object from location : current_room_info_subreport1.jasper
    at net.sf.jasperreports.engine.util.JRLoader.loadObje ctFromLocation(JRLoader.java:255)
    at net.sf.jasperreports.engine.fill.JRFillSubreport.e valuateSubreport(JRFillSubreport.java:317)
    at net.sf.jasperreports.engine.fill.JRFillSubreport.e valuate(JRFillSubreport.java:266)
    at net.sf.jasperreports.engine.fill.JRFillElementCont ainer.evaluate(JRFillElementContainer.java:256)
    at net.sf.jasperreports.engine.fill.JRFillBand.evalua te(JRFillBand.java:482)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller. fillColumnBand(JRVerticalFiller.java:1423)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller. fillDetail(JRVerticalFiller.java:725)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller. fillReportStart(JRVerticalFiller.java:252)



    What could be the problem,please help me...........

  2. #2
    Join Date
    May 2011
    Location
    Munich
    Posts
    15
    Rep Power
    0

    Default

    maybe you don't have the binary file :

    current_room_info_subreport1.jasper

    in the same directory as the calling jasper report. Its been a while since I have done Jasper. But usually it means you havent compiled your jasper file yet, or its sitting in some other directory. Hope that helps
    read my blog : www.blue-walrus.com

  3. #3
    nayanjyoti is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Default

    No sir, I have compiled both master and subreport and are placed in the same directory. While I run from iReport it works and But when I call from java its showing those erroe, I may have leaving something. Please help me sir.
    with regards
    nayanjyoti

  4. #4
    Join Date
    May 2011
    Location
    Munich
    Posts
    15
    Rep Power
    0

    Default

    sorry, without installing iReport I can't really help you further.
    read my blog : www.blue-walrus.com

  5. #5
    nayanjyoti is offline Member
    Join Date
    Apr 2011
    Posts
    7
    Rep Power
    0

    Post

    sir, plz install iReport n test that........
    please help me sir.........

Similar Threads

  1. problem jasper reporting pls help
    By kurorolucifer15 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 02-27-2011, 09:17 AM
  2. reporting with ireport
    By hitesh in forum Advanced Java
    Replies: 1
    Last Post: 12-07-2010, 01:27 PM
  3. reporting ssystem
    By erik80 in forum JDBC
    Replies: 1
    Last Post: 10-01-2010, 11:36 AM
  4. Newbie reporting
    By nelsaez in forum Introductions
    Replies: 0
    Last Post: 11-05-2007, 07:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •