I have some problems with errorhandling of the Crystal Reports component.
Some exceptions are printed with stacktrace, some exceptions are shown in the viewer without stacktrace and some exeptions are handled by log4J.
For example, when a database error occures in the build up of the report the viewer shows a NullpointerException without stacktrace. When I execute the query myself directly on the databse I get an exception from the database about rights to a database object I try to access.
Can I catch these exception myself in javacode to show the exception to the user my own way? And how can I get more information about a exception shown in the viewer without stacktrace?