Bug 108335 - NullPointer Exception as result of selecting "Run As"
Summary: NullPointer Exception as result of selecting "Run As"
Status: RESOLVED DUPLICATE of bug 101456
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-30 01:52 EDT by John G. Cleary CLA
Modified: 2005-08-30 09:44 EDT (History)
0 users

See Also:


Attachments
console log (25.46 KB, text/plain)
2005-08-30 01:53 EDT, John G. Cleary CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John G. Cleary CLA 2005-08-30 01:52:11 EDT
In resoource view editing a java file. Select the drop down menu for the file (either in navigator view or 
directly by right clicking in the editor). Move mouse up and down menu all is well until hit "Run As" then 
the menu item disappears and when the mouse is moved up and down the menu all the other items 
then disappear too.

I will append a console log but items that may be of interest:
  seems to be restricted toa  single file in my system - this is a unit test (TestCase)
  MacOS X 10.4
  using 1.5 and some heavy duty use of generics 
  might be related to Bug 108308 (only in that they have both happened to me in the last few days   
     nothing else to obviously tie them together)
Comment 1 John G. Cleary CLA 2005-08-30 01:53:55 EDT
Created attachment 26625 [details]
console log

Contains a few different NullPOinterExceptions the last little group are
definitely related to the described bug left he other in because who knows they
might help.
Comment 2 John G. Cleary CLA 2005-08-30 01:59:03 EDT
Just discovered that removing the following line from my code stopped this behaviour:

import static com.xegen.fusion.engine.TestUtil.*;
Comment 3 Dirk Baeumer CLA 2005-08-30 03:58:45 EDT
Moving to JDT/Core since the NPE happens in compiler land.
Comment 4 Olivier Thomann CLA 2005-08-30 07:59:41 EDT
Might be a duplicate of bug 101456.
Could you please try again with 3.2M1?
Comment 5 Olivier Thomann CLA 2005-08-30 09:44:19 EDT
Closing as dup of bug 101456.
Please reopen if you get it again with 3.2M1.

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