January 5, 20188 yr Overview: Support for Docker image arch-intellij in the binhex repo. Application: IntelliJ - https://www.jetbrains.com/idea/ Docker Hub: https://hub.docker.com/r/binhex/arch-intellij/ GitHub: https://github.com/binhex/arch-intellij Documentation: https://github.com/binhex/documentation For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here If you appreciate my work, then please consider buying me a beer Edited May 9, 20197 yr by binhex
January 5, 20188 yr Author Please note this Docker Image is large due to the size of IntelliJ, please ensure you have at least 500MB of free space in your loopback mounted Docker Image before download.
January 5, 20188 yr Wanted to give it a try, but get the following error on startup (unraid 6.4.19, docker has own ip): Internal error. Please report to http://jb.gg/ide/critical-startup-errors java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:148) at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:356) at sun.java2d.SurfaceDataProxy.updateSurfaceData(SurfaceDataProxy.java:498) at sun.java2d.SurfaceDataProxy.replaceData(SurfaceDataProxy.java:455) at sun.java2d.SurfaceData.getSourceSurfaceData(SurfaceData.java:233) at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:566) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014) at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296) at com.sun.java.swing.plaf.gtk.GTKEngine.paintCachedImage(GTKEngine.java:555) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackgroundImpl(GTKPainter.java:291) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:280) at javax.swing.plaf.synth.SynthButtonUI.paintBackground(SynthButtonUI.java:299) at javax.swing.plaf.synth.SynthButtonUI.update(SynthButtonUI.java:254) at javax.swing.JComponent.paintComponent(JComponent.java:780) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent._paintImmediately(JComponent.java:5158) at javax.swing.JComponent.paintImmediately(JComponent.java:4969) at javax.swing.RepaintManager$4.run(RepaintManager.java:854) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:346) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:734) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:456) at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1696) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1645) at com.intellij.ui.AppUIUtil.showPrivacyPolicyAgreement(AppUIUtil.java:321) at com.intellij.ui.AppUIUtil.lambda$showPrivacyPolicy$2(AppUIUtil.java:247) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) found this on the intellij bug tracker: https://youtrack.jetbrains.com/issue/IDEA-124756 Which java version do you use?
January 5, 20188 yr Author 56 minutes ago, xxlbug said: Which java version do you use? its jdk8-openjdk 8.u144 and whilst OpenJDK is not officially supported by intelliJ (supported is Oracle JDK) it seems to be the recommended Java version to use on Arch Linux. I've seen the exact error you are referring to, try closing the error message, then right click the desktop and select "IntelliJ" then Accept the licence and you should be good, basically the bug seems to be triggered by the accept window for the licence, odd but true, so you should only have this issue once, im going to look into stopping the accept licence message some how as a work around.
January 6, 20188 yr I got it working, nice job! Thank you for doing the heavy lifting for us :-) For the error: I closed the error Message, but never got IntelliJ to run with the right click menu (the mouse pointer just spins). I got it working by restarting the container and starting the vnc connection before intellij was starting up -> no error, just accept the license and i was good to go. Seems like there is a problem with java without a "real" screen going. Improvement Idea: If i use the vnc connection, i need to press the "connect" button in the vnc browser tab -> maybe you could configure it to autoconnect?
February 16, 20188 yr Hi, I've never used docker before so my question might be a little bit weird. I would like to know if it was possible to use Ultimate Inteliji Edition (with the correct licence) instead of the current one (Community Edition if I'm right). I don't know if this can be done easily (just some changes in the docker image or building an all new Docker). Thank you for your answer.
November 14, 20187 yr I would agree with xxlbug that it would be great if it wasn't necessary to click on the "Connect" button in VNC, but that it would auto-connect to the IntelliJ IDE environment. Thanks again for making this Docker image!
December 3, 20187 yr Author On 11/14/2018 at 2:23 PM, natea said: I would agree with xxlbug that it would be great if it wasn't necessary to click on the "Connect" button in VNC, but that it would auto-connect to the IntelliJ IDE environment. Thanks again for making this Docker image! you can prevent the connect option popping up by appending autoconnect=1 to the url, example:- http://192.168.1.10:6085/vnc.html?resize=remote&host=192.168.1.10&port=6085&autoconnect=1
June 10, 20206 yr Author 21 hours ago, fortegs said: Is there anyway i can change the resolution of this docker? yes, change the resolution of your screen - novnc runs at whatever resolution you have set.
August 30, 20205 yr How do I put files and stuff on a share? I see there are a couple of mountpooints in the template, but I can't figure out how to use them from within the container.
November 24, 20205 yr Hello @binhex do you have any plans to use https://github.com/JetBrains/projector-server instead of novnc? Something like this:
November 25, 20205 yr Author 12 hours ago, neupsh said: Hello @binhex do you have any plans to use https://github.com/JetBrains/projector-server instead of novnc? Something like this: hmm thats interesting!, but sadly right now i dont have the time to investigate it, novnc in my opinion works quite well, even over a slow remote link so for now i am satisfied that novnc is still an acceptable connection method, but i may come back and take a look at Projector in the future.
February 17, 20215 yr @binhex container is no working correctly, I was using it without issue last year. VNC part is working and gets to the desktop, but IntelliJ is failing to start and upon trying to force a start from desktop context menu I see this error: I nuked app data and did a forced pull to ensure everything was right, but still seeing the issue. Seems like a dependency that has changed ? 2021-02-18 04:31:36,583 DEBG 'start' stderr output: tint2: Kernel uevent interface initialized... 2021-02-18 04:31:36,584 DEBG 'start' stderr output: tint2: systray window 8388621 [1;32mtint2: systray started[0m 2021-02-18 04:31:40,336 DEBG 'start' stderr output: sh: gsimplecal: command not found 2021-02-18 04:31:40,374 DEBG 'start' stderr output: sh: gsimplecal: command not found
February 17, 20215 yr Author 25 minutes ago, tjb_altf4 said: VNC part is working and gets to the desktop, but IntelliJ is failing to start and upon trying to force a start from desktop context menu I see this error: thanks for the heads up, its now fixed, please pull down latest image just built.
February 17, 20215 yr 31 minutes ago, binhex said: thanks for the heads up, its now fixed, please pull down latest image just built. You're a machine! Thanks @binhex, I'm up and running again
August 3, 20214 yr Hi, I seem to be having the same problem that @tjb_altf4 had. Intellij was working fine until I pulled the latest build. I get a blank VNC screen. Attached is the output from supervisord.log. I see a message where it can't find a JRE. Is there a parameter I need to set for this? Thank you! Intellij_log.txt
August 4, 20214 yr Author 14 hours ago, bwnautilus said: Hi, I seem to be having the same problem that @tjb_altf4 had. Intellij was working fine until I pulled the latest build. I get a blank VNC screen. Attached is the output from supervisord.log. I see a message where it can't find a JRE. Is there a parameter I need to set for this? Thank you! Intellij_log.txt 6.21 kB · 0 downloads hi, i suspect your issue is related to glibc and docker runtime, you will either need to upgrade unraid to the current latest release (recommended) or upgrade runc manually, see Q10:- https://github.com/binhex/documentation/blob/master/docker/faq/general.md
August 5, 20214 yr Hi, Thanks so much for getting back to me. I can't upgrade to 6.9.2 because of a bug that affects my server so I'm stuck on 6.8.3 until limetech fixes it. I did upgrade runc manually and now I see the Intellij GUI on VNC.
February 9, 20224 yr Anyone that has way to connect to Github, for some reason I can't get it the token to work and it won't allow me to open a webbrowser for connection ?
July 10, 20223 yr After upgrading to 6.10.3 I'm getting this popup error (see attached pic). The Intellij window starts fine but if I close it I cannot open it again. I have to restart the docker. Is there a workaround for this or do I have to wait for the next docker update? FYI this happens with the Pycharm docker also. Thanks.
August 3, 20223 yr On 7/10/2022 at 9:58 PM, bwnautilus said: I'm getting this popup error (see attached pic) Also having this, did you still have it ? Also having this: using '/mnt/user/Develop Projects/IntelliJIDEA Projects/' but tryed also '/mnt/user/appdata/binhex-intellijIDEA/Projects/' anyone know how to fix it ?
August 3, 20223 yr Author On 7/10/2022 at 7:58 PM, bwnautilus said: After upgrading to 6.10.3 I'm getting this popup error (see attached pic). The Intellij window starts fine but if I close it I cannot open it again. I have to restart the docker. Is there a workaround for this or do I have to wait for the next docker update? FYI this happens with the Pycharm docker also. Thanks. possibly related:- https://github.com/linuxserver/docker-digikam/issues/22 workaround:- https://github.com/linuxserver/docker-digikam/issues/22#issuecomment-1193147081
August 3, 20223 yr 4 hours ago, binhex said: workaround:- https://github.com/linuxserver/docker-digikam/issues/22#issuecomment-1193147081 Workaround did the trick. Thanks @binhex
May 2, 20242 yr Hi, Upgraded to the latest intellij docker and the GUI won't start. When I right click on the VNC screen and select IntelliJ I see this. There is no file /usr/bin/idea-ce. Any suggestions? Thanks in advance.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.