| Summary: | NullPointerException in org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Paul Lammertsma <pflammertsma> |
| Component: | cdt-build-managed | Assignee: | Project Inbox <cdt-build-managed-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | major | ||
| Priority: | P3 | CC: | cdtdoug, malaperle, pflammertsma, yevshif |
| Version: | 7.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Paul Lammertsma
I feel compelled to mention that I have Sequoyah Android Native Code Support installed, but I don't believe this is causing any of the CDT-related problems. Can you attach your .project and .cproject (or .cdtbuild?)? I tried to reproduce this. Here's my installation: Fedora 13 Android DDMS 0.9.9.v201009221407-60953 Android Development Tools 0.9.9.v201009221407-60953 Eclipse IDE for C/C++ Linux Developers 1.3.1.20100916-1202 (Eclipse 3.6.1, CDT 7.0.1) Sequoyah Android Native Code Support 1.1.1.N20100920-0518 I created an Android project, a test project (using the checkbox). I added native support, added the Make target in the Make Target view with the command "sh build.sh". I also tried changing the build command in the build settings to "sh" and the build target to "build.sh". I also tried adding a external tool in the builders. I did not get an exception. Do you have the same problem with a test project? Can you add some details to the steps? Thanks. The only difference I can find in my configuration, Marc-Andre, is that I've taken Eclipse Classic and installed C++ development tools from the Helios download site. My project setup is also slightly different, as I have a Android library reference. (This causes an interesting side-issue in which the source of that library appears twice in my project, and hence I get countless "the type ... is already defined" errors.) Under Windows, the CDT-related problem doesn't exist. I can specify the build command via the project properties' C/C++ Build settings. I will attach the .project and .cproject files as soon as possible. (There is no .cdtbuild.) (In reply to comment #5) > I will attach the .project and .cproject files as soon as possible. (There is > no .cdtbuild.) Paul, do you still have the project files? Can you still reproduce this? I received this email from Paul: "Sorry to respond directly via e-mail, but Bugzilla is rejecting logins and new accounts. I'm afraid I don't have the project anymore and therefore can't reproduce the problem. Best, Paul" I also tried again today with: ADT 16.0.1 Eclipse 3.7.1 CDT 8.0.1 Sequoyah 1.1.3 and I didn't get the NPE. But I was able to get the exception after deleting the .cproject file. I can reproduce this with a Java project, without Android stuff: 1. Create a Java project 2. Add C/C++ Nature, I choose Makefile project 3. Delete .cproject file, restart Eclipse 4. Right-click on project, Make targets, Build..., Add, Enter some name. 5. This should trigger a build and the NPE. 6. After, go to the project properties, a lot of pages will trigger exceptions |