| Summary: | Internal error when building project using AJDT, suspected classpath issues | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] AJDT | Reporter: | Sean Hodges <seanhodges84> | ||||
| Component: | Core | Assignee: | AJDT-inbox <AJDT-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | andrew.eisenberg | ||||
| Version: | 2.0.2 | ||||||
| Target Milestone: | 2.1.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sean Hodges
Created attachment 172877 [details]
Stacktrace
This bug appears to be similar to #256735 in the JDT product, which includes a patch: https://bugs.eclipse.org/bugs/show_bug.cgi?id=256735 This problem is happening because the build path for your project is exceptionally long. You have a maven project that uses aspectj, and long build paths with maven are normal. However, yours appears to be too long for AJDT to handle. It is over 2^16 characters. The problem occurs because you have "Show WeaveInfo" checked in you aspectj compiler properties (either locally for the project, or it is the global setting). A short term fix would be to disable "show WeaveInfo" and your build will probably work. The solution on my end is to look for classpath sizes that are too large and trim them before trying to display them. This is a small enough fix that I think I can get it in before 2.1.0 is released. Andrew, you have made my day, thank you so much! Disabling "output weave info" (in addition to the verbose flag) fixed my problem. I'm in no immediate rush for a permanent solution but would definitely be a nice-have for the future. I'll leave this bug open for the fix, but feel free to mark as resolved as you see fit. Now available in the latest 3.6 dev build. Soon to be in the 3.5 dev build. |