mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-15 20:25:46 +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();
|
ITool[] tools = parent.getTools();
|
||||||
for (int i=0; i<tools.length; i++) {
|
for (int i=0; i<tools.length; i++) {
|
||||||
ITool configTool = tools[i];
|
ITool configTool = tools[i];
|
||||||
if (configTool.getSuperClass() == toolChild.getSuperClass().getSuperClass())
|
if (toolChild.getSuperClass() != null
|
||||||
|
&& configTool.getSuperClass() == toolChild.getSuperClass().getSuperClass())
|
||||||
{
|
{
|
||||||
toolSuperClass = configTool;
|
toolSuperClass = configTool;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue