Crash when using newest build (2014.1.1803)

Stimulsoft Reports.WPF discussion
Post Reply
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Crash when using newest build (2014.1.1803)

Post by PJoyeux »

Hi,

I have downloaded the newest prerelease build (2014.1.1803) to check some of your bugfixes. Indeed the fixed were there, thanks!

But... I can't design reports anymore. If I open a previously created report (created using the official build 2013.3) the components of the report are not shown in the editor and if I click somewhere within the editor I get the following error:

Code: Select all

System.NullReferenceException was unhandled by user code
  HResult=-2147467261
  Message=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
  Source=Stimulsoft.Report.WpfDesign
  StackTrace:
       bei Stimulsoft.Report.WpfDesign.StiWpfUpdater.UpdateSelectedItemsAndMovesRemaining(StiWpfDesignerControl designer) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WpfDesign\Visuals\StiWpfUpdater.cs:Zeile 841.
       bei Stimulsoft.Report.WpfDesign.StiWpfDesignerControl.RedrawSelectedItemsAndMovesRemaining() in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WpfDesign\StiWpfDesignerControl.Redraw.cs:Zeile 101.
       bei Stimulsoft.Report.WpfDesign.StiWpfSelectToolService.OnMouseUp(Object sender, MouseEventArgs e) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WpfDesign\Tools\StiWpfSelectToolService.cs:Zeile 1363.
       bei Stimulsoft.Report.WpfDesign.StiView.OnMouseUp(MouseButtonEventArgs e) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WpfDesign\Controls\StiView.cs:Zeile 424.
       bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       bei System.Windows.Input.InputManager.ProcessStagingArea()
       bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
then the application stops in Visual Studio at the following position (the current instruction is highlighted by an arrow "->")

Code: Select all

--- d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.WpfDesign\Controls\StiView.cs 
00000000 48 89 54 24 10       mov         qword ptr [rsp+10h],rdx 
00000005 48 89 4C 24 08       mov         qword ptr [rsp+8],rcx 
0000000a 48 83 EC 68          sub         rsp,68h 
0000000e 48 B8 40 52 A6 8E FE 07 00 00 mov         rax,7FE8EA65240h 
00000018 8B 00                mov         eax,dword ptr [rax] 
0000001a 85 C0                test        eax,eax 
0000001c 74 05                je          0000000000000023 
0000001e E8 A9 24 54 5E       call        000000005E5424CC 
00000023 48 8B 54 24 78       mov         rdx,qword ptr [rsp+78h] 
00000028 48 8B 4C 24 70       mov         rcx,qword ptr [rsp+70h] 
0000002d E8 6E 43 D1 4B       call        000000004BD143A0 
00000032 48 8B 4C 24 70       mov         rcx,qword ptr [rsp+70h] 
00000037 E8 C4 AC F8 FF       call        FFFFFFFFFFF8AD00 
0000003c 48 89 44 24 20       mov         qword ptr [rsp+20h],rax 
00000041 48 83 7C 24 20 00    cmp         qword ptr [rsp+20h],0 
00000047 75 05                jne         000000000000004E 
00000049 E9 D4 00 00 00       jmp         0000000000000122 
0000004e 48 8B 4C 24 70       mov         rcx,qword ptr [rsp+70h] 
00000053 E8 A8 AC F8 FF       call        FFFFFFFFFFF8AD00 
00000058 48 89 44 24 28       mov         qword ptr [rsp+28h],rax 
0000005d 48 8B 44 24 28       mov         rax,qword ptr [rsp+28h] 
00000062 80 38 00             cmp         byte ptr [rax],0 
00000065 48 8B 4C 24 28       mov         rcx,qword ptr [rsp+28h] 
0000006a E8 71 30 DF FF       call        FFFFFFFFFFDF30E0 
0000006f 48 89 44 24 30       mov         qword ptr [rsp+30h],rax 
00000074 48 8B 44 24 30       mov         rax,qword ptr [rsp+30h] 
00000079 80 38 00             cmp         byte ptr [rax],0 
0000007c 48 8B 4C 24 30       mov         rcx,qword ptr [rsp+30h] 
00000081 E8 8A E0 B7 FF       call        FFFFFFFFFFB7E110 
00000086 48 89 44 24 38       mov         qword ptr [rsp+38h],rax 
0000008b 48 8B 44 24 38       mov         rax,qword ptr [rsp+38h] 
00000090 80 38 00             cmp         byte ptr [rax],0 
00000093 48 8B 4C 24 38       mov         rcx,qword ptr [rsp+38h] 
00000098 33 D2                xor         edx,edx 
0000009a E8 71 F8 FF FF       call        FFFFFFFFFFFFF910 
0000009f 48 8B 4C 24 70       mov         rcx,qword ptr [rsp+70h] 
000000a4 E8 57 AC F8 FF       call        FFFFFFFFFFF8AD00 
000000a9 48 89 44 24 40       mov         qword ptr [rsp+40h],rax 
000000ae 48 8B 44 24 40       mov         rax,qword ptr [rsp+40h] 
000000b3 80 38 00             cmp         byte ptr [rax],0 
000000b6 48 8B 4C 24 40       mov         rcx,qword ptr [rsp+40h] 
000000bb E8 80 09 F7 FF       call        FFFFFFFFFFF70A40 
000000c0 48 89 44 24 48       mov         qword ptr [rsp+48h],rax 
000000c5 48 83 7C 24 48 00    cmp         qword ptr [rsp+48h],0 
000000cb 74 44                je          0000000000000111 
000000cd 48 8B 4C 24 70       mov         rcx,qword ptr [rsp+70h] 
000000d2 E8 29 AC F8 FF       call        FFFFFFFFFFF8AD00 
000000d7 48 89 44 24 50       mov         qword ptr [rsp+50h],rax 
000000dc 48 8B 44 24 50       mov         rax,qword ptr [rsp+50h] 
000000e1 80 38 00             cmp         byte ptr [rax],0 
000000e4 48 8B 4C 24 50       mov         rcx,qword ptr [rsp+50h] 
000000e9 E8 52 09 F7 FF       call        FFFFFFFFFFF70A40 
000000ee 48 89 44 24 58       mov         qword ptr [rsp+58h],rax 
000000f3 48 8B 4C 24 58       mov         rcx,qword ptr [rsp+58h] 
000000f8 48 8B 44 24 58       mov         rax,qword ptr [rsp+58h] 
000000fd 48 8B 00             mov         rax,qword ptr [rax] 
00000100 48 8B 40 60          mov         rax,qword ptr [rax+60h] 
00000104 4C 8B 44 24 78       mov         r8,qword ptr [rsp+78h] 
00000109 48 8B 54 24 70       mov         rdx,qword ptr [rsp+70h] 
0000010e FF 50 18             call        qword ptr [rax+18h] 

-> 00000111 48 8B 54 24 78       mov         rdx,qword ptr [rsp+78h] 

00000116 48 8B 4C 24 70       mov         rcx,qword ptr [rsp+70h] 
0000011b E8 10 91 E7 FF       call        FFFFFFFFFFE79230 
00000120 EB 00                jmp         0000000000000122 
00000122 90                   nop 
00000123 48 83 C4 68          add         rsp,68h 
00000127 C3                   ret 
Likewise, when I try to create a new report I can put anything on the empty designer whithout a crash.

I have reverted to 2013.3.1800 in order to be able to use the designer, but I really need the fixes from 2014.1.1803. Can you reproduce this problem or have I made an error installing the prerelease build?

Thanks for your answer!

Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Crash when using newest build (2014.1.1803)

Post by HighAley »

Hello.

Sorry, but we couldn't reproduce your issue.
Do you get this error with a specific report or with any report created in 2013.3.1800 build?
Could you send us sample project which reproduces the issue?
Could you also check the 2014.1.1804 build? Maybe the problem is already fixed there.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Crash when using newest build (2014.1.1803)

Post by PJoyeux »

It occurs in 1803 and 1805. It happens even when NO report is loaded as soon as I try to put an element (a Textelement) on the report.

This is the same problem as the one discussed at the end of this thread: http://forum.stimulsoft.com/viewtopic.php?f=12&t=37967. In that thread you said the error had been fixed and a patch would be available today...

I will wait a few days and hope for the best... ;-)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Crash when using newest build (2014.1.1803)

Post by HighAley »

Hello.

To solve this issue we need to reproduce it.
Please, send us sample project with all referenced assemblies which reproduces the issue?
If you are about the bug with putting a text box on the page then it will be fixed in our tomorrow's prerelease build.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Crash when using newest build (2014.1.1803)

Post by PJoyeux »

Aleksey Andreyanov wrote: ...
If you are about the bug with putting a text box on the page then it will be fixed in our tomorrow's prerelease build.
...
Yes, this is what I mean. I start the Editor, click on any component on the left toolbar (TextBox, vertical line, panel, Image, whatever...) and then click on the empty report to place the component and *bang*. If I drag the component from the toolbar on to the report then it works.

So this is completely independent of any mrt-file I might have created earlier. This is why I can't send you any sample project.

But it looks like you have found the problem. 8-)

Cheers,
Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Crash when using newest build (2014.1.1803)

Post by HighAley »

Hello.

Or next prerelease build is already available on our site.
Please, check this build. The bug is fixed in it.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Crash when using newest build (2014.1.1803)

Post by PJoyeux »

Hi,

using 2014.1.1806 the crash is gone, thanks!

Cheers,
Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Crash when using newest build (2014.1.1803)

Post by HighAley »

Hello.

Great!
Let us know if you have any issue with our product else.

Thank you.
Post Reply