"An error occurred during local report processing. Object reference not set to an instance of an object." - ssrs-2012

I am using to generate rdlc report on my windows application. I have the one main report and more than 30 sub reports, which will render based on dataset values. Everything is working fine, but some time i got the following error when try to generate the report.
An error occurred during local report processing. Object reference not set to an instance of an object.
This is not all the the times. Sometimes I am getting these errors. I can't even figure it out. It would be great if you help to sort it out.
Thanks,
Thineshbabu

Related

oracle apex Error handling function not working properly

I am trying to use the oracle's apex_error package to implement error handling in my app.
test app: https://apex.oracle.com/pls/apex/f?p=145329:2:11482099171656::NO:::
table created: constraint_lookup
function provided by oracle "apex_error_handling_example". https://docs.oracle.com/database/apex-18.1/AEAPI/Example-of-an-Error-Handling-Function.htm#AEAPI2216
The solution works fine except when you click on the error it gives error in console instead of taking you to the tab of the IR report.
Now click on the message so it should take you to the duplicate DeptID, but it just gives you error in the console.
I have tried to handle this at page level, application level also I tried to set the column_alias manually so I don't have to use the APEX_ERROR.AUTO_SET_ASSOCIATED_ITEM but all in vain.
Any help and your time will be much appreciated.

After upgrade from Dynamics CRM 2011 to CRm 2016 experiencing weird issue with forms and plugins

Client company just upgraded to 2016 from 2011. I've been testing the plugins to make sure they all still function and I've finally (after much frustration) figured out what is happening, but no idea why or how to resolve this.
I have several plugins and they all function exactly as expected - as long as the updates to the data are not run through the forms.
Let me explain:
I have plugins (Synchronous) that trigger on a change to a field. If the field is changed via a workflow, or some other coded process, everything runs just fine.
But when I update the field on the form it's self. It fails with a very generic error (below).
I support a couple of other clients already on 2016, and I'm not experiencing this same problem. So I'm not even sure where to begin. I've been going crazy here the last couple of days to check the code. But it only happens when updating the field on the form. Every other method of updating the data that I have tested works with no errors.
I also have another issue. When the field is updated (through a test workflow), it runs and updates a child record. The child record then has a workflow that runs to deactivate the record. The workflow says it ran and deactivated the record, but it never deactivates).
Anyway. if ANYONE has ANY idea at all about what could be causing this. I would love to hear it. I'm at my wits end on this.
Thank you in advance.
I've tested the code and had it run successfully, as long as I don't update the field through the form. To test this I created some test workflows that update the data, they successfully run and the plugins fire off with no problems.
EntityReference contact =
(EntityReference)preImageEntity.Attributes["ipmahr_contact"];
QueryExpression cn = new QueryExpression("ipmahr_recertification");
cn.ColumnSet = new ColumnSet("ipmahr_contact", "statecode");
cn.Criteria.AddCondition("ipmahr_contact", ConditionOperator.Equal,
contact.Id);
cn.Criteria.AddCondition("statecode", ConditionOperator.Equal, 0);
EntityCollection results1 = server.RetrieveMultiple(cn);
if (results1.Entities.Count > 0)
foreach (Entity a in results1.Entities)
{
a.Attributes["ipmahr_deactivaterecertificationrecord"] = true;
server.Update(a);
}
The code is pretty straightforward in most cases, and works fine as long as things aren't updated on the form.
Here is the error: Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: System.ServiceModel.CommunicationObjectFaultedException: #595EB751 (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault)., Correlation Id: fd1a79ca-c846-407b-b578-ac9207d6dd0e, Initiating User: 274d55dc-3f4d-e811-b30f-0050569142af Exiting Recertifications.Main.DeactivateUsedRecertificationsonEndDateChange.Execute(), Correlation Id: fd1a79ca-c846-407b-b578-ac9207d6dd0e, Initiating User: 274d55dc-3f4d-e811-b30f-0050569142af
New information. I have found that not all the plugins I've written have an issue on this server. This is good. But I also found that there is a commonality on those plugins that do fail.
Any plugin using a Query Expression fails with the generic error. Adding robust error checking didn't show anything (once error checking was added, it just didn't run anything, and didn't produce any errors in the logs). Trace logs didn't show anything significant either.
So now I'm wondering if there is something in the way the Query Expression is formatted, or if there is an issue with the SQL. I mention SQL because I found this morning that if I create fields too fast, I get a generic SQL error. Wait a minute and I can create new fields without a problem.
I think it likely that this plugin is not actually failing based on the error you are receiving and the fact that it happens conditionally. More likely, your server.Update(a); call is resulting in a failure within a secondary plugin or workflow action triggered by update of the Recertification record.
- Comment out that line and verify that the plugin works
- See if you can reproduce a failure by directly updating that field on the Recertification record
- Review plugin/workflows running against the Recertification entity
Most likely this has one of the following root causes:
- A security issue based on different executing users between the form update or workflow update
- Other tangential fields are being updated by one or the other of those two methods which subsequently cause different behavior in a secondary plugin/workflow

"Internal error on generating report." error occurs

When generating a Search Report for any collection, the report status appears as "Complete". However, when i attempt to View or Export the report i am getting an error indicating "Internal error on generating report.".
I am able to 'Update' the report to regenerate the report however, the same issue occurs when i view/edit the new report.
Event logs don't show anything other than the report generation event.
I'm pretty sure that's a known bug that's fixed in one of the most recently released patches. Log a ticket with Google and they'll give you the details and should be able to give you a support script that you can run for a temporary fix until you apply the patch.

BIRT Viewer randomly fails to open report

I'm running birt 3.7.2 using the Birt Web Viewer and have recently been encountering an error when opening my reports / changing the report parameters.
The error is as follows:
An error occurred while getting report parameters. The specified report: /$$$Transient/acfile20.rptdocument was not found. The report may have expired or may not have been generated.
It also throws a "Get page count failed." error message too. I'm sure it's related to the message above.
It's not happening on all of the different instances of BIRT that I'm using. I've checked what I think is the Transient folder and it is not generating these files, yet sometimes, if I refresh the report, it will run.
What might be causing this?
If you are using either a dynamic parameter or computed column, try disabling either. For example if there is a dynamic parameter make it static, if there is a computed column try removing it.

Jmeter 3.1 : Why sampler error not showing summary

I am working on the JMeter 3.1 report module. I observed one problem while working on this. I have created four transaction controller and each transaction controller has some samples.
One of the sample is failing in one transaction controller. When I check the summary report it's showing 100% success status, Its not showing the errors.
Please find the attached screenshots with two type report. one report is showing errors and another one not showing error.
================
Please suggest, I am doing anything wrong or do I need to change any property values.
================

Resources