Bug 226799 - Source code display for libraries no longer works.
Summary: Source code display for libraries no longer works.
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.5 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-04-12 06:09 EDT by Maarten Billemont CLA
Modified: 2008-09-15 09:14 EDT (History)
1 user (show)

See Also:


Attachments
The relevant files from the faulty workspace. (627.88 KB, application/octet-stream)
2008-04-12 06:09 EDT, Maarten Billemont CLA
no flags Details
The files that caused the workspace to bug out (in ZIP format). (1018.49 KB, application/zip)
2008-04-25 10:42 EDT, Maarten Billemont CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Billemont CLA 2008-04-12 06:09:36 EDT
Created attachment 95793 [details]
The relevant files from the faulty workspace.

Build ID: I20080409-1425

Steps To Reproduce:
My .metadata got corrupted; the following actions fixed it:

- Reset .metadata/.plugins/org.eclipse.core.resources/.root and org.eclipse.core.resources/.safetable to that of a new workspace by deleting them in the faulty workspace and copying them over from a clean workspace.

- in .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs remove the node and all children of //libraryLocations (I only had one of these nodes on a vm node with id 1.5.0)

More information:
Viewing source on a class that is in a jar dependency would show the decompiled result of the jar file.  Attaching source code would say the source code could not be found and the "Change source code attachment" button would appear even though the source code had been specified as SOURCE_REPOSITORY, a variable containing /Repository/src which is a directory that contains a directory structure org/bouncycastle/openpgp/ClassName.java which contains the source code of the class I have open.

After the steps I outlined above to fix the workspace the source code does show up in the source code viewer.
Comment 1 Jerome Lanneluc CLA 2008-04-25 10:28:36 EDT
Sorry but we don't have access to a program that would expand a .tbz2 file. Can you please re-attach it using a .zip format?

Also the steps to reproduce you gave to give much information. What should I do with the attached files? From these files, how do I reproduce the original bug?
Comment 2 Maarten Billemont CLA 2008-04-25 10:42:43 EDT
Created attachment 97620 [details]
The files that caused the workspace to bug out (in ZIP format).

You don't have 'tar'.. ?

Here it is in ZIP format.

Reproducing is your business; I'm just reporting the case and gave you all I can.
Comment 3 Jerome Lanneluc CLA 2008-05-15 05:45:06 EDT
I started this workspace, but it is empty, i.e. it contains no project.
Comment 4 Jerome Lanneluc CLA 2008-08-25 09:42:56 EDT
Closing since not enough information was provided
Comment 5 Olivier Thomann CLA 2008-09-15 09:14:41 EDT
Verified for 3.5M2 using I20080914-2000