You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On windows 10.
Installed latest java, javaFX, AWS, and okta-aws-cli-assume-role. Then had to change the windows profile to include modules
running from powershell okta-aws [aprofile] sts get-caller-identity
getting error
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.IllegalAccessError: class com.okta.tools.authentication.CookieManager (in unnamed module @0x6f3d3e38) cannot access class com.sun.webkit.network.CookieManager (in module javafx.web) because module javafx.web does not export com.sun.webkit.network to unnamed module @0x6f3d3e38
at com.okta.tools.authentication.CookieManager.(CookieManager.java:31)
at com.okta.tools.authentication.BrowserAuthentication.initializeCookies(BrowserAuthentication.java:106)
at com.okta.tools.authentication.BrowserAuthentication.start(BrowserAuthentication.java:80)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174) Expected behavior
This should run and work but doesn't
This is related to OKTA_BROWSER_AUTH=true in okta config, if i comment this out it errors out without an identity provider
The text was updated successfully, but these errors were encountered:
Describe the bug
On windows 10.
Installed latest java, javaFX, AWS, and okta-aws-cli-assume-role. Then had to change the windows profile to include modules
e.g. environment PATH_TO_FX=c:\Program Files\Java\javafx-sdk-15.0.1\lib
java "-Djava.util.logging.config.file=$HOME.okta\logging.properties" --module-path=$Env:PATH_TO_FX --add-modules=javafx.base,javafx.graphics,javafx.controls,javafx.web,javafx.fxml -classpath $HOME.okta\okta-aws-cli.jar $MainClass @Args
To Reproduce
Steps to reproduce the behavior:
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.IllegalAccessError: class com.okta.tools.authentication.CookieManager (in unnamed module @0x6f3d3e38) cannot access class com.sun.webkit.network.CookieManager (in module javafx.web) because module javafx.web does not export com.sun.webkit.network to unnamed module @0x6f3d3e38
at com.okta.tools.authentication.CookieManager.(CookieManager.java:31)
at com.okta.tools.authentication.BrowserAuthentication.initializeCookies(BrowserAuthentication.java:106)
at com.okta.tools.authentication.BrowserAuthentication.start(BrowserAuthentication.java:80)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
Expected behavior
This should run and work but doesn't
This is related to OKTA_BROWSER_AUTH=true in okta config, if i comment this out it errors out without an identity provider
The text was updated successfully, but these errors were encountered: