Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsReport Module Errors - ReportsController.BuildParametersReport Module Errors - ReportsController.BuildParameters
Previous
 
Next
New Post
12/30/2011 10:42 AM
 

I have had this problem for a while and have searched the internet many times but I am unable to find a fix to the problem.In the Event Viewer, I get the following General Exception from the Reports Module:

AssemblyVersion: 6.1.2
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: eacf7ccd-d9a1-49a5-8ea7-ca24e1a9e794
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Reports.ReportsController.BuildParameters
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Reports.ReportsController.BuildParameters(PortalModuleBase SrcModule, ReportInfo Report) at DotNetNuke.Modules.Reports.ReportsController.ExecuteReport(ReportInfo objReport, String cacheKey, Boolean bypassCache, PortalModuleBase hostModule, Boolean& fromCache) at DotNetNuke.Modules.Reports.ReportsController.ExecuteReport(ReportInfo objReport, String cacheKey, Boolean bypassCache, PortalModuleBase hostModule) at DotNetNuke.Modules.Reports.ReportsController.GetSearchItems(ModuleInfo ModInfo) at DotNetNuke.Services.Search.ModuleIndexer.GetSearchIndexItems(Int32 PortalID)
Source:

I know that this issue was previously listed as a bug that was resolved (I think back in 2007). However, I am still having the issue.

I am running DNN 6.1.2 and Reports Module 5.5. Again I have has this issue on other systems that I have used the Reports Module. Does anyone know a workaround or resolution? Or know what I am doing wrong?

Here are my settings:

Title: My Report
Description: This is the report to be viewed.
Allowed Uri Parameters: view
Active Data Source: DotNetNuke Data Source
Upload SQL File:
Querry: EXEC COG_GetPhoneListForDepartment @url_view
HTML Decode:
HTML Encode:
Caching: Not Checked
Show Info Pane: Not Checked
Show Controls: Not Checked
Auto Run Report: Checked
Active Visualizer: XSL Transformation Visualizer
File (A File On Your Site): Checked
File Location" PhoneList/
File Name: PhoneList.xsl
Xml Namespace:
.Net Type:

 
New Post
12/30/2011 11:36 AM
 
There are two places that you might start looking to see where the error is happening. These would be the stored procedure and the XSL file.

You might start with switching to the Grid visualizer. If the error goes away, then the problem is there.

If not, put the XSL visualizer back and replace the query with a simple query. Does that eliminate the problem.

From there, you should be able to debug the error.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
12/30/2011 12:05 PM
 

Joe,
Thanks for your response. I did as you said. I changed to the Grid Visualizer and, as usual, the expected data results were returned. I then re-indexed the site (Host -> Search Admin -> Re-Index Content), and I get the exact same error as listed above.
I then changed back to the XSL Visualizer and then entered a very simple query ("SELECT FirstName FROM  Users"), re-indexed the site, and I get the exact same error as listed above.

Just as an FYI, what I am attempting to accomplish is what is done here (awesome article). Again, I get the expected response and output, but I continue to get the error in the error log.

 
New Post
1/2/2012 8:10 AM
 
I am going to bump this and hope someone responds. The more I mess with it, the more I think that it is a bug. Is anyone else getting this error?
 
New Post
8/18/2013 5:44 PM
 
I'm seeing this error on a number of DNN installs. Did you have a resolution to this?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsReport Module Errors - ReportsController.BuildParametersReport Module Errors - ReportsController.BuildParameters


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out