A
A
Andrey2018-04-09 21:33:08
C++ / C#
Andrey, 2018-04-09 21:33:08

How can I find out what is causing the error in Crystal Report?

Good day to all!
I ask for your help in one interesting question. There was a need to print a table from a C# WPF application (which I am writing). For this, I chose Crystal Report. Experimented - it turned out to display part of the columns. But when I added the rest, I get the following error in the studio logs:

WPF_MySQL.App.Main()</ExceptionString><DataItems><Data></Data></DataItems></Exception></TraceRecord>
An unhandled exception of type 'System.NullReferenceException' occurred in SAPBusinessObjects.WPF.Viewer.dll
Ссылка на объект не указывает на экземпляр объекта.

The program '[1056] WPF_MySQL.exe' has exited with code -1 (0xffffffff).

And that's it. :( What could have happened? Where can I see what this is all about? I removed the new columns that I added, but the error did not disappear... Sometimes the application starts and works without errors, but restarting it - the error appears again. :(
I will be glad Any advice!Can there be an analogue of Crystal Report?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2018-04-10
@andrey71

And to use debugging not??
Somewhere a non-existent object is being passed.
There is a good thing https://www.stimulsoft.com/ru/documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question