Update Job Exception on startup
See original GitHub issueSystem information:
- Operating system (distribution) and version: Windows 10 Pro x64 Build 19042.685
- DBeaver version 7.3.1.202012201616
- Additional extensions
Connection specification:
- Database name and version
- Driver name
- Do you use tunnels or proxies (SSH, SOCKS, etc)? no
Describe the problem you’re observing:
After this most recent update, every time I start DBeaver after a few seconds I get the following error alert dialog. I can close the dialog and everything works fine so this is just a minor annoyance. I’m guessing this is the check for newer versions of dbeaver that is failing? At any rate, I’ve been using DBeaver for well over a year with regular updates and have never encountered this problem before. It seems to have been introduced with this version. I have tried reinstalling the software but the problem does not go away.
Steps to reproduce, if exist:
This happens every time I start the application. If I close the application and restart it, the error will always appear a few seconds after dbeaver launches. Dismissing the dialog seems to allow for normal operation afterward so it’s just a minor annoyance.
Include any warning/errors/backtraces from the logs
This is being logged as an error in the application as follows:
eclipse.buildId=unknown
java.version=11.0.5
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
org.eclipse.core.jobs
Error
Tue Dec 22 20:57:30 MST 2020
An internal error occurred during: "Update Job".
java.lang.IllegalStateException: Registry Directory not available: C:\Users\John Doe\.eclipse\org.jkiss.dbeaver.product_7.3.0_1535670467_win32_win32_x86_64\p2\org.eclipse.equinox.p2.engine\profileRegistry.
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:523)
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:378)
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.internalGetProfile(SimpleProfileRegistry.java:261)
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfile(SimpleProfileRegistry.java:190)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.migration.MigrationSupport.performMigration(MigrationSupport.java:72)
at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.lambda$0(AutomaticUpdateScheduler.java:68)
at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:187)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:19 (4 by maintainers)
Top GitHub Comments
Same here. After every upgrade I have to delete .eclipse. I too have a name with a space in it which is replaced with %20 and the message:
Registry Directory not available: C:\Users\Jan%20Derk.eclipse\org.jkiss.dbeaver.product_21.0.1_1535670467_win32_win32_x86_64\p2\org.eclipse.equinox.p2.engine\profileRegistry.
And yes indeed the directory “C:\Users\Jan%20Derk” does not exist. It must be “C:\Users\Jan Derk”.
Looks like the path is url encoded when it should not.
Re-opening because I encountered this problem again after upgrading to 7.3.3. Deleting the .Eclipse folder once again fixes the issue, but I hope this can be fixed once and for all. Fixing after every upgrade is doable, but not a great user experience.