Skip to Content

PowerDesigner 16.6: ValidSubFolder Error when importing XMI file

I'm using PD SP04 PL01 (Version: PD 16.6.4.1 (5437)). I'm attempting to import an XMI 2.1 file. The import runs for a couple of minutes and then exists with no objects imported. In the Output window I see:

ValidSubFolder("C:\ProgramData\PowerDesigner 16\NMap", "C:\Users\N211357\") => Not a sub-folder:

"C:\ProgramData\PowerDesigner 16\NMap\" is not a sub-folder of "C:\Users\N211357\".

Parameter name: subFolder

N211357 is my user folder. I'm not sure why PD thinks the NMap folder should be under my home folder. (in addition, the folder under PowerDesigner 16 is "Nmap files", not just "NMap".)

Has anyone encountered this? Is there a solution, or is this a bug?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 12 at 11:53 PM

    I cannot reproduce the issue.

    I put XMIexample.xmi in C:\temp\new folder

    When import the file, Powerdesigner checks the file and saves it to

    C:\Users\Your id\AppData\Local\Temp

    After done, the file in Temp will be removed.

    This is the output :

    Importing file 'C:\Users\Ud1243\AppData\Local\Temp\713A.xmi'
    Creating model 'untitledModel'
      Creating package 'java'
      Creating package 'lang'
      Creating package 'xmiexample'
        Creating class 'box'
        Creating class 'dimension'
        Creating class 'String'
    Creating links
    Creating auxiliary elements
    Creating symbols
    Creating symbols
    Creating symbols
    Creating symbols
    File 'C:\Users\Ud1243\AppData\Local\Temp\713A.xmi' successfully imported!
    
    Add comment
    10|10000 characters needed characters exceeded