Project

General

Profile

Bug #5917

ReportDriver abend

Added by Greg Shah over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#1 Updated by Greg Shah over 2 years ago

I get the following when trying to generate reports for Hotel GUI (ant rpt):

...
     [java] ------------------------------------------------------------------------------
     [java] Schema Fixups (Progress source file schemas)
     [java] ------------------------------------------------------------------------------
     [java] 
     [java] ./abl/common/adecomm/as-utils.w.dict
     [java] ./abl/common/adm2/containr.p.dict
     [java] ./abl/common/adm2/data.p.dict
     [java] ./abl/common/adm2/smart.p.dict
     [java] ./abl/common/adm2/viewer.p.dict
     [java] ./abl/common/ftreefr0.w.dict
     [java] ./abl/ehotel.p.dict
     [java] ./abl/fwd-embedded-driver.p.dict
     [java] ./abl/guests-frame.w.dict
     [java] ./abl/rooms-frame.w.dict
     [java] ./abl/roomtypedo.w.dict
     [java] Elapsed job time:  00:00:00.100
     [java] 
     [java] ------------------------------------------------------------------------------
     [java] Elapsed job time:  00:01:20
     [java] 

convert.front.list:

convert.front.ignorelist:

download-ant-contrib:
    [mkdir] Created dir: /home/ges/projects/samples/hotel_reports/build/ant.contrib
      [get] Getting: https://proj.goldencode.com/downloads/ant_contrib/ant-contrib-1.0b5.zip
      [get] To: /home/ges/projects/samples/hotel_reports/build/ant.contrib/ant-contrib-1.0b5.zip
    [unzip] Expanding: /home/ges/projects/samples/hotel_reports/build/ant.contrib/ant-contrib-1.0b5.zip into /home/ges/projects/samples/hotel_reports/build/ant.contrib
   [delete] Deleting: /home/ges/projects/samples/hotel_reports/build/ant.contrib/ant-contrib-1.0b5.zip

init-ant-contrib:

rpt-new:
     [java] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
     [java]     at com.goldencode.p2j.report.ReportDriver.processOptions(ReportDriver.java:392)
     [java]     at com.goldencode.p2j.report.ReportDriver.main(ReportDriver.java:290)

BUILD FAILED
/home/ges/projects/samples/hotel_reports/build.xml:252: Java returned: 1

Total time: 1 minute 22 seconds

Ovidiu: Was there some build.xml change that has not yet been checked in?

#2 Updated by Greg Shah over 2 years ago

  • % Done changed from 0 to 100
  • Assignee set to Greg Shah
  • Status changed from New to Review

Fixed in 3821c revision 13296.

Ovidiu: Please review.

#3 Updated by Greg Shah over 2 years ago

There was a bug when the new syntax was used and only non-options are specified. I put some safety code to end the while() loop safely in that condition (which is the common case, I think).

#4 Updated by Ovidiu Maxiniuc over 2 years ago

Greg Shah wrote:

Fixed in 3821c revision 13296.

Ovidiu: Please review.

I am OK with the fix. I tested the more complicated cases but missed the simplest one.

#5 Updated by Greg Shah over 2 years ago

  • Status changed from Review to Closed

No worries!

Also available in: Atom PDF