# Error-\[NOA\] Null object access

**URL:** <https://verificationacademy.com/forums/t/error-noa-null-object-access/41966>\
**Category:** UVM\
**Tags:** Null-Object-Access, UVM\
**Created:** [July 20, 2023, 6:55am UTC](https://verificationacademy.com/forums/t/error-noa-null-object-access/41966 "2023-07-20T06:55:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tinku\_mistry](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/t/919ad9/32.png) [@tinku\_mistry](https://verificationacademy.com/forums/u/tinku_mistry)\
**Post date:** [July 20, 2023, 6:55am UTC](https://verificationacademy.com/forums/t/error-noa-null-object-access/41966/1 "2023-07-20T06:55:22Z")

</div>

sm\_test.sv, 20  
The object at dereference depth 1 is being used before it was  
constructed/allocated.  
Please make sure that the object is allocated before using it.

> **[EDA Playground](https://www.edaplayground.com/x/U5CW)**
>
> Edit, save, simulate, synthesize SystemVerilog, Verilog, VHDL and other HDLs from your web browser.

please let me know where i am doing mistake.

---

<div class="post-metadata">

**Author:** ![kddholak](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/kddholak/32/1363_2.png) [@kddholak](https://verificationacademy.com/forums/u/kddholak)\
**Post date:** [July 20, 2023, 7:53am UTC](https://verificationacademy.com/forums/t/error-noa-null-object-access/41966/2 "2023-07-20T07:53:35Z")

</div>

_In reply to [tinku\_mistry](https://verificationacademy.com/forums/t/error-noa-null-object-access/41966):_  
You have missed creating object in your test:  
Line 20 requires this statement in your test case :

```verilog

  seq = sm_sequence::type_id::create("seq");

```
