2011-08-08 15:09:10     Eclipse toolchain bug - setting properties for subfolders

Document created by Aaronwu Employee on Oct 16, 2013
Version 1Show Document
  • View in full screen mode

2011-08-08 15:09:10     Eclipse toolchain bug - setting properties for subfolders

Daniel Price (UNITED STATES)

Message: 102856   

 

When viewing/setting the properties for a subfolder in my Eclipse blackfin project, I get an Internal Error (Cannot Apply) (NullPointerException). I want to change the C/C++ Build Settings -> Tool Settings for a specific folder in my project.

 

After I open the Properties window for a subfolder, if I haven't changed anything and hit OK or Apply, I get the error.

 

If I do change something, e.g. add a compiler flag, the properties are set correctly.

 

If I then remove this change (e.g. remove the compiler flag), the error comes up on OK/Apply.

 

I'm running Win7 64-bit, blackfin-toolchain-win32-2010R1.exe with default settings.

 

 

 

Here is the top of the Eclipse stack trace:

 

!ENTRY org.eclipse.cdt.ui 4 4 2011-08-08 12:03:00.854

!MESSAGE Internal error

!STACK 0

java.lang.NullPointerException

at org.eclipse.cdt.managedbuilder.internal.core.Tool.isAnyOptionModified(Tool.java:4023)

at org.eclipse.cdt.managedbuilder.internal.core.Tool.hasCustomSettings(Tool.java:4011)

at org.eclipse.cdt.managedbuilder.internal.core.ToolChain.hasCustomSettings(ToolChain.java:2703)

at org.eclipse.cdt.managedbuilder.internal.core.FolderInfo.hasCustomSettings(FolderInfo.java:1334)

at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildFolderData.hasCustomSettings(BuildFolderData.java:87)

at

org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.baseSettingsCustomized(CProjectDescriptionManager.java:2633)

at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.settingsCustomized(CProjectDescriptionManager.java:2562)

at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.removeNonCustomSettings(CProjectDescriptionManager.java:2535)

at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.filterRcDatasToCopy(CConfigurationDescriptionCache.java:493)

...

QuoteReplyEditDelete

 

 

2011-08-12 10:45:42     Re: Eclipse toolchain bug - setting properties for subfolders

Prasanth Rajagopal (INDIA)

Message: 102918   

 

I think I remember seeing this, and I thought it happened when I was giving wrong strings in flags (like copy paste error). Can't recollect more than that - sorry!

 

- Prasanth.

Attachments

    Outcomes