Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6784

Eclipse is crashing when context menu appears

$
0
0

I had to install Eclipse on my laptop for a uni project but when I go to type a statement like math. or system.out. when normally a context window would pop up my IDE crashes. If I'm not getting that menu to appear no crash. So I can type gibberish all day but when the IDE tries to provide a menu I get a crash in about 3s

for context I'm using a fresh install, I tried with the installer from the site and ubuntu's package manager.Eclipse is Version: 2024-03 (4.31.0). My os is ubuntu 22.04.4. I already had java 21 installed since I've been doing other work with java in vscode and nvim. I also have sdkman installed to change sdks if i need to.

here is what I'm getting in the console:

oga@yoga-Lenovo-YOGA-720-12IKB:~/snap$ eclipseMay 30, 2024 6:26:56 AM org.apache.aries.spifly.BaseActivator logINFO: Registered provider ch.qos.logback.classic.spi.LogbackServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle ch.qos.logback.classic06:27:05.700 [Start Level: Equinox Container: f7fa5ca2-2098-4f78-8b4c-507d4e739f41] DEBUG org.eclipse.jgit.internal.util.ShutdownHook -- register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda/0x000072609818b230@5f8aa426 with shutdown hook06:27:05.700 [Start Level: Equinox Container: f7fa5ca2-2098-4f78-8b4c-507d4e739f41] DEBUG org.eclipse.jgit.internal.util.ShutdownHook -- register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda/0x000072609818b230@5f8aa426 with shutdown hook06:27:10.970 [main] DEBUG org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob -- Queued refresh request: [/Tutorial/pom.xml]06:27:10.970 [main] DEBUG org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob -- Queued refresh request: [/Tutorial/pom.xml]WARNING: Annotation classes from the 'javax.inject' or 'javax.annotation' package found.It is recommended to migrate to the corresponding replacements in the jakarta namespace.The Eclipse E4 Platform will remove support for those javax-annotations in a future release.To suppress this warning, set the VM property: -Declipse.e4.inject.javax.warning=falseTo disable processing of 'javax' annotations entirely, set the VM property: -Declipse.e4.inject.javax.disabled=true(Eclipse:6937): Gtk-CRITICAL **: 06:27:27.028: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar(Eclipse:6937): Gtk-CRITICAL **: 06:27:27.105: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar(Eclipse:6937): Gtk-CRITICAL **: 06:27:27.107: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar(Eclipse:6937): Gtk-CRITICAL **: 06:27:27.132: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar(Eclipse:6937): Gtk-CRITICAL **: 06:27:27.134: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar(Eclipse:6937): Gtk-CRITICAL **: 06:27:27.330: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar(Eclipse:6937): Gtk-CRITICAL **: 06:27:27.333: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar(Eclipse:6937): Gdk-CRITICAL **: 06:27:40.388: gdk_window_create_gl_context: assertion 'GDK_IS_WINDOW (window)' failed## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x0000726012dba8b8, pid=6937, tid=6938## JRE version: OpenJDK Runtime Environment Zulu21.30+15-CA (21.0.1+12) (build 21.0.1+12-LTS)# Java VM: OpenJDK 64-Bit Server VM Zulu21.30+15-CA (21.0.1+12-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)# Problematic frame:# C  [libwebkit2gtk-4.0.so.37+0xdba8b8]## Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/yoga/snap/core.6937)## An error report file with more information is saved as:# /home/yoga/snap/hs_err_pid6937.log[46.143s][warning][os] Loading hsdis library failed## If you would like to submit a bug report, please visit:#   http://www.azul.com/support/# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#

I've triedreinstalling,updating libwebkit2gtk,using java 17,cleaning the project,and no add-ons


Viewing all articles
Browse latest Browse all 6784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>