FIles in $HOME/.p2 repo corrupted, but bundle analyzer finds nothing wrong [message #1730962] |
Sat, 30 April 2016 18:18  |
Eclipse User |
|
|
|
I'm seeing some odd errors trying to update my Eclipse instance on my HP Zbook Centos laptop.
When I select "Check for Updates", nothing happens. When I look in the log, I see errors like this:
org.eclipse.oomph.util.ReflectUtil$ReflectionException: org.eclipse.oomph.util.IORuntimeException: The file /home/opnfv/frameworks/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/epp.package.java.profile/1461938318659.profile.gz of length 0 failed to load properly
at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:130)
I verified that this is a zero-length file.
Ok, I recently learned about the Oomph bundler analyzer, because I had a similar problem a couple of months ago (https://www.eclipse.org/forums/index.php/mv/msg/1074901/1723920/#msg_1723920).
However, when I ran the bundle analyzer, it didn't find any damaged artifacts.
|
|
|
Re: FIles in $HOME/.p2 repo corrupted, but bundle analyzer finds nothing wrong [message #1730966 is a reply to message #1730962] |
Sun, 01 May 2016 03:05   |
Eclipse User |
|
|
|
David,
It's only checking the artifacts in the pool for damage, not the profile
itself. Please open a Bugzilla against
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Oomph. It should be
possible to partially restore the installation by deleting the profile
assuming there is an older "backup" version of the profile. Is this
profile nested in the bundle pool or within the installation folder?
On 01.05.2016 00:18, David M. Karr wrote:
> I'm seeing some odd errors trying to update my Eclipse instance on my
> HP Zbook Centos laptop.
>
> When I select "Check for Updates", nothing happens. When I look in
> the log, I see errors like this:
> org.eclipse.oomph.util.ReflectUtil$ReflectionException:
> org.eclipse.oomph.util.IORuntimeException: The file
> /home/opnfv/frameworks/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/epp.package.java.profile/1461938318659.profile.gz
> of length 0 failed to load properly
> at
> org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:130)
>
>
> I verified that this is a zero-length file.
>
> Ok, I recently learned about the Oomph bundler analyzer, because I had
> a similar problem a couple of months ago
> (https://www.eclipse.org/forums/index.php/mv/msg/1074901/1723920/#msg_1723920).
>
> However, when I ran the bundle analyzer, it didn't find any damaged
> artifacts.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03130 seconds