Bug 575251 - Exception in egit.core when starting Eclipse
Summary: Exception in egit.core when starting Eclipse
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 5.12   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 5.13   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-05 03:22 EDT by Kenneth Styrberg CLA
Modified: 2021-08-17 17:46 EDT (History)
3 users (show)

See Also:


Attachments
stacktrace (323.31 KB, application/pdf)
2021-08-05 03:50 EDT, Kenneth Styrberg CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Styrberg CLA 2021-08-05 03:22:36 EDT
Eclipse 2021-06; Win10; Java-11
EGit.core-5.12.0

When starting Eclipse I often get an Exception in egit.core.TransportConfigurator.

"The start method has thrown an exception"
IllegalStateExcpetion: The instance data location has not been specified yet. (DataArea:59)

from TransportConfigurator:64 --> :89

Seems like some preferences/configuration hasn't been loaded when EGit starts but if I use "File->Restart" Eclipse it seems to catchup and Git works again!

Sorry I cannot provide the stacktrace as I work in a closed network, so I need to manually retype it here if you really need it to track this down.
Comment 1 Andrey Loskutov CLA 2021-08-05 03:31:55 EDT
The report is meaningless without the stack trace.
There is something in your installation that tries to init resources bundle *before* workspace location is set by workspace selection dialog.
Comment 2 Kenneth Styrberg CLA 2021-08-05 03:50:33 EDT
Created attachment 286882 [details]
stacktrace

"The report is meaningless without the stack trace."; wasn't a reply I was hoping for... :P

The installation is a pure Eclipse RCP, with WindowBuilder-1.9.7

I'll add stacktrace as PDF!
Comment 3 Thomas Wolf CLA 2021-08-05 08:25:10 EDT
Why PDF? Plain text file would be more convenient.

Anyway: I'll make that TransportConfigurator be started later, once the workspace is set up. The platform publishes the preferences service before the workspace location is set up, so any access to preferences stored inside the workspace fails.

Might take a while; due to the recent meltdown of Eclipse Foundation infrastructure we currently have no working CI builds, and an apparently corrupted git repo on Gerrit. :-(
Comment 4 Eclipse Genie CLA 2021-08-16 02:08:49 EDT
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/184054