Bug 69998 - Null Pointer Exception with = rather than ==
Summary: Null Pointer Exception with = rather than ==
Status: RESOLVED DUPLICATE of bug 69713
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 05:27 EDT by andy redman CLA
Modified: 2004-07-14 12:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy redman CLA 2004-07-14 05:27:54 EDT
Within the java editor, if a single equals sign is used in a comparison rather 
than a double, e.g.

		if (args.length=1)
		{

rather than

		if (args.length==1)
		{

Then a null pointer exception occurs when keying ctrl-s.

other errors occur when keying ctrl-c etc.

    The command for the key you pressed failed
Comment 1 Dirk Baeumer CLA 2004-07-14 08:09:32 EDT
Andy,

which build are you using and can you please attach the .log file.
Comment 2 Michael Fraenkel CLA 2004-07-14 08:20:10 EDT
This is similar to bug 69713 which was only found on Cheetah.
Comment 3 Dirk Baeumer CLA 2004-07-14 12:01:18 EDT
Thanks Michael!

*** This bug has been marked as a duplicate of 69713 ***