[Support] binhex - IntelliJ


Recommended Posts

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

Documentationhttps://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  :D

 

btn_donate_SM.gif

Edited by binhex
Link to comment

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?

Link to comment
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.

Link to comment

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?

Link to comment
  • 1 month later...

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.

Link to comment
  • 8 months later...
  • 3 weeks later...
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

 

Link to comment
  • 1 year later...
  • 2 months later...
  • 2 months later...
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.

  • Like 1
Link to comment
  • 2 months later...

@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:

 

image.png.8bb75ec211c26651e746a565615f8b2e.png

 

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

 

Link to comment
  • 5 months later...
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

Link to comment
  • 6 months later...
  • 5 months later...

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. 

2022-07-10 14_55_41-IntelliJ - noVNC.png

Link to comment
  • 4 weeks later...

 

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:

image.png.2a31e5297e214f1a583141408a65bd29.png

 

using '/mnt/user/Develop Projects/IntelliJIDEA Projects/'

but tryed also '/mnt/user/appdata/binhex-intellijIDEA/Projects/'

anyone know how to fix it ?

Link to comment
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. 

2022-07-10 14_55_41-IntelliJ - noVNC.png

possibly related:- https://github.com/linuxserver/docker-digikam/issues/22

 

workaround:- https://github.com/linuxserver/docker-digikam/issues/22#issuecomment-1193147081

  • Thanks 1
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.