You are not logged in.

#1 2021-01-10 20:53:21

Brain
Member
Registered: 2020-07-29
Posts: 54

intellij-idea-community-edition does not work anymore

Hey there!
I updated my intellij-idea-community-edition package and then it suddenly stopped working.
I got this error:

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ui.StartupUiUtil to constructor com.sun.java.swing.plaf.gtk.GTKLookAndFeel()
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ui.StartupUiUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fea0346a13c, pid=78297, tid=78331
#
# JRE version: OpenJDK Runtime Environment (11.0.10+8) (build 11.0.10+8)
# Java VM: OpenJDK 64-Bit Server VM (11.0.10+8, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# C  0x00007fea0346a13c
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u
%g %s %t %c %h" (or dumping to /home/user/core.78297)
#
# An error report file with more information is saved as:
# /home/weisbrja/java_error_in_idea_78297.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/share/idea/bin/idea.sh: line 230: 78297 Aborted                 (core dumped) "$JAVA_BIN" -classpath "$CLASSPATH" ${VM_OPTIONS} "-XX:ErrorFile=$HOME/java_error_in_idea_%p.log" "-XX:HeapDumpPath=$HOME/java_error_in_idea_.hprof" "-Didea.vendor.name=${PRODUCT_VENDOR}" "-Didea.paths.selector=${PATHS_SELECTOR}" "-Djb.vmOptionsFile=$VM_OPTIONS_FILE" ${IDE_PROPERTIES_PROPERTY} -Didea.platform.prefix=Idea -Didea.jre.check=true com.intellij.idea.Main "$@"

As far as my reading went, this is caused because the option was deprecated in jdk-15?
I have figured out a workaround though:

I uninstalled the package, installed the intellij-idea-ce package.
I then only get the warning, that the option was deprecated and will likely be removed.

Is there another way to fix this?

Offline

#2 2021-01-11 03:55:05

zhengyi5403
Member
Registered: 2015-10-09
Posts: 1

Re: intellij-idea-community-edition does not work anymore

sudo downgrade jre11-openjdk jdk11-openjdk jre11-openjdk-headless

I have the same issue, downgrade these package to 11.0.8.u10 while fix it.

there is another solution

install intellij-idea-ultimate-edition-jre from AUR

then edit /usr/bin/idea

my old version of this file is use /usr/lib/jvm/java-11-openjdk/

#!/bin/sh

# WARNING:
# Running IntelliJ IDEA with java other than java 11
# may cause various problems, such as Graddle import not working
if [ -z "$IDEA_JDK" ] ; then
  IDEA_JDK="/opt/intellij-idea-ultimate-edition/jbr"
fi
# open-jfx location that should match the JDK version
if [ -z "$IDEA_JFX" ] ; then
  IDEA_JFX="/usr/lib/jvm/java-11-openjfx/"
fi
# classpath according to defined JDK/JFX
if [ -z "$IDEA_CLASSPATH" ] ; then
  IDEA_CLASSPATH="${IDEA_JDK}/lib/*:${IDEA_JFX}/lib/*"
fi

exec env IDEA_JDK="$IDEA_JDK" IDEA_CLASSPATH="$IDEA_CLASSPATH" /usr/share/idea/bin/idea.sh "$@"

# vim: ts=2 sw=2 et:

Last edited by zhengyi5403 (2021-01-13 10:35:31)

Offline

#3 2021-01-11 07:13:30

jaxad0127
Member
Registered: 2008-09-02
Posts: 4

Re: intellij-idea-community-edition does not work anymore

Same with ultimate edition (AUR). I have an error log file (from both) I can attach, if needed. Here's the stack trace for now (same stack for both):

Stack: [0x00007fe364d34000,0x00007fe364e35000],  sp=0x00007fe364e30ae8,  free space=1010k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x00007fe3211ad12c

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.java.swing.plaf.gtk.GTKStyle.nativeGetXThickness(I)I+0 java.desktop@11.0.10
j  com.sun.java.swing.plaf.gtk.GTKStyle.<init>(Ljava/awt/Font;Lcom/sun/java/swing/plaf/gtk/GTKEngine$WidgetType;)V+24 java.desktop@11.0.10
j  com.sun.java.swing.plaf.gtk.GTKStyleFactory.getStyle(Ljavax/swing/JComponent;Ljavax/swing/plaf/synth/Region;)Ljavax/swing/plaf/synth/SynthStyle;+310 java.desktop@11.0.10
j  com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(Ljavax/swing/UIDefaults;)V+56 java.desktop@11.0.10
j  com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getDefaults()Ljavax/swing/UIDefaults;+33 java.desktop@11.0.10
j  javax.swing.UIManager.setLookAndFeel(Ljavax/swing/LookAndFeel;)V+66 java.desktop@11.0.10
j  javax.swing.UIManager.setLookAndFeel(Ljava/lang/String;)V+34 java.desktop@11.0.10
j  com.intellij.util.ui.StartupUiUtil.initDefaultLaF()V+12
j  com.intellij.idea.StartupUtil.lambda$scheduleInitUi$8(Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/Future;[Ljava/lang/String;)V+0
j  com.intellij.idea.StartupUtil$$Lambda$39.run()V+12
j  java.awt.event.InvocationEvent.dispatch()V+47 java.desktop@11.0.10
j  java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21 java.desktop@11.0.10
j  java.awt.EventQueue$4.run()Ljava/lang/Void;+32 java.desktop@11.0.10
j  java.awt.EventQueue$4.run()Ljava/lang/Object;+1 java.desktop@11.0.10
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0 java.base@11.0.10
j  java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18 java.base@11.0.10
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+78 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop@11.0.10
j  java.awt.EventDispatchThread.run()V+9 java.desktop@11.0.10
v  ~StubRoutines::call_stub

Offline

#4 2021-01-11 09:49:29

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 457

Re: intellij-idea-community-edition does not work anymore

Hello!
Same here. IntelliJ neither runs with Java-8, Java-11 or Java-15 and everytime it presents another reason:

Java-8:
ajWTCC5.png

Java-11:

Jan 11 10:36:38 i-prefer-cpp jetbrains-idea-ce.desktop[3155]: /usr/share/idea/bin/idea.sh: line 230:  3206 Aborted                 (core dumped) "$JAVA_BIN" -classpath "$CLASSPATH" ${VM_OPTIONS} "-XX>
Jan 11 10:36:37 i-prefer-cpp systemd-coredump[3250]: Process 3206 (java) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 3248:
                                                    #0  0x00007f80431a3615 raise (libc.so.6 + 0x3d615)
                                                    #1  0x00007f804318c862 abort (libc.so.6 + 0x26862)
                                                    #2  0x00007f80421a448a n/a (libjvm.so + 0x27048a)
                                                    #3  0x00007f8042d1ab19 n/a (libjvm.so + 0xde6b19)
                                                    #4  0x00007f8042d1b4db n/a (libjvm.so + 0xde74db)
                                                    #5  0x00007f8042d1b50e n/a (libjvm.so + 0xde750e)
                                                    #6  0x00007f8042b1bd97 JVM_handle_linux_signal (libjvm.so + 0xbe7d97)
                                                    #7  0x00007f8042b0e8fa n/a (libjvm.so + 0xbda8fa)
                                                    #8  0x00007f80431a36a0 __restore_rt (libc.so.6 + 0x3d6a0)
                                                    #9  0x00007f7fa22340cc n/a (n/a + 0x0)
                                                    #10 0x00007f7ffe9c25aa n/a (libharfbuzz.so.0 + 0x295aa)
                                                    #11 0x00007f7ffea143e8 hb_ot_var_get_axis_infos (libharfbuzz.so.0 + 0x7b3e8)
                                                    #12 0x00007f7ffc01aef6 n/a (libpangoft2-1.0.so.0 + 0xeef6)
                                                    #13 0x00007f7fa30cdc8b pango_font_get_hb_font (libpango-1.0.so.0 + 0x16c8b)
                                                    #14 0x00007f7fa30eb7a4 n/a (libpango-1.0.so.0 + 0x347a4)
                                                    #15 0x00007f7fa30ebeff pango_shape_with_flags (libpango-1.0.so.0 + 0x34eff)
                                                    #16 0x00007f7fa30dcdd1 n/a (libpango-1.0.so.0 + 0x25dd1)
                                                    #17 0x00007f7fa30dde84 n/a (libpango-1.0.so.0 + 0x26e84)
                                                    #18 0x00007f7fa30e3843 n/a (libpango-1.0.so.0 + 0x2c843)
                                                    #19 0x00007f7fa30d77dc pango_layout_get_unknown_glyphs_count (libpango-1.0.so.0 + 0x207dc)
                                                    #20 0x00007f7fa334fe94 n/a (libgtk-3.so.0 + 0x147e94)
                                                    #21 0x00007f7fa33502b8 n/a (libgtk-3.so.0 + 0x1482b8)
                                                    #22 0x00007f7ffdea5841 g_type_create_instance (libgobject-2.0.so.0 + 0x30841)
                                                    #23 0x00007f7ffde95ffe n/a (libgobject-2.0.so.0 + 0x20ffe)
                                                    #24 0x00007f7ffde9713d g_object_new_with_properties (libgobject-2.0.so.0 + 0x2213d)
    #25 0x00007f7ffde97c42 g_object_new (libgobject-2.0.so.0 + 0x22c42)
                                                    #26 0x00007f7fff2cf2e6 n/a (libawt_xawt.so + 0x442e6)
                                                    #27 0x00007f7fff2cfbef n/a (libawt_xawt.so + 0x44bef)
                                                    #28 0x00007f7fff2d9502 Java_com_sun_java_swing_plaf_gtk_GTKStyle_nativeGetXThickness (libawt_xawt.so + 0x4e502)
                                                    #29 0x00007f80248a1550 n/a (n/a + 0x0)
                                                    #30 0x00007f802489b940 n/a (n/a + 0x0)
                                                    #31 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #32 0x00007f802489bc80 n/a (n/a + 0x0)
                                                    #33 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #34 0x00007f802489bc80 n/a (n/a + 0x0)
                                                    #35 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #36 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #37 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #38 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #39 0x00007f802489bf48 n/a (n/a + 0x0)
                                                    #40 0x00007f802489bf48 n/a (n/a + 0x0)
                                                    #41 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #42 0x00007f802489bc80 n/a (n/a + 0x0)
                                                    #43 0x00007f8024892bc9 n/a (n/a + 0x0)
                                                    #44 0x00007f804279b79a n/a (libjvm.so + 0x86779a)
                                                    #45 0x00007f8042857033 JVM_DoPrivileged (libjvm.so + 0x923033)
                                                    #46 0x00007f80248a1550 n/a (n/a + 0x0)
                                                    #47 0x00007f802489bc80 n/a (n/a + 0x0)
                                                    #48 0x00007f802489bd56 n/a (n/a + 0x0)
                                                    #49 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #50 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #51 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #52 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #53 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #54 0x00007f802489bf03 n/a (n/a + 0x0)
                                                    #55 0x00007f8024892bc9 n/a (n/a + 0x0)
                                                    #56 0x00007f804279b79a n/a (libjvm.so + 0x86779a)
                                                    #57 0x00007f8042799c00 n/a (libjvm.so + 0x865c00)
                                                    #58 0x00007f8042847e7f n/a (libjvm.so + 0x913e7f)
                                                    #59 0x00007f8042caf06a n/a (libjvm.so + 0xd7b06a)
                                                    #60 0x00007f8042cab5d1 n/a (libjvm.so + 0xd775d1)
                                                    #61 0x00007f8042b18791 n/a (libjvm.so + 0xbe4791)
                                                    #62 0x00007f804312d3e9 start_thread (libpthread.so.0 + 0x93e9)
                                                    #63 0x00007f8043266293 __clone (libc.so.6 + 0x100293)
// and more

Java-15:

Jan 11 10:48:00 i-prefer-cpp systemd[1339]: app-gnome-jetbrains\x2didea\x2dce-5073.scope: Succeeded.
Jan 11 10:48:00 i-prefer-cpp jetbrains-idea-ce.desktop[5173]: Error: A fatal exception has occurred. Program will exit.
Jan 11 10:48:00 i-prefer-cpp jetbrains-idea-ce.desktop[5173]: Error: Could not create the Java Virtual Machine.
Jan 11 10:48:00 i-prefer-cpp jetbrains-idea-ce.desktop[5173]: Unrecognized VM option 'UseConcMarkSweepGC'

I'm running GNOME on X11.
I tried downgrading to and intellij-idea-community-edition-2:2020.2.3-1 I believe it started once with Java 8. But now it refuses to start, every other combination of more recent versions of Java and/or IntelliJ also refuse to work sad
I now opted for IntellijJ-Idea-CE with integrated IntelliJ JDK and it seem to work properly.
// edit
Now I've downgraded Java11 also and stick with intellij-idea-community-edition.

Java Runs Everywhere?

Last edited by hoschi (2021-01-11 13:06:13)

Offline

#5 2021-01-11 11:52:33

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: intellij-idea-community-edition does not work anymore

zhengyi5403 wrote:
sudo downgrade jre11-openjdk jdk11-openjdk jre11-openjdk-headless

I have the same issue, downgrade these package to 11.0.8.u10 while fix it.

Didn't find that command actually, i solved it with:

$ sudo pacman -U /var/cache/pacman/pkg/jre11-openjdk-11.0.8.u10-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/jdk11-openjdk-11.0.8.u10-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/jre11-openjdk-headless-11.0.8.u10-1-x86_64.pkg.tar.zst

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#6 2021-01-11 13:03:14

Kaiyazeera
Member
Registered: 2021-01-11
Posts: 7

Re: intellij-idea-community-edition does not work anymore

I experienced the same issue today, and leo2501 fix took just 1 second to apply and works like a charm. Kudos!

Offline

#7 2021-01-11 13:05:34

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 457

Re: intellij-idea-community-edition does not work anymore

Question:
What version number your IntelliJ uses itself?

$ pacman -Q intellij-idea-community-edition 
intellij-idea-community-edition 2:2021.3.1-2

But splashscreen and Help->About say 2020.03 hmm

// edit
Argh. Archlinux invents it's own version numbers on-top O_o
The build id is the only thing you can trust?

Last edited by hoschi (2021-01-11 13:15:08)

Offline

#8 2021-01-11 16:38:29

Ajunta
Member
From: Moscow
Registered: 2009-05-31
Posts: 58

Re: intellij-idea-community-edition does not work anymore

I had the same problem with Pycharm https://bbs.archlinux.org/viewtopic.php?id=262565 and the recent update to jre11-openjdk-11.0.10.u8-2  jre11-openjdk-headless-11.0.10.u8-2 fixed the issue.

Offline

#9 2021-01-11 16:47:31

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: intellij-idea-community-edition does not work anymore

I tried the

sudo downgrade ...

attempt, for which you need the downgrade package, but it still failed.
However, the intellij-idea-ce package continues to work for me.
Is there finally a solution?
Can we report this to the package maintainer?

Offline

#10 2021-01-11 16:50:00

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: intellij-idea-community-edition does not work anymore

Ajunta wrote:

I had the same problem with Pycharm https://bbs.archlinux.org/viewtopic.php?id=262565 and the recent update to jre11-openjdk-11.0.10.u8-2  jre11-openjdk-headless-11.0.10.u8-2 fixed the issue.

What recent update are you talking about? There was no recent update for me, except the one that broke the install?

Offline

#11 2021-01-11 22:57:41

notz
Member
From: Graz, Austria
Registered: 2005-04-05
Posts: 23

Re: intellij-idea-community-edition does not work anymore

I still get many segfaults with the latest openjdk (11.0.10.u8-2).

Idea starts now, but after 5-15 minutes it segfaults. Not really usable. It was stable before.

Anybody experience the same behavior?

Last edited by notz (2021-01-11 22:58:53)

Offline

#12 2021-01-12 08:51:28

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: intellij-idea-community-edition does not work anymore

The update seems to have fixed it, but I still get the warning about the feature going to be removed.

Offline

#13 2021-02-08 12:59:15

MrBeardedMan
Member
Registered: 2021-02-08
Posts: 1

Re: intellij-idea-community-edition does not work anymore

FYI, this has been reported upstream to jetbrains https://youtrack.jetbrains.com/issue/JB … 671024.0-0

Offline

#14 2021-02-22 21:07:51

M_IV
Member
Registered: 2021-02-22
Posts: 1

Re: intellij-idea-community-edition does not work anymore

I had the same issue with intellij-idea-ultimate-edition and resolved it by intellij-idea-ultimate-edition-jre installation.

So, I have java installed:

Available Java environments:
  java-11-jdk (default)

and cleared the cache before,  just in case.

Offline

#15 2021-02-23 07:30:43

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: intellij-idea-community-edition does not work anymore

The package seems to function correctly now.
Can someone mark this thread as closed?
(I don't know how to do that)

Offline

#16 2021-02-23 07:36:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: intellij-idea-community-edition does not work anymore

Edit the title in the first post of the thread to mark as [SOLVED]

Offline

Board footer

Powered by FluxBB