Bug 80470 - ITypeBinding#getJavaElement() throws NPE for binding of TypeParameter E in java.util.List<E>
Summary: ITypeBinding#getJavaElement() throws NPE for binding of TypeParameter E in ja...
Status: VERIFIED DUPLICATE of bug 80466
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 09:43 EST by Markus Keller CLA
Modified: 2004-12-15 07:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-12-08 09:43:27 EST
I20041207-0800

Steps like bug 80466:
In new ASTView, look at binding of E in binary declaration
  package java.util;
  ...
  public class List<E> ...

BTW: Doubleclicking an exception in the ASTView 1.0.2 writes the stacktrace to
the log.

java.lang.NullPointerException
at org.eclipse.jdt.core.dom.TypeBinding.getJavaElement(TypeBinding.java:344)
at org.eclipse.jdt.astview.views.Binding.getChildren(Binding.java:173)
at
org.eclipse.jdt.astview.views.ASTViewContentProvider.getChildren(ASTViewContentProvider.java:92)
...
Comment 1 Markus Keller CLA 2004-12-08 09:46:30 EST
It's *interface* List from 1.5 JDK, of course ...
Comment 2 Jerome Lanneluc CLA 2004-12-10 04:59:48 EST

*** This bug has been marked as a duplicate of 80466 ***
Comment 3 Frederic Fusier CLA 2004-12-15 07:58:33 EST
Verified for 3.1 M4 using build I200412142000 + ASTView 1.0.2.