# Missing error properties

**URL:** <https://techcommunity.softwareag.com/t/missing-error-properties/58587>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [July 9, 2004, 1:09am UTC](https://techcommunity.softwareag.com/t/missing-error-properties/58587 "2004-07-09T01:09:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 9, 2004, 1:09am UTC](https://techcommunity.softwareag.com/t/missing-error-properties/58587/1 "2004-07-09T01:09:09Z")

</div>

Hi All,   
  
I’m in the process of creating an on\_error processing sequence and wanted to display the error properties provided by Mediator. I am able to display some of the error properties, but not all of them (as described in the documentation). I’m able to access and display the following properties:  
  
xbd.error.sequence  
xbd.error.line  
xbd.error.text  
  
I’m not able to access:  
xbd.error.component  
xbd.error.statement  
xbd.error.type  
  
Am I doing something wrong or are these properties only created under certain conditions? Any help would be appreciated.  
  
I also logged the information available to the sequence; that information is listed below.  
  
Regards  
Theo  
  
\<-----  
 Message ID = 19e8329~fd9a362a64~~7b6f@usatbexp  
 Time = 2004-07-08 13:03:47.875  
Original Message ID = 19e8329~fd9a362a64~~7b6f@usatbexp  
 Sequence Line = 7, Statement = step  
 Sequence URL = [http://localhost:8800/vrs/sequences/general\_Error\_Sequence.xml](http://localhost:8800/vrs/sequences/general_Error_Sequence.xml)  
  
---------------------------  
xbd.logger.message = ====\> Before Error Report  
  
---- Properties -----  
xbd.current.contentID = /19e8329~fd9a362a64~~7b6f@usatbexp/94/  
xbd.current.contentID.URL = cid:/19e8329~fd9a362a64~~7b6f@usatbexp/94/  
xbd.error.line = 7  
xbd.error.sequence = [http://localhost:8800/vrs/sequences/update\_Customer\_Address\_Sequence.xml](http://localhost:8800/vrs/sequences/update_Customer_Address_Sequence.xml)  
xbd.error.text = com.softwareag.xbridge.exceptions.XException: mail.transport.host: undefined  
xbd.factory.arrival = 2004-07-08 13:03:47.745  
xbd.factory.name = DefaultComponentFactory  
xbd.gatewayservlet.request.accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, _/_  
xbd.gatewayservlet.request.accept-encoding = gzip, deflate  
xbd.gatewayservlet.request.accept-language = en-us  
xbd.gatewayservlet.request.cache-control = no-cache  
xbd.gatewayservlet.request.connection = Keep-Alive  
xbd.gatewayservlet.request.content-length = 643  
xbd.gatewayservlet.request.content-type = application/x-www-form-urlencoded  
xbd.gatewayservlet.request.host = localhost:8800  
xbd.gatewayservlet.request.referer = [http://localhost:8800/mediator/ServletPortal](http://localhost:8800/mediator/ServletPortal)  
xbd.gatewayservlet.request.user-agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)  
xbd.mail.body = yes  
xbd.mail.subject = Update of Retirement Address Information  
xbd.mail.to = [user@softwareagusa.net](mailto:user@softwareagusa.net)  
xbd.persist.message = false  
xbd.persist.overwrite = no  
xbd.persist.status = false  
xbd.portal.client.address = 127.0.0.1  
xbd.portal.client.host = localhost  
xbd.portal.method = POST  
xbd.portal.type = HTTP  
xbd.transformer.stylesheets = [http://localhost:8800/vrs/xslt/view.xslt](http://localhost:8800/vrs/xslt/view.xslt)  
xbu.host.url = [http://localhost:8800](http://localhost:8800)  
  
----- Content Headers -----  
Content-Type = application/x-www-form-urlencoded  
Content-Length = 0  
Message-ID = 19e8329~fd9a362a64~~7b6f@usatbexp  
Content-ID = \</19e8329~fd9a362a64~~7b6f@usatbexp/94/\>  
  
----- Content -----  
  
-----\>

---

<div class="post-metadata">

**Author:** ![Mike\_Bernat](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Mike\_Bernat](https://techcommunity.softwareag.com/u/Mike_Bernat)\
**Post date:** [July 9, 2004, 8:07pm UTC](https://techcommunity.softwareag.com/t/missing-error-properties/58587/2 "2004-07-09T20:07:02Z")

</div>

Hi Theo,  
  
Some questions:  
What version of Mediator are you using?  
Do you have a debug log file, or know the details of the actual error?  
Can you send the sequences?  
  
Best regards,  
 Mike

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [July 12, 2004, 9:18pm UTC](https://techcommunity.softwareag.com/t/missing-error-properties/58587/3 "2004-07-12T21:18:01Z")

</div>

Hi Mike,  
  
I’m using v7.3.1 (the 5/17/2004 cut). Attached you will find a copy of the DefaultComponentFactory.xbd.log. Included you will also find a copy of the error sequence ( which doesn’t include the error properties) as well as the sequence which I caused to fail.   
  
I have tested this sequence with several error conditions and I get the same results every time. In this instance I caused a SOAP Fault to occur.   
  
On Error Sequence:  
  
**general\_error\_sequence.xml**  
  
\<?xml version="1.0" encoding="UTF-8"?\>  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
Sequence which caused the error to occur:  
  
**update\_Customer\_Address\_Sequence.xml**  
  
\<?xml version="1.0" encoding="UTF-8"?\>  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
Let me know if you have any additional questions.  
  
Theo  
[DefaultComponentFactory.xbd.log](https://techcommunity.softwareag.com/uploads/short-url/xajq685Xd17qVeJR8mIeKNtro09.log) (358 KB)

---

<div class="post-metadata">

**Author:** ![Mike\_Bernat](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Mike\_Bernat](https://techcommunity.softwareag.com/u/Mike_Bernat)\
**Post date:** [July 13, 2004, 8:27pm UTC](https://techcommunity.softwareag.com/t/missing-error-properties/58587/4 "2004-07-13T20:27:40Z")

</div>

Hi Theo,  
  
Unfortunately there are some places in the code where the error properties are not being populated yet. We are addressing this and you should see improvements in the next release.  
  
Best regards,  
 Mike

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [July 14, 2004, 9:38pm UTC](https://techcommunity.softwareag.com/t/missing-error-properties/58587/5 "2004-07-14T21:38:55Z")

</div>

Hi Theo,  
  
as far as I remember it is safe to assume that xbd.error.sequence, xbd.error.line, and xbd.error.text are always set when an error occurs.  
  
The other properties are currently set only by some Mediator components.  
  
Kind regards,  
Rolf

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/missing-error-properties/58587/6 "2021-04-02T14:39:21Z")

</div>


