[Bug 2019973] Re: IntelliJ CE not finding Firefox when both installed with snap

Vladimir Petko 2019973 at bugs.launchpad.net
Thu Jun 1 20:35:10 UTC 2023


** Changed in: openjdk-17 (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-17 in Ubuntu.
https://bugs.launchpad.net/bugs/2019973

Title:
  IntelliJ CE not finding Firefox when both installed with snap

Status in openjdk-17 package in Ubuntu:
  Invalid

Bug description:
  I'm writing browser tests in Geb using IntelliJ and running Firefox using the Selenium WebDriver.
  It's been working fine for months, but suddenly IntelliJ/snap isn't finding the right path to Firefox anymore.

  I'm on Ubuntu 22.04.2 LTS
  Using IntelliJ IDEA 2022.3.3 (Community Edition)
  Running the tests with java-11-openjdk-amd64
  with snap version 2.58.3
  and Firefox Browser 110.0.1 (64-bit) (Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)

  I'm getting the following error messages:

  Caused by: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Process unexpectedly closed with status 127 
  Host info: host: 'anton-ThinkPad-T450s', ip: '127.0.1.1'
  Build info: version: '4.9.1', revision: 'eb2032df7f'
  System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.19.0-41-generic', java.version: '11.0.18'
  Driver info: org.openqa.selenium.firefox.FirefoxDriver
  Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: firefox, moz:debuggerAddress: true, moz:firefoxOptions: {args: [--width=1920, --height=1080], prefs: {browser.download.dir: /home/anton/git/verinice-ve..., browser.download.folderList: 2, fission.bfcacheInParent: false, fission.webContentIsolationStrategy: 0}, profile: UEsDBBQACAgIAEOBsVYAAAAAAAA...}}]}]

  1684332608257	mozrunner::runner	INFO	Running command: "/snap/firefox/current/firefox.launcher" "--marionette" "--width=1920" "--height=1080" "--remote-debugging-p ... 0567/" "-no-remote" "-profile" "/home/anton/git/verinice-veo-web-tests/build/tmp/test/firefox-profiles/rust_mozprofiletXNxOg"
  /snap/firefox/current/firefox.launcher: 46: exec: /snap/intellij-idea-community/422/usr/lib/firefox/firefox: not found

  Seems that either IntelliJ or snap updated automatically and since
  then it's not working anymore.

  Grateful for any help!

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: openjdk-17-jre-headless 17.0.6+10-0ubuntu1~22.04
  ProcVersionSignature: Ubuntu 5.19.0-41.42~22.04.1-generic 5.19.17
  Uname: Linux 5.19.0-41-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Wed May 17 16:01:07 2023
  ExecutablePath: /usr/lib/jvm/java-17-openjdk-amd64/bin/java
  InstallationDate: Installed on 2021-11-08 (555 days ago)
  InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
  LocalLibraries: /home/anton/.gradle/native/68d5fa5c4cc2d200863cafc0d521ce42e7d3e7ee720ec0a83991735586a16f82/linux-amd64/libnative-platform.so /tmp/liblz4-java-3168629153022399106.so
  SourcePackage: openjdk-17
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-17/+bug/2019973/+subscriptions




More information about the foundations-bugs mailing list