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

issues with setting up pycharm on docker #9

Open
vraj004 opened this issue Dec 11, 2021 · 0 comments
Open

issues with setting up pycharm on docker #9

vraj004 opened this issue Dec 11, 2021 · 0 comments

Comments

@vraj004
Copy link
Contributor

vraj004 commented Dec 11, 2021

My system is a Mac OSX 11.6 (Big Sur). I followed the docker instructions to initiate opencmiss with pycharm as shown here: https://opencmiss-iron-tutorials.readthedocs.io/en/latest/getting_started/running/pycharm.html

I got the following errors, I highlight a couple of key points in bold:
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

Start Failed: Failed to initialize graphics environment

java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.(GraphicsEnvironment.java:83)
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
at java.desktop/sun.awt.X11.XToolkit.(XToolkit.java:231)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:588)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:583)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:582)
at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1499)
at java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1318)
at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$9(StartupUtil.java:324)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)


JRE 11.0.8+10-b944.34 amd64 by JetBrains s.r.o.
/home/jovyan/work/PyCharm/jbr
2021-12-11 22:26:10,735 [ 898] ERROR - llij.ide.plugins.PluginManager - null
java.lang.ExceptionInInitializerError
at java.prefs/java.util.prefs.FileSystemPreferencesFactory.userRoot(FileSystemPreferencesFactory.java:41)
at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457)
at com.intellij.ide.Prefs.migrate(Prefs.java:123)
at com.intellij.ide.Prefs.get(Prefs.java:24)
at com.intellij.ide.gdpr.EndUserAgreement.getAcceptedVersion(EndUserAgreement.java:81)
at com.intellij.ide.gdpr.EndUserAgreement.access$100(EndUserAgreement.java:23)
at com.intellij.ide.gdpr.EndUserAgreement$Document.isAccepted(EndUserAgreement.java:210)
at com.intellij.idea.StartupUtil.showUserAgreementAndConsentsIfNeeded(StartupUtil.java:784)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:264)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:242)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:47)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:216)
at java.prefs/java.util.prefs.FileSystemPreferences$4.run(FileSystemPreferences.java:457)
at java.prefs/java.util.prefs.FileSystemPreferences$4.run(FileSystemPreferences.java:455)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.prefs/java.util.prefs.FileSystemPreferences.(FileSystemPreferences.java:455)
... 12 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant