# DDL Script generation TDM 5.5

**URL:** <https://forums.toadworld.com/t/ddl-script-generation-tdm-5-5/34861>\
**Category:** Toad Data Modeler\
**Created:** [January 18, 2016, 7:01am UTC](https://forums.toadworld.com/t/ddl-script-generation-tdm-5-5/34861 "2016-01-18T07:01:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moakes](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@moakes](https://forums.toadworld.com/u/moakes)\
**Post date:** [January 18, 2016, 7:01am UTC](https://forums.toadworld.com/t/ddl-script-generation-tdm-5-5/34861/1 "2016-01-18T07:01:54Z")

</div>

Hi,

We have just installed TDM 5.5.3.20. (On windows 7 64 bit). We are using Oracle 11R2

When I try to generate DDL for my model I get “List index out of bounds (-1)”.

The model generated OK in TDM 5.3.

We get the same error on an updated pc or on a new install.

I have tried RE from the script generated in 5.3 but get the same error.

Any ideas on how to fix it would be appreciated.

---

<div class="post-metadata">

**Author:** ![Lukas.Knapek](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/lukas.knapek/32/269_2.png) [@Lukas.Knapek](https://forums.toadworld.com/u/Lukas.Knapek)\
**Post date:** [January 18, 2016, 11:18pm UTC](https://forums.toadworld.com/t/ddl-script-generation-tdm-5-5/34861/2 "2016-01-18T23:18:05Z")

</div>

Hi Malcolm,

Let’s address the two errors separately:

**DDL Script Generation error**

- Please look for a log (_.elf file) in the following folder and send it to us - \_\_C:\Users\*user_\AppData\Roaming\Dell\Toad Data Modeler\_\_

- Another way is to check the **Copy to Clipboard** option when the error appears again and send us the information in a plaintext file.

- If you use custom generation settings, please take screenshots of the **What to Generate** and **Detail Settings** tabs.

- The error could be caused by a specific model. Could you possibly send it to us via email ([lukas.knapek@quest.com](mailto:lukas.knapek@quest.com))?  
**DDL Reverse Engineering error**

- Please try to restart TDM and reproduce the error again, just to make sure it was not caused by the first error. Did you manage to reproduce again?

- If so, once again, please send us the log file or the error information.

- Also, could you send us the DDL file itself (via email)? We suspect the issue is model dependent and having the script would help us tremendously.  
As of now, we think the two errors have different cause (DDL Generation vs DDL RE). Once we have more information, we will see what we can do.

Regards,

Lukas

---

<div class="post-metadata">

**Author:** ![moakes](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@moakes](https://forums.toadworld.com/u/moakes)\
**Post date:** [January 19, 2016, 5:53am UTC](https://forums.toadworld.com/t/ddl-script-generation-tdm-5-5/34861/3 "2016-01-19T05:53:56Z")

</div>

Hi Lukas,

I have sent you .elf file and ddl file. We were using defaults for DDL generation.

---

<div class="post-metadata">

**Author:** ![moakes](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@moakes](https://forums.toadworld.com/u/moakes)\
**Post date:** [January 20, 2016, 11:45pm UTC](https://forums.toadworld.com/t/ddl-script-generation-tdm-5-5/34861/4 "2016-01-20T23:45:03Z")

</div>

Workround supplied by Dell seems to overcome the issue.

Oracle model specific issue.

In the model turn off Verification of Name Uniqueness.

In TDM options increase Model.Max.number of messages to 200.
