[Issue 6355] New - No longer able to open XMI from command line

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6355
                 Issue #|6355
                 Summary|No longer able to open XMI from command line
               Component|argouml
                 Version|0.33.8
                Platform|PC
                     URL|
              OS/Version|Windows Vista
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Other
             Assigned to|linus
             Reported by|johnmurray






------- Additional comments from [email protected] Fri Aug 19 03:21:35 -0700 2011 -------
I run ArgoUML as an executable, and I have the .xmi suffix associated with the app.

Until recently this worked fine, but when I tried it today with 0.33.8 I got the
following error:

Subtitle of the messagebox: Error opening file : Trivial.xmi

Contents copied to clipboard:

java.lang.NullPointerException
at org.argouml.uml.diagram.DiagramFactory.createDiagram(DiagramFactory.java:142)
at
org.argouml.persistence.ModelMemberFilePersister.registerDiagramsInternal(ModelMemberFilePersister.java:388)
at
org.argouml.persistence.ModelMemberFilePersister.registerDiagrams(ModelMemberFilePersister.java:320)
at org.argouml.persistence.XmiFilePersister.doLoad(XmiFilePersister.java:269)
at org.argouml.ui.ProjectBrowser.loadProject2(ProjectBrowser.java:1626)
at org.argouml.application.Main.openProject(Main.java:507)
at org.argouml.application.Main.main(Main.java:215)

I will attach Trivial.xmi to this log, but it was simply created by adding an
empty class to a new model in 0.33.8 and then using File\Export XMI.

The file association for .xmi runs the following command on open:

"C:\Program Files\Java\jre6\bin\javaw.exe" -Xms64m -Xmx512m -jar "C:\Program
Files\ArgoUML\argouml.jar" "%1"

This is the same command that is run when opening a .zargo file.

I'm confident this arrangement used to work, so I guess something in the latest
development build has broken it.

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2825209

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.