ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilisa Sidorova (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-799) Schema import script gets "Desktop API is not supported on the current platform" exception for Ubuntu OS
Date Fri, 24 Apr 2015 09:23:38 GMT
Vasilisa Sidorova created IGNITE-799:
----------------------------------------

             Summary: 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
         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: Alexey Kuznetsov
            Priority: Minor


---------------------------------------------
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:
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)
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)

Mime
View raw message