Active Reports Conversion Utility - Error

Stimulsoft Reports.WEB discussion
Post Reply
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Active Reports Conversion Utility - Error

Post by Oaktree »

I am receiving the following error when I try to convert some Active Reports rpx files into mrt format using the utility that you created.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Import.ActiveReports.StiActiveReportsHelper.ProcessSection(XmlNode baseNode, StiReport report, StiPage page)
at Import.ActiveReports.StiActiveReportsHelper.ProcessSections(XmlNode baseNode, StiReport report, StiPage page)
at Import.ActiveReports.StiActiveReportsHelper.ProcessRootNode(XmlNode rootNode, StiReport report, ArrayList errorList)
at Import.ActiveReports.Form1.btnConvert_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I realize that isn't very helpful so I am going to send an email to support@stimulsoft.com with a sample rpx file.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Active Reports Conversion Utility - Error

Post by Ivan »

Hello,

The problem is solved.
Please check the new version of the converter from our site.

Thank you.
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Active Reports Conversion Utility - Error

Post by Oaktree »

The converter now works. Thanks!

It saved me a lot of time with creating the layouts of my reports... all I have to do now is update the data sources and remove the programmatically added one from the mrt file afterwards.

A few recommendations (even though I no longer need to use the tool since I've done my conversions already).

1. Allow for batch conversions. I had to do 150+ reports which took a while to do one at a time.
2. Place converted reports into a sub directory or allow for a directory to be named. I had to paste in a sub directory for every conversion to separate the mrt files from the rpx files.
3. Add a check for invalid destination directory. The program threw several errors when I pasted the sub directory into the field incorrectly once.
4. Perform lower case checks for styles and other things. Some of the styles on our reports were typed in instead of added through the designer so the cases didn't match. Because of that, some of our fonts reverted to your conversion default. It isn't a big deal because I will just perform a search and replace in the mrt files to resolve it, but I thought it was worth mentioning.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Active Reports Conversion Utility - Error

Post by Andrew »

Hello,

> 1. Allow for batch conversions. I had to do 150+ reports which took a while to do one at a time.

We already have discussed this question. We plan to add this feature in the future. On the current moment it is hard to say it will be implemented.

> 4. Perform lower case checks for styles and other things.

Can you please send us a sample report, which reproduces the issue?

Thank you.
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Active Reports Conversion Utility - Error

Post by Oaktree »

I sent one of the samples in that was related to text / background colors and borders not converting. Since I have already converted a lot of my reports, I can't remember which ones were affected by the case issue.

I'll try to watch for any new ones that pop up so I can send you a sample.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Active Reports Conversion Utility - Error

Post by Alex K. »

Hello,

Thank you for sent file. We need some time to check it.
Post Reply