Bug 168658 - NPE in BlockScope
Summary: NPE in BlockScope
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-12-20 06:13 EST by Martin Aeschlimann CLA
Modified: 2009-08-30 02:08 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 Martin Aeschlimann CLA 2006-12-20 06:13:08 EST
3.2

attachment 55952 [details] from bug 168656 contains an interesting stacktrace. Also not the source dumped in the log.

java.lang.NullPointerException
   at org.eclipse.jdt.internal.compiler.lookup.BlockScope.<init>(BlockScope.java:33)
   at org.eclipse.jdt.internal.compiler.lookup.MethodScope.<init>(MethodScope.java:54)
   at org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildType(ClassScope.java:301)
Comment 1 Olivier Thomann CLA 2006-12-20 14:29:06 EST
The NPE occurs on this line:

	public Scope[] subscopes = new Scope[1]; // need access from code assist

I don't see how this could throw a NPE. Maybe a VM bug.
Closing as REMIND till we get steps to reproduce.
Comment 2 Denis Roy CLA 2009-08-30 02:08:15 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.