Bug 46853 - NullpointerException in TypeBinding class
Summary: NullpointerException in TypeBinding class
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 3.0 M9   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2003-11-18 12:42 EST by Kelvin CLA
Modified: 2009-08-30 02:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelvin CLA 2003-11-18 12:42:10 EST
Here is what i got :

java.lang.NullPointerException
	at org.eclipse.jdt.core.dom.TypeBinding.getDeclaredMethods
(TypeBinding.java:325)
Comment 1 Olivier Thomann CLA 2003-11-18 13:53:38 EST
Would you have any steps to reproduce?
What VM are you using?
Build number?

Thanks.
Comment 2 Kelvin CLA 2003-11-18 14:32:44 EST
i am using Win XP, JDK 1.4.
eclipse version 2.1.2
Build id: 200311030802

I can't reproduce it because it just happen sometimes, not all the time. (I 
don't know why)

What I did is running the visitor in a BIG project.

Comment 3 Olivier Thomann CLA 2003-11-18 15:50:20 EST
What VM? Some VMs are known to have JIT problems that are causing NPE.
If you get it consistently, try to start your VM with a vm argument.
Use the -vmargs as the last argument on your command line and put:
-vmargs -Djava.compiler=NONE

Without steps to reproduce, it is almost impossible to track it down. Looking at
the code I don't see how it is possible to get null for the methods of a binding.
I really think this is a JIT issue.
Comment 4 Philipe Mulet CLA 2003-11-21 06:20:38 EST
Please reopen once steps to reproduce are available
Comment 5 Philipe Mulet CLA 2004-04-08 09:33:18 EDT
Timed out
Comment 6 Denis Roy CLA 2009-08-30 02:06:22 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.