﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Not displaying original error message if error in trigger</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 12:20:54 GMT</lastBuildDate><ttl>20</ttl><item><title>Not displaying original error message if error in trigger</title><link>http://forum.strataframe.net/FindPost12719.aspx</link><description>Hi,&lt;br&gt;
I faced situation that, if my trigger hit any error, SF doesn't report the error message occurred in trigger when save. Instead, it will somehow show "Object reference is not set". I guess it is caused by SF will continue the rest of code even save is failed.&lt;br&gt;
&lt;br&gt;
Any way to prevent it?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Mon, 19 Nov 2007 20:21:43 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Not displaying original error message if error in trigger</title><link>http://forum.strataframe.net/FindPost12797.aspx</link><description>Hi,&lt;br&gt;
I can't remember whether if only happen to ParentBO's trigger while to I call childBO.save.&lt;br&gt;</description><pubDate>Mon, 19 Nov 2007 20:21:43 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Not displaying original error message if error in trigger</title><link>http://forum.strataframe.net/FindPost12769.aspx</link><description>Was it an INSERT, UPDATE, or DELETE trigger?&amp;nbsp; I'll try to reproduce it on this end... &lt;/P&gt;&lt;P&gt;It is strange, though, that the exception would not be caught.&amp;nbsp; Though likely, the return value during an ExecuteDataReader operation could be null if the trigger throws an error, so that may be causing it.</description><pubDate>Mon, 19 Nov 2007 09:47:49 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>