Bug found with copy selection from viewer

Posted by: info on 27 June 2018, 7:25 am EST

    • Post Options:
    • Link

    Posted 27 June 2018, 7:25 am EST

    Hi,

    every now and then the system throws an unhandled exeption when creating a selection from the Viewer. Look at the output string below.

    Do you know how to solve this? (Using V10)

    Thanks in advance

    -Piiet

    Parameternaam: index

    bij System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)

    bij System.ThrowHelper.ThrowArgumentOutOfRangeException()

    bij System.Collections.Generic.List

    1.get_Item(Int32 index)    bij System.Collections.ObjectModel.Collection
    1.get_Item(Int32 index)

    bij System.Collections.ObjectModel.ReadOnlyCollection
    1.System.Collections.IList.get_Item(Int32 index)    bij GrapeCity.ActiveReports.Viewer.Win.Rdf.ImageItemAdapter.#jVi(ResourcedCanvasItem record)    bij GrapeCity.ActiveReports.Viewer.Win.Rdf.ImageItemAdapter..ctor(ResourcedCanvasItem record, Int32 index)    bij #9hz.#Hsz.#8wz(Int32 itemIndex, CanvasItem item)    bij #9hz.#Hsz.GetItems()    bij GrapeCity.Viewer.Common.Model.BaseDocumentModelImpl.SelectItems(Int32 pageIndex, Rect frame)    bij #Prz.#Urz.#7sz(Frame f, #X8V mouseState)    bij #Prz.#Qrz.#mfR(Point location, #X8V e)    bij #Prz.#Qrz.OnMouseDown(#X8V e)    bij GrapeCity.ActiveReports.Viewer.Win.Behaviors.BehaviorsGroup.<>c__DisplayClass7.#fyz(#UTh behavior)    bij System.Collections.Generic.List
    1.ForEach(Action
    1 action)    bij GrapeCity.ActiveReports.Viewer.Win.Behaviors.BehaviorsGroup.#j5d(Action
    1 handler)

    bij GrapeCity.ActiveReports.Viewer.Win.Behaviors.BehaviorsGroup.OnMouseDown(#X8V args)

    bij GrapeCity.ActiveReports.Viewer.Win.Controls.BehavioralView.OnMouseDown(MouseEventArgs e)

    bij System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)

    bij System.Windows.Forms.Control.WndProc(Message& m)

    bij GrapeCity.ActiveReports.Viewer.Win.Controls.BehavioralView.WndProc(Message& m)

    bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

    bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

    bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  • Posted 28 June 2018, 2:53 am EST

    Hello,

    Could you please explain the issue in more detail. I am not able to replicate the issue at our end by following the below steps:

    1. Open the ActiveReports 10 Viewer
    2. Load the Section Report
    3. Select “Selection mode” fromt he toolstrip
    4. Select the Content

    Could you please confirm if I am missing something.

    Thanks,

    Mohit

  • Posted 28 June 2018, 2:20 pm EST

    Hi Mohit,

    It’s correct what you are doing.

    The only thing I can think of is that we are drawing a logo and some text on the page by the available draw functions.

    Also it happens on a RDP-system. (At least with one)

    On my own PCs it all works correct.

    Is there a way to Inherit or Override something so that we can consume this error?

    At this time I can’t see a way to do this myself. The only thing I can think of now is to remove the function from the toolbar. But that’s not why we updated to V10.

    Regards Piet

  • Posted 2 July 2018, 6:39 am EST

    Hello,

    Sorry for the delay!

    We are setup the RDP environment to replicate the issue at our end. We will inform you once we setup the RDP environment.

    Thanks for your patience.

    Mohit

  • Posted 3 July 2018, 5:22 am EST

    Hello,

    I have created the “RDP” system using the following documentation link:

    https://community.spiceworks.com/how_to/122824-install-terminal-services-on-windows-server-2012-r2

    Also, I have deployed the attached application on RDP system following the below link:

    https://blogs.technet.microsoft.com/infratalks/2013/02/06/publishing-remoteapps-and-remote-session-in-remote-desktop-services-2012/

    However, I am unable to reproduce the issue With AR10 SP3.

    Could you please confirm if we are on same lane or I am missing something.

    Also, please share the following thing:

    1 System configuration

    2 Exact AR version

    3 Please check with the attached application

    Thanks,

    Mohit

    Prj_SelectionModeError.zip

  • Posted 3 July 2018, 6:06 am EST

    Hi Mohit,

    we are using V10.0.5602.0

    It’s not easy to find I think. My customer has problems when he first uses the function.

    After that it doesn’t raise errors anymore.

    Is there a way to consume this (initializing) error?

    Kind regards

    Piet

  • Posted 4 July 2018, 5:14 am EST

    Hello Piet,

    We cannot provide you solution until the issue is replicated at my end. Also, we cannot escalate this issue to our development team and they need concrete steps to fix the issue. Could you please share the sample with us so that I can replicate the issue at our end. Also, Please update AR10 to AR10 SP3. This may resolve your problem. You can find the installer at the below link:

    http://cdn.grapecity.com/ActiveReports/ar10/ActiveReports-v10.3.9175.0.msi

    Thanks,

    Mohit

  • Posted 5 July 2018, 10:26 am EST

    Okay Mohit,

    I’ll keep you posted.

    Kind regards

    Piet

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels