Title: Launch JavaFX Application Causes Exception · Issue #52 · eficode/JavaFXLibrary · GitHub
Open Graph Title: Launch JavaFX Application Causes Exception · Issue #52 · eficode/JavaFXLibrary
X Title: Launch JavaFX Application Causes Exception · Issue #52 · eficode/JavaFXLibrary
Description: After starting the java 11 remote server at port 8270 java --module-path /opt/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.fxml,javafx.base,javafx.graphics,javafx.media,javafx.swing,javafx.web -Djdk.gtk.version=2 -jar /opt/...
Open Graph Description: After starting the java 11 remote server at port 8270 java --module-path /opt/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.fxml,javafx.base,javafx.graphics,javafx.media,javafx.swing,j...
X Description: After starting the java 11 remote server at port 8270 java --module-path /opt/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.fxml,javafx.base,javafx.graphics,javafx.media,javafx.swing,j...
Opengraph URL: https://github.com/eficode/JavaFXLibrary/issues/52
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Launch JavaFX Application Causes Exception","articleBody":"After starting the java 11 remote server at port 8270\r\n`java --module-path /opt/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.fxml,javafx.base,javafx.graphics,javafx.media,javafx.swing,javafx.web -Djdk.gtk.version=2 -jar /opt/robot_javafx_jars/javafxlibrary-0.6.0.jar`\r\n\r\nI attempt to run my robot file with my IP Address:\r\n\r\n```\r\n*** Settings ***\r\nLibrary Remote\t http://ip_address:8270\t WITH NAME\tJavaFXLibrary\r\n\r\n*** Test Cases ***\r\nTest Text Field Text Should Be\r\n\tLaunch JavaFX Application\torg.ocui.login.LoginUI\r\n```\r\n\r\nand am getting the error **FxRobot not initialized, launch test application with the library**. My start and main method are in the LoginUI class and launches normally for java fx without any arguments. After tracing through the JavaFXLibrary code, I don't understand why there would be an exception thrown when creating the new session for launching the application. Just wondering if I am missing anything in the robot keyword.\r\n\r\nBelow is the log file:\r\n\r\n```\r\nKEYWORD: JavaFXLibrary . Launch Javafx Application org.ocui.login.LoginUI\r\nDocumentation: Launches JavaFX application with the given arguments.\r\nStart / End / Elapsed: \t20200918 14:22:03.775 / 20200918 14:22:09.333 / 00:00:05.558\r\n14:22:09.332 \tINFO \tStarting application:org.ocui.login.LoginUI \t\r\n14:22:09.332 \tINFO \tJavaFXLibrary keyword has failed! \t\r\n14:22:09.332 \tERROR \tFxRobot not initialized, launch test application with the library \t\r\n14:22:09.333 \tFAIL \tUnable to launch application: org.ocui.login.LoginUI\r\n```","author":{"url":"https://github.com/danPec13","@type":"Person","name":"danPec13"},"datePublished":"2020-09-18T18:34:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/52/JavaFXLibrary/issues/52"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d629a0fb-5d65-2cd0-a665-ef164cb423e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA8A:137B94:A28E5C:D86194:6A5B62A8 |
| html-safe-nonce | 0a6710bd81ed737fe4e3ace8091c11e5355c21fcb50ac1df11e5b1a918ff6559 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQThBOjEzN0I5NDpBMjhFNUM6RDg2MTk0OjZBNUI2MkE4IiwidmlzaXRvcl9pZCI6IjQ1MTY1MjQwODc2OTE2NjYwODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4deb4100d62656c97d48f20081456f98a2b1b0972bcd05f6e56fdc534f79d95d |
| hovercard-subject-tag | issue:704576819 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/eficode/JavaFXLibrary/52/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aee19e3062577e92dcbe18b75f521b46675b4cc1214662ca2af40d9ba404301b/eficode/JavaFXLibrary/issues/52 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aee19e3062577e92dcbe18b75f521b46675b4cc1214662ca2af40d9ba404301b/eficode/JavaFXLibrary/issues/52 |
| og:image:alt | After starting the java 11 remote server at port 8270 java --module-path /opt/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.fxml,javafx.base,javafx.graphics,javafx.media,javafx.swing,j... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danPec13 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/eficode/JavaFXLibrary git https://github.com/eficode/JavaFXLibrary.git |
| octolytics-dimension-user_id | 526962 |
| octolytics-dimension-user_login | eficode |
| octolytics-dimension-repository_id | 125997502 |
| octolytics-dimension-repository_nwo | eficode/JavaFXLibrary |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125997502 |
| octolytics-dimension-repository_network_root_nwo | eficode/JavaFXLibrary |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width