FS#69430 - [DBeaver] Unable to open Dbeaver after updating to 7.3.2-1

Attached to Project: Community Packages
Opened by Naoya Yamashita (conao3) - Monday, 25 January 2021, 01:34 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 30 January 2021, 21:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Unable to open Dbeaver after updating to 7.3.2-1.

Additional info:
* package version(s)
Dbeaver 7.3.2-1

* config and/or log files etc.
No config.
log: https://gist.github.com/conao3/9390443dba855901538c4747ee8829b8

* link to upstream bug report, if any
https://github.com/dbeaver/dbeaver/issues/11092

* Steps to reproduce:
just install dbeaver 7.3.2-1, we cannot open dbeaver.
Only message window is shown, it says `An error occurred. See the log file...`
The log file is uploaded at https://gist.github.com/conao3/9390443dba855901538c4747ee8829b8
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 30 January 2021, 21:25 GMT
Reason for closing:  Not a bug
Comment by Naoya Yamashita (conao3) - Monday, 25 January 2021, 04:49 GMT
Confirmed DBeaver 7.3.3-1 (current latest version) have the same issue.
I'm using Manjaro, so I installed the latest dbeaver as shown below.

```
$ curl -LO https://archlinux.org/packages/community/x86_64/dbeaver/download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 54.5M 100 54.5M 0 0 331k 0 0:02:48 0:02:48 --:--:-- 2131k

$ mv download download.zst

$ sudo pacman -U download.zst
loading packages...
resolving dependencies...
:: There are 2 providers available for java-runtime>=11:
:: Repository extra
1) jre-openjdk 2) jre11-openjdk

Enter a number (default=1): 1
looking for conflicting packages...

Packages (4) jre-openjdk-15.0.1.u9-1 jre-openjdk-headless-15.0.1.u9-1 libnet-1:1.1.6-1 dbeaver-7.3.3-1

Total Installed Size: 246.66 MiB

:: Proceed with installation? [Y/n]
(4/4) checking keys in keyring [###########################################] 100%
(3/4) checking package integrity [###########################################] 100%
(3/4) loading package files [###########################################] 100%
(4/4) checking for file conflicts [###########################################] 100%
(4/4) checking available disk space [###########################################] 100%
:: Processing package changes...
(1/4) installing libnet [###########################################] 100%
(2/4) installing jre-openjdk-headless [###########################################] 100%
Default Java environment is already set to 'java-8-openjdk'
See 'archlinux-java help' to change it
Optional dependencies for jre-openjdk-headless
java-rhino: for some JavaScript support
(3/4) installing jre-openjdk [###########################################] 100%
Default Java environment is already set to 'java-8-openjdk'
See 'archlinux-java help' to change it
when you use a non-reparenting window manager,
set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh
Optional dependencies for jre-openjdk
alsa-lib: for basic sound support [installed]
gtk2: for the Gtk+ 2 look and feel - desktop usage [installed]
gtk3: for the Gtk+ 3 look and feel - desktop usage [installed]
(4/4) installing dbeaver [###########################################] 100%
Optional dependencies for dbeaver
dbeaver-plugin-office: export data in Microsoft Office Excel format
dbeaver-plugin-svg-format: save diagrams in SVG format
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the DBeaver bundles.info database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...

$ which dbeaver
/usr/bin/dbeaver

$ dbeaver
```


Screanshot is attached and its log is here: https://gist.github.com/conao3/4df554d106dc8e1216e2f9f71eee96ac
Comment by Patrick A Thompson (z_thompsonpa) - Wednesday, 27 January 2021, 22:39 GMT
I am running Archlinux and was also seeing this error after upgrade. The issue for me was I was using jdk8 as the default java (for development purposes). jdk11 was already installed and once I used archlinux-java to change the default java version, everything was working fine after that. What gave me a clue to try this was that I noticed a change around the time the issue started happening for me:

https://github.com/archlinux/svntogit-community/commit/8c91aa2e07a2571dcee16515a97af05ab3c2e71d#diff-37538beb61ff63edebbf735dfcf39e5d732f49183d6beb097169d971875ca422R11
Comment by Fidel Selva (fselva) - Saturday, 30 January 2021, 21:18 GMT
I was also having this problem. It seems that the DBeaver >=7.3.2-1 is not compatible with jdk-8.

Loading...