Summary: | Getting Exception during compilation : java.lang.RuntimeException: Internal Compiler Error: Unexpected null source location passed as 'see also' location. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Dhananjay Nene <dnene> | ||||
Component: | Compiler | Assignee: | Adrian Colyer <adrian.colyer> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | blocker | ||||||
Priority: | P3 | ||||||
Version: | DEVELOPMENT | ||||||
Target Milestone: | 1.5.0 M4 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dhananjay Nene
2005-09-06 19:02:23 EDT
Created attachment 26873 [details]
Jar containg sources, build.xml and compiler dump file
Attached file contains the sources, ant file (poorly hacked version of the one
in examples - expects all jars in a "lib" directory which is a peer to "src")
and the compiler core dump file.
There is a good likelihood what I am attempting to do is not feasible - however even in that case there should be a reasonable error message rather than an internal error. tagging with M4... this was caused by trying to issue a message saying that the type User must implement the methods from Identifiable (in the aspect DomainIntroduction, you have declared two local methods getId and setId, whereas I suspect you meant these to be ITDs on Domain?). The source location for the parameterized versions of the methods was null which lead to the crash. This has now been fixed in the tree. Thanks for the easy to reproduce bug report. Regards, Adrian. |