[Issue 6414] svg batch export of class diagram generates 0 byte file

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6414






------- Additional comments from [email protected] Tue Feb 28 04:27:26 -0800 2012 -------
There appears to be a timing issue. Adding a delay of 5 seconds fixes the
problem on my machine.

"Image Fetcher 2" thread problem?

Stack trace as soon as doSave() is entered:

ArgoUML DEBUG (1) [Java Application]	
	org.argouml.application.Main at localhost:37405	
		Thread [main] (Suspended (breakpoint at line 191 in ActionSaveGraphics))	
			ActionSaveGraphics.doSave(File, String, boolean) line: 191	
			ActionSaveGraphics.doCommand(String) line: 266	
			Main.performCommandsInternal(List<String>) line: 703	
			Main.main(String[]) line: 194	
		Daemon Thread [AWT-XAWT] (Running)	
		Daemon Thread [Active Reference Queue Daemon] (Running)	
		Daemon Thread [MDR event dispatcher] (Running)	
		Daemon Thread [Image Fetcher 3] (Running)	
		Daemon Thread [Argo-ToDoValidityCheckingThread] (Running)	
		Thread [AWT-Shutdown] (Running)	
		Thread [AWT-EventQueue-0] (Running)	
		Daemon Thread [Image Fetcher 2] (Running)	
	/usr/lib/jvm/java-6-openjdk/bin/java (Feb 28, 2012 1:26:23 PM)	


Stack trace a few seconds later when some threads are gone:

ArgoUML DEBUG (1) [Java Application]	
	org.argouml.application.Main at localhost:37405	
		Thread [main] (Suspended (breakpoint at line 191 in ActionSaveGraphics))	
			ActionSaveGraphics.doSave(File, String, boolean) line: 191	
			ActionSaveGraphics.doCommand(String) line: 266	
			Main.performCommandsInternal(List<String>) line: 703	
			Main.main(String[]) line: 194	
		Daemon Thread [AWT-XAWT] (Running)	
		Daemon Thread [Active Reference Queue Daemon] (Running)	
		Daemon Thread [MDR event dispatcher] (Running)	
		Daemon Thread [Argo-ToDoValidityCheckingThread] (Running)	
		Thread [AWT-Shutdown] (Running)	
		Thread [AWT-EventQueue-0] (Running)	
	/usr/lib/jvm/java-6-openjdk/bin/java (Feb 28, 2012 1:26:23 PM)

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

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.