| Summary: | [jdt-weaving] several NPE when using jdt-weaving without ajdt | ||
|---|---|---|---|
| Product: | [Tools] AJDT | Reporter: | David Bernard <david.bernard.31+eclipsebugs> |
| Component: | Core | Assignee: | AJDT-inbox <AJDT-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | andrew.eisenberg, david.bernard.31+eclipsebugs, juanjoaguililla, maciej, miles, msa |
| Version: | 2.1.0 | ||
| Target Milestone: | 2.1.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
David Bernard
*** Bug 321844 has been marked as a duplicate of this bug. *** We need to be more careful about problems like these. I'll have a look through the code today. May be method that could return null should return some sort of Option<X> (like in scala) ;-) to informer caller. (the scala-ide code also have lot of missing null check where integrate with eclipse/jdt API) Thanks for your time In all the cases that I have explored so far, the default should be just to behave as normal. These adapter objects exist to hook extra functionality into JDT, specifically to add intertype declaration support for things like searching, navigating, and content assist. When the adapter does not exist (ie- null), the correct behavior is to continue on as usual, and return the JDT results only. I just committed a few fixes for the 3.6 branch of AJDT. I'll be back porting the changes to the 3.5 branch soon. I believe that all of these fixes will address the problems that you are seeing. I'll post here when a dev build is available to try out. Thank you A new build on the 3.6 stream is available and has all the fixes required. Please let me know when you get a chance to try this out. A build on the 3.5 stream will be available soon. I'm closing this issue now, but feel free to re-open or raise a new issue if you see any more problems. fixed. So to test it I should keep JDT weaving from http://download.eclipse.org/tools/ajdt/36/dev/update ? (until 2.1.1 release) Andrew, Do you have an ETA of 2.1.1 release ? (In reply to comment #9) > So to test it I should keep JDT weaving from > http://download.eclipse.org/tools/ajdt/36/dev/update ? > (until 2.1.1 release) Yes. (In reply to comment #10) > Andrew, > Do you have an ETA of 2.1.1 release ? We are scheduled to release in the middle of October. *** Bug 328886 has been marked as a duplicate of this bug. *** |