• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sub report (jasper) problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sub report (jasper) problem?


  • Subject: Re: sub report (jasper) problem?
  • From: Theodore Petrosky <email@hidden>
  • Date: Mon, 06 May 2013 07:21:04 -0700 (PDT)

I am lost. if I remove the subreport everything is happy.

try number 1.
since what I need is to sort this array by date, I thought I would get my EO to return what I wanted. So I created in my projectSteps.java

public JRBeanCollectionDataSource theSteps() {
   return new JRBeanCollectionDataSource( ERXArrayUtilities.sortedArraySortedWithKey(this.projectSteps(), "dueBy") );
}

Then I used the Field 'theSteps' as a datasource and it worked fine. ONE TIME

try number 2
So i assume i was screwing the pooch and changed to passing the normal field to iReport and 'fixing' the datasource there. so I used projectSteps as the field and Connection type is datasourse DataSource expression was: 

new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{projectSteps})

Which worked fine again (without sorting on the date).  ONE TIME.

If I run the report again, my app hangs. No response, no errors, it just stops.

I am using ERJasperReports as the basis and I see that it sets up a new EditingContext each time it is run. So I do not believe that I am hosing the EC. But what do I know?


--- On Mon, 5/6/13, Jesse Tayler <email@hidden> wrote:

> From: Jesse Tayler <email@hidden>
> Subject: Re: sub report (jasper) problem?
> To: "Theodore Petrosky" <email@hidden>
> Cc: "WebObjects Development" <email@hidden>
> Date: Monday, May 6, 2013, 9:54 AM
>
> are you certain this is not your app handling here?
>
> I mean, it sure sounds like you're either hanging an EC or
> otherwise killing your instance?
>
>
>
>
> On May 6, 2013, at 9:44 AM, Theodore Petrosky <email@hidden>
> wrote:
>
> > someone must have seen this. this is D2W btw!!
> > I have a to-many relationship
> > Project ==> projectSteps
> >
> > I am trying to print a jasper report where each row is
> a Project and there is a sub report on the same line with
> the 'steps'. If I have the subReport in the printed report,
> the report prints beautifully. But only one time. If I try
> to rerun the report the app hangs. no errors in the console,
> it just stops and the browser window updates to "No instance
> available".
> >
> > Is there someone doing JasperReport with Subreports
> that has an idea.
> >
> > I thought maybe there was a simple leak that was
> hurting me so I tried running the report, logging out,
> logging in (to create a new session). but it dies.
> >
> > I think I need real help in debugging this one.
> >
> > Ted
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list      (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: sub report (jasper) problem?
      • From: Jesse Tayler <email@hidden>
  • Prev by Date: Re: sub report (jasper) problem?
  • Next by Date: Re: sub report (jasper) problem?
  • Previous by thread: Re: sub report (jasper) problem?
  • Next by thread: Re: sub report (jasper) problem?
  • Index(es):
    • Date
    • Thread