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:
parent
92e840899d
commit
76e795521a
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue