I’m using a bought/licensed VisualParadigm for UML Modeler Edition Ver. 5.0 (20050624a).
I have a project with 3 ClassDiagrams and 4 SequenceDiagrams.
Because at a previous development step I deleted other (4) existing ClassDiagrams I’ve seen that even some of deleted model entities were used in SequenceDiagramas , after ClassDiagrams deletion that model entities were missing from SD.
So to reuse that entities:
- I exported one ClassDiagram from previous version of project.
- then imported (now I have 4 CD) this in my current project.
- used model entities in existing SequenceDiagramas (lifelines updated with missing class info)
- deleted imported ClassDiagram (now I have 3 CD)
Tried to export to XMI , but in bin/vp.log I got:
[Thu Oct 20 12:31:13 EEST 2005]: Start Visual Paradigm for UML Modeler Edition [VP-UML ME]: 5.0 (20050624a)
ip : [our license server ip]port : [our license server port]
java.lang.NullPointerException
at v.pal.i(:207)
at v.pal.d(:87)
at v.pal.i(:44)
at v.bkk.f(:50)
at v.ahu.i(:458)
at v.plh.t(:228)
at v.plh.i(:103)
at v.bkk.f(:50)
at v.ahu.i(:458)
at v.wgr.i(:66)
at v.bkk.f(:50)
at v.ahu.i(:458)
at v.ahu.i(:248)
at v.ahu.i(:130)
at v.ahu.i(:40)
at v.rbr.i(:571)
at v.fzt.d(:22)
at v.gtw.run(Unknown Source)
Then I tried to export all 3 CD +4 SD diagrams into other new project and after save tried to export to xmi again , but no success again, log is like this:
[Thu Oct 20 13:39:06 EEST 2005]: Start Visual Paradigm for UML Modeler Edition [VP-UML ME]: 5.0 (20050624a)
ip : [our license server ip]port : [our license server port]
java.lang.NullPointerException
at v.pal.i(:207)
at v.pal.d(:83)
at v.pal.i(:44)
at v.bkk.f(:50)
at v.ahu.i(:458)
at v.ahu.i(:248)
at v.ahu.i(:130)
at v.ahu.i(:40)
at v.rbr.i(:571)
at v.fzt.d(:22)
at v.gtw.run(Unknown Source)
Finally I deleted all existing diagrams from this new project and tried to export as xmi again but same NullPointerException as last one , all of these with an supposed empty project.
Making a new empty project from File->NewProject (not reusing an old project) was a success in export to xmi.
I attached the empty project obtained by removing all diagrams.
You can use it to get same VpUml behaviour that I got.
I would like to say that we are stucked as we synchronize our projects using xmi (to have same ids for model entities).
I also hope for an better and quick problem solving because we really need this problem to be solved somehow (to export our existing projects to xmi).
Thank you for understanding and your help.
AnEmptyProject.vpp