[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] DiscoveryTab.java NPE failure occurring in latest CDT 6.0
|
I maintain the Autotools project which skirts the realm of Managed and
Standard Make projects. It uses a ManagedBuild definition but is
actually using a Makefile which gets generated by Autotools (i.e.
configure).
I recently ran into a problem when updating CDT 6.0 to the 200909110608
build. DiscoveryTab.java fails with an NPE due to a reference to the
internal "realPages" array which is not set for our projects. There are
protective checks for accessing realPages in the file, but one is
improper (checking for null after accessing the length field) and one is
missing. I made a simple patch to fix this and with my patch,
everything works again.
I have opened bug: 291690 with the patch attached, but I don't know when
the next CDT build will be made available to the update site. I am
wondering if there is something I can do with the build definition to
workaround the problem more immediately and not introduce new problems.
Is there anyone who could help with questions about the build definition?
-- Jeff J.