How to solve error with mds auto naming?

Message Error: (160,46) FILE OBJECT is UNSET.

This error is related to  the pml function: mdsautoname.GETNEXTNAME

More explanation: Support autonaming file form could not be loaded. After reloading the support application to default, the same error will be appeared.

PML Alert Summary:
Message: (160,46) FILE Object is UNSET
Line: In line 507 of PML function mdsautoname.GETNEXTNAME
Command: !existsFileCont = !this.fileName.readfile()
Call-Stack:
01: Called from line 56 of PML function mdssetsupportnames
02: !newName = !!mdsAutoName.getnextname(TRUE)
03: Called from line 4632 of PML function mdstrunnion.CREATETRUNNITT17
04: !!mdsSetSupportNames(!this.suppo, !suppName)
05: Called from line 3178 of PML function mdstrunnion.CREATETRUNNI
06: return !this.createTrunni$!this.softType(!direction)
07: Called from line 2842 of PML function mdstrunnion.CREATEELBODBHIERARCHY
08: return !this.createTrunni(!trunDir)
09: Called from line 2647 of PML function mdstrunnion.CREATEDBHIERARCHY
10: if (!this.createElboDbHierarchy().not()) then
11: Called from line 1101 of PML function mdstrunnion.CREATETRUNNION
12: if (!this.createDbHierarchy().not()) then
13: Called from line 29 of PML function mdscreatetrunnion
14: !trunnionObject.createTrunnion()
15: Called from line 90 of PML function mdscreatesupport
16: !!mdsCreateTrunnion(!softType, !elementsToSupport)
17: Called from line 52 of PML function mdscreatetrunnion.EXECUTE
18: call !!mdsCreateSupport('$!args[0]','TT')