External visualiser throws "Desktop API is not supported on the current platform" exception

Bug #1537558 reported by Danil Sokolov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Workcraft
Fix Committed
Low
Danil Sokolov

Bug Description

To reproduce create an STG and visualise its state graph via Tools->External visualiser->...

The following exception is thrown:

Exception in thread "Thread-7" java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform
 at java.awt.Desktop.getDesktop(Desktop.java:144)
 at org.workcraft.plugins.workspace.handlers.SystemOpen.open(SystemOpen.java:48)
 at org.workcraft.plugins.petrify.tools.ShowSg$1.finished(ShowSg.java:66)
 at org.workcraft.tasks.ProgressMonitorArray.finished(ProgressMonitorArray.java:12)
 at org.workcraft.tasks.DefaultTaskManager.rawExecute(DefaultTaskManager.java:44)
 at org.workcraft.tasks.DefaultTaskManager$2.run(DefaultTaskManager.java:66)
 at java.lang.Thread.run(Thread.java:745)

Tags: exception

Related branches

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.