Summary: | NPE inspecting "null" in the expressions view | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Darin Swanson <Darin_Swanson> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | ||||||||
Version: | 2.0 | ||||||||
Target Milestone: | 2.0 M4 | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Darin Swanson
2002-02-07 15:48:32 EST
Moving to JCORE I cannot reproduce. Each time I try to Ctrl + Q, I got a dialog saying "Cannot perform nestes evaluation". Please tell me how to reproduce it. I am using 0314. Created attachment 490 [details]
The dialog I got when I did Ctrl + Q
Created attachment 491 [details]
The right dialog
Ok, this is fine. I could reproduce it in a self-hosting workspace. It should be quite simple to fix. I guess we expect null to be returned. The bug was due to the fact that null is considered as a base type. I am working on a fix. I would expect null to be returned...the user kindof treats null like a primitive. If I display "1" I get back (int)1. So for "null" I would expect "null". Fixed and released in HEAD. |