List index out of bounds
I am looking at a trial copy of ReportBuilder v11.3. I am running Windows
Vista Business version and I am using Delphi 2007. I have downloaded twice
and installed the product twice. However I am still having the same
problem. I can work through a tutorial without any problems until I get to
the point of compiling and running the Delphi application. The tutorial
will compile without a problem. But when I try to run the application I get
the error "List index out of bounds(39)". This happens before the form
displays. I then click on OK and start getting the following error
repeatedly "Access violation at address 2000A2AA in module 'rtl100.bpl'". I
finally have to click X to get out of Delphi. Any idea what is going on?
Gary
--
HiMARKS, LLC
Gary D. Derby
Vice-President Development
garydderby@live.com
Vista Business version and I am using Delphi 2007. I have downloaded twice
and installed the product twice. However I am still having the same
problem. I can work through a tutorial without any problems until I get to
the point of compiling and running the Delphi application. The tutorial
will compile without a problem. But when I try to run the application I get
the error "List index out of bounds(39)". This happens before the form
displays. I then click on OK and start getting the following error
repeatedly "Access violation at address 2000A2AA in module 'rtl100.bpl'". I
finally have to click X to get out of Delphi. Any idea what is going on?
Gary
--
HiMARKS, LLC
Gary D. Derby
Vice-President Development
garydderby@live.com
This discussion has been closed.
Comments
Thank you for trying ReportBuilder.
Which tutorial are you working through or does the error occur when running
every tutorial? Which line of code is the AV occuring? Take a look at the
(Documents)\RBuilder\Delphi 2007\Tutorials\Complete\... directory for all
the finished tutorials and perhaps see how they differ from yours. I went
ahead and tested a couple of them and they seemed to function correctly.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
So far I have gone through the 'A Quick Test Spin' and the 'Creating a
Report Via the Report Wizard' tutorial. It is happening on both of those.
I will try one of the finished tutorials and see what happens.
Thank you.
Gary
I recreated the project for "Creating a Report Via the Report Wizard" in the
folder that was created from the install. I removed the unit created by
Delphi from the project and then added the unit in the folder. The
application still will not run. I get the same errors. I put a break point
on the 'Application.Initialize' line in the project source and I put a break
point on the first line of code in the 'TfrmViaReportWizard.FormCreate'
procedure in the rbViaWiz unit. The "List index out of bounds(39)" error
happens before hitting either break point.
I am running Delphi 1007 for Win32 Version 11.0.2804.9245. Installed
Products include IDE Fix Pack 1.3, Borland Together for Delphi, HTML Tidy
(beta version), CodeGear Quality insite and Castalia 2008.3.2 for CodeGear
Delphi 2007. I am running Windows Vista 6.0 (Build 6001: Service Pack 1).
Memory Available to Windows is 2,094,856 KB.
When the 'List index out of bounds(39) error occurs the Call Stack shows the
following:
rbRWProj.rbRWProj
:75b04911 kernel32.BaseThreadInitThunk + 0x12
:770ee4b6 ntdll.RtlInitializeExceptionChain + 0x63
:770ee489 ntdll.RtlInitializeExceptionChain + 0x36
When I click on the Program Reset button I get the following error, "Access
violation at address 2000A2AA in module 'rtl100.bpl'. Read of address
00000000.' This error keeps coming up when I click OK. I have to click on
the X quick between errors to shutdown Delphi. When I click on the X I get
"Access violation at address FFFAE258. Read of address FFFAE258'. I then
get a dialog box with the following "CodeGear RAD Studio for Windows has
stopped working. A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is available."
I click on Close Program and I am then back to the Windows desktop.
I do not have any problem building and running the application that I have
built that is presently using Nevrona Design's Rave. It looks like
ReportBuilder has some very nice features that Rave doesn't have. However,
if I can't compile and run a simple tutorial it won't be any good for me to
use.
Any idea what I should try next?
Gary
I created the "Quick Test Spin" tutorial using the trial edition of
ReportBuilder Enterprise 11.03, Delphi 2007, with my Vista machine. Below
is a link to the project I built. Try building and running it and see if
you get the same behavior. If so, perhaps we can isolate the issue by
comparing our environments.
http://www.digital-metaphors.com/tips/QuickTestSpin.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I will download your project and try it tonight. I am looking at using
ReportBuilder in an application that I have built at home. I may download
the trial here at work and try it to see what happens. I an running Delphi
2005 on Windows XP here. I will let you know what happens.
Gary
I will download your project and try it tonight. I am looking at using
ReportBuilder in an application that I have built at home. I may download
the trial here at work and try it to see what happens. I an running Delphi
2005 on Windows XP here. I will let you know what happens.
Gary
I have bad news and good news.
First the bad news. I downloaded your QuickTestSpin project and unzipped
and tried to compile and run the project but I still get the "List index out
of bounds(39)", except that I now have an 11 instead of 39 in the error.
The good news! I copied the trial download file from my desktop PC to my
laptop and installed the trial version there. I can build and run the
project and do not get the error. However, I do get the error "Project
QuickTestSpinProj.exe raised exception class EExternalException with message
'External exception C0000008'" if I run the project without opening the
designer first. If I start Delphi, open the project and go into the
designer and then exit and then run the project I do not get the error. Any
idea why this happens?
I will compare Delphi settings between my desktop and laptop PCs to see if I
can determine the projects won't run on the desktop.
One difference I do know is that the desktop is running Vista Business and
the laptop is running Vista Home Premium. Do you think this would have
anything to do with the problem?
Gary
I am unsure about the second exception. If I understand correctly, you
simply load Delphi 2007, open the QuickTestSpinProj.dproj file, and run to
recreate the error? I have tried this and the project builds and runs
correctly.
Are you running Delphi 2007 in administrator mode? We are using Windows
Vista Ultimate SP1 but I believe we have numerous other customers using
Vista Business. I can't imagine this would be the cause but stranger things
have happened.
My first guess would be that perhaps one of the other Delphi add-ons you are
using has a conflict of some sort with the installation of ReportBuiler.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
On the laptop (Vista Home Premium) here is what happens.
1. Start Delphi, QuickTestSpinProj opens automatically as last project
open.
2. Run the application and will get the "Project QuickTestSpinProj.exe
raised exception class EExternalException with message 'External exception
C0000008'" error.
3. Exit the application back to Delphi IDE.
4. Open the ReportBuilder designer and exit.
5. Run the application again and everything works without an error.
On the desktop (Vista Business) I am pretty sure I have Delphi set to run as
administrator but I will double check. I will also check the other Delphi
add-ons being used. I don't remember right now if I have those add-ons
installed on the laptop.
Gary
Have you ever in the past had previous versions of ReportBuilder installed
on either of your machines? If so, you may have some corrupt files on your
machine. Either way, I recommend working through the following article on
cleaning your computer of ReportBuilder completely and reinstalling.
http://www.digital-metaphors.com/rbWiki/General/Installation/Cleaning_Up_a_Corrupt_Install
Once you have done this, try experimenting with your other third party
addons and see if you can track down the cause of the problem.
Also, as a test try creating an app similar to the first tutorial only
without the TppDBPipeline and TppReport objects. Instead, add a DBGrid to
the form and connect it to the datasource object. Will this compile and run
successfully?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have followed in the rbWiki document and completely un-installed
ReportBuilder from both my desktop and my laptop.
I then reinstalled on both PCs. The desktop is still getting the 'List
index out of bounds' error. The laptop compiles and runs but I still get
the 'External exception C0000008' until I open the designer.
I will try some different options on the desktop to see if I can figure out
what is causing the 'List index out of bounds' error.
I do not know what is causing the error on the laptop however. Do you have
any other ideas? What folders are ReportBuilder and Delphi installed on
Vista? What folder is your test projects in?
Gary
Do you have any addons installed on your laptop? If so, try disabling them
as well to see if that is the issue. Also which edition (Standard,
Professional, Enterprise, or Server) are you installing? Are you using full
registered versions of Delphi 2007 on both machines?
A couple other things to try.
1. REmove all ReportBuilder components from the form in the Tutorial and
add a DBGrid that is connected to the TDataSource. Try running this and see
if you get an error.
2. Create a new application and simply drop a TppReport on a form and run.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have installed a 30-day demo copy of CodeGear RAD Studio 2009 on my
desktop PC. I have also uninstalled ReportBuilder for Delphi 2007. I
downloaded ReportBuilder Enterprise for Delphi 2009 and installed it on my
desktop PC. I have not installed any of the other 3rd party components I
was using in Delphi 2007 in Delphi 2009. I am now able to build and run the
QuickTestSpin project. I will add the other 3rd party components I use one
at a time to see if one of them is causing a conflict.
Gary