Problem exporting to XMI and VPP

Hi to @ll.

I have two versions of visual paradigm in my computer one of us is the “community edition” and the other is the “profesional edition” (trial version), with the last one I can export my vpp files to xmi but when I try to do it with some classes (I attach one of this) the application show me this error:


java.lang.NullPointerException
v.wt.i(:47)
v.cqv.f(:43)
v.bkn.i(:519)
v.bkn.i(:325)
v.bkn.i(:142)
v.bkn.i(:24)
v.ynp.i(:631)
v.dar.d(:35)
v.hpt.run(Unknown Source)

I try to solve the problem deleting all properties and methods and exporting but still the same problem :-(.

But the problems don’t finish, when I export many classes to other VPP file, I can see that the visual paradigm don’t export all of data types that I have.
Sesion.vpp

Hi again Pablo,

Thank you for your post.

I have reported the first problem (Null Pointer Exception) to our engineers. They are now investigating it.

But the problems don’t finish, when I export many classes to other VPP file, I can see that the visual paradigm don’t export all of data types that I have.

I am sorry but I am unable to reproduce this problem. Can it be repeated with the attached file? If so, what are the steps (Export proejct? Export XMI?) required, and what is the expected outcome?

Looking forward to hearing from you again.

Best Regards,
Jick

Hi Pablo,

I just received a feedback from our engineers. The exception is occured because there exists relationship that is pointing to nothing. I guess that the ‘to’ side was deleted when you trimmed your project. For more details, please refer to the attached image.

We will perform checking to skip exporting the relationship if either side is null. As a workaround, you can simply remove the two relationships. This will solve the problem.

Finally, may I ask for the FULL log for a more accurate testing? You can locate the log file (vp.log) under %VP-Suite_DIR%\bin

Looking forward to hearing from you.

Best Regards,
Jick

img_20060124.png

Hi Pablo,

A hotfix is made to the XMI Export problem, please download the hotfix here:
http://files2.visual-paradigm.com/200601/HotFix/20060116f/vpplatform.jar

and follow the instruction from the following page to apply the hotfix:
http://resource.visual-paradigm.com/tips_and_tricks/general/replacing_hot_fix.html

If there are any further questions, please let me know.

Best Regards,
Jick