# \#raise\_objection-in-pre\_body

**URL:** https://verificationacademy.com/forums/tag/raise-objection-in-pre-body/4338.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [How else we can use pre\_body method and post\_body method in a sequence apart from raising and dropping objections?](https://verificationacademy.com/forums/t/how-else-we-can-use-pre-body-method-and-post-body-method-in-a-sequence-apart-from-raising-and-dropping-objections/32791)

<div class="topic-metadata">

**Author:** [@8Blades](https://verificationacademy.com/forums/u/8Blades)\
**Replies:** 6\
**Last updated:** [January 31, 2017, 4:30am UTC](https://verificationacademy.com/forums/t/how-else-we-can-use-pre-body-method-and-post-body-method-in-a-sequence-apart-from-raising-and-dropping-objections/32791 "2017-01-31T04:30:38Z")

</div>

The objection raising and dropping could be done at the beginning of sequence body and at the end of the body respectively, without using the pre\_body and post\_body tasks. What are the other possible use cases of these t…

---

## [Objection raise](https://verificationacademy.com/forums/t/objection-raise/30349)

<div class="topic-metadata">

**Author:** [@rush2k](https://verificationacademy.com/forums/u/rush2k)\
**Replies:** 3\
**Last updated:** [February 11, 2015, 3:39pm UTC](https://verificationacademy.com/forums/t/objection-raise/30349 "2015-02-11T15:39:39Z")

</div>

I am calling a start method to run a sequence from testcase run phase. I am just passing a name of sequencer. like seq\_handle.(env.mst.seqnr). When my pre\_body of sequence is run then i am checking some condition for …

---

## [When should we implement raise\_objection(this) and drop\_objection(this) in pre\_body() and post\_body() task respectively?](https://verificationacademy.com/forums/t/when-should-we-implement-raise-objection-this-and-drop-objection-this-in-pre-body-and-post-body-task-respectively/29010)

<div class="topic-metadata">

**Author:** [@Balu\_15](https://verificationacademy.com/forums/u/Balu_15)\
**Replies:** 7\
**Last updated:** [January 3, 2014, 9:03pm UTC](https://verificationacademy.com/forums/t/when-should-we-implement-raise-objection-this-and-drop-objection-this-in-pre-body-and-post-body-task-respectively/29010 "2014-01-03T21:03:46Z")

</div>

Hi, i am trying to implement raise\_objection() and drop\_objection() in pre/post body. the simulator is giving fatal error message like “Null instance encountered when dereferencing ‘this.starting phase’”. Please sugge…
