Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IntelliJ][ReportedByUser] Uncaught Exception java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform! #4558

Closed
James-S-Wood opened this issue Aug 18, 2020 · 2 comments · Fixed by #4604

Comments

@James-S-Wood
Copy link

IntelliJ build version: 2020.2 IC-202.6397.94
OS: Linux
JDK: JetBrains s.r.o. 11.0.7
Plugin version: 3.40.0-2020.2
Additional Info: None
Parent component:

com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog$DialogRootPane[,0,41,824x495,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

IdeaLoggingEvent[message=null, throwable=java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
	at java.desktop/java.awt.Desktop.checkActionSupport(Desktop.java:380)
	at com.microsoft.azuretools.ijidea.ui.DeviceLoginWindow.lambda$new$0(DeviceLoginWindow.java:81)
	at com.microsoft.azuretools.ijidea.ui.DeviceLoginUI.buildAndShow(DeviceLoginUI.java:49)
	at com.microsoft.azuretools.ijidea.ui.DeviceLoginUI.lambda$authenticate$0(DeviceLoginUI.java:42)
	at com.microsoft.azuretools.ijidea.ui.SignInWindow.doLogin(SignInWindow.java:299)
	at com.microsoft.azuretools.ijidea.ui.SignInWindow.doDeviceLogin(SignInWindow.java:285)
	at com.microsoft.azuretools.ijidea.ui.SignInWindow.doOKAction(SignInWindow.java:197)
	at com.microsoft.azuretools.ijidea.ui.SignInWindow.go(SignInWindow.java:146)
@andxu andxu added this to the V3.44.0 milestone Sep 21, 2020
@andxu
Copy link
Contributor

andxu commented Sep 21, 2020

Improve the error handling.

@andxu andxu modified the milestones: V3.44.0, V3.45.0 Sep 21, 2020
@andxu andxu assigned wangmingliang-ms and unassigned Flanker32 Sep 21, 2020
@wangmingliang-ms
Copy link
Collaborator

intellij plugin for Azure uses java Desktop API to launch the default browser to open url. but the Desktop API is not well supported in some platforms.

wangmingliang-ms added a commit that referenced this issue Sep 21, 2020
….UnsupportedOperationException: The BROWSE action is not supported on the current platform!
wangmingliang-ms added a commit that referenced this issue Sep 21, 2020
….UnsupportedOperationException: The BROWSE action is not supported on the current platform!
wangmingliang-ms added a commit that referenced this issue Sep 21, 2020
….UnsupportedOperationException: The BROWSE action is not supported on the current platform!
andxu pushed a commit that referenced this issue Sep 22, 2020
…ent platform! (#4604)

* [github #4558][IntelliJ][ReportedByUser] Uncaught Exception  java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants