Bug 13431 - "Assert failed" when opening type hierarchy on selection in file opened from project version
Summary: "Assert failed" when opening type hierarchy on selection in file opened from ...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-10 15:26 EDT by Knut Radloff CLA
Modified: 2002-06-05 06:16 EDT (History)
0 users

See Also:


Attachments
Log file (2.51 KB, text/plain)
2002-04-10 15:27 EDT, Knut Radloff CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Radloff CLA 2002-04-10 15:26:33 EDT
build 20020409

I've opened the file org.eclipse.swt.graphics.GC.java from the project version 
v1_0_138 of org.eclipse.swt (in dev.eclipse.org). When I select a type name 
(e.g., Image) and press F4 I get an internal error with the attached log entry.
This seems to happen with every Java file opened from a project version.
Comment 1 Knut Radloff CLA 2002-04-10 15:27:17 EDT
Created attachment 574 [details]
Log file
Comment 2 Erich Gamma CLA 2002-04-10 18:24:33 EDT
This bug is caused by using the JavaEditor for versions from the repository.
This is new behaviour.

Notice in this scenario the JavaEditor is used on a StorageEditorInput created 
from a non-Java resource, i.e., a version from the repository.


It might be tight to get these fixed for M5 but we should investigate.
Comment 3 Knut Radloff CLA 2002-04-10 18:30:09 EDT
You could just change it to open a regular editor by default for M5. 
The syntax highlighting was weird anyway (only the keywords had highlighting) 
so I don't think the Java editor adds much value for opening files from the 
repository.
Comment 4 Erich Gamma CLA 2002-04-11 02:12:39 EDT
VCM will back out this feature for M5. We will reinvestigate for M6.
Comment 5 Kai-Uwe Maetzel CLA 2002-06-05 06:16:29 EDT
Actions are disabled since F1/F2.