SAP Knowledge Base Article - Public

1544675 - Error; 'Object reference not set to an instance of an object' when using the CR WPF viewer in VS2010

Symptom

  • A long string parameter is created such that is extends beyond the WPF viewer parameter panel
  • Clicking on the part of the string extending into the report causes the error;

Object reference not set to an instance of an object

Environment

Reproducing the Issue

  • Create a new report with a long string parameter that will extend beyond the WPF viewer parameter panel
  • Create a CRVS2010 WPF application
  • Run the application
  • Select the long parameter string from the parameter panel drop down
  • The string will extend past the panel into the report
  • Click on the part of the string extending into the report

Resolution

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio