[ https://issues.apache.org/jira/browse/IGNITE-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Konstantinov updated IGNITE-799: -------------------------------------- Assignee: Vasilisa Sidorova (was: Pavel Konstantinov) > Schema import script gets "Desktop API is not supported on the current > platform" exception for Ubuntu OS > -------------------------------------------------------------------------------------------------------- > > Key: IGNITE-799 > URL: https://issues.apache.org/jira/browse/IGNITE-799 > Project: Ignite > Issue Type: Bug > Affects Versions: sprint-4 > Environment: Ubuntu 14.04, Ignite fabric-1.0.3-QASK2401 build #53 > (http://94.72.60.102/viewLog.html?buildId=433416&tab=artifacts&buildTypeId=IgniteBuildsAndUploads_UploadIgniteGridGainMvnSiteOnDemandToGg) > Reporter: Vasilisa Sidorova > Assignee: Vasilisa Sidorova > Priority: Minor > Fix For: 1.6 > > Attachments: > #_IGNITE-799_Suggestion_to_install_additional_library.patch, > ignite-799-libgnome.png > > > --------------------------------------------- > STEPS FOR REPRODUCE > --------------------------------------------- > 1. Run ignite-schema-import.sh from product bin directory > 2. Choose connection to DB > 3. Choose tables > 4. Press "Generate" button > 5. Choose answer "Yes" for question "Reveal output folder in system default > file browser?" > --------------------------------------------- > ACTUAL RESULT > --------------------------------------------- > There is exception in the script's console: > {noformat} > Exception in runnable > java.lang.UnsupportedOperationException: Desktop API is not supported on the > current platform > at java.awt.Desktop.getDesktop(Desktop.java:144) > at > org.apache.ignite.schema.ui.SchemaImportApp$3.succeeded(SchemaImportApp.java:512) > at javafx.concurrent.Task.setState(Task.java:639) > at javafx.concurrent.Task$TaskCallable$2.run(Task.java:1271) > at > com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182) > at > com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) > at java.security.AccessController.doPrivileged(Native Method) > at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179) > at > com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) > at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) > at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:89) > at java.lang.Thread.run(Thread.java:745) > {noformat} > All data are generated correctly > --------------------------------------------- > EXPECTED RESULT > --------------------------------------------- > Undefined. May be it should be modal window with error message instead > exception in the console. -- This message was sent by Atlassian JIRA (v6.3.4#6332)