1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

The fix for the null-pointer exception that occured because of the rcbs tools do not have a super-class

This commit is contained in:
Mikhail Sennikovsky 2005-06-10 15:50:21 +00:00
parent 92e840899d
commit 76e795521a

View file

@ -192,7 +192,8 @@ public class ResourceConfiguration extends BuildObject implements IResourceConfi
ITool[] tools = parent.getTools();
for (int i=0; i<tools.length; i++) {
ITool configTool = tools[i];
if (configTool.getSuperClass() == toolChild.getSuperClass().getSuperClass())
if (toolChild.getSuperClass() != null
&& configTool.getSuperClass() == toolChild.getSuperClass().getSuperClass())
{
toolSuperClass = configTool;
break;