Eclipse下報錯 An internal error occurred during: "C/C++ Indexer". java.lang.NullPointerException

峻峰飛陽發表於2016-09-19

Eclipse下編譯so檔案的時候
錯誤為
An internal error occurred during: “C/C++ Indexer”. java.lang.NullPointerException

解決方法:
刪除.cproject檔案中以下內容:

    <cconfiguration id="0.1230402123.1377291156">
        <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="0.1230402123.1377291156" moduleId="org.eclipse.cdt.core.settings" name="Debug">
            <externalSettings/>
            <extensions>
                <extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
            </extensions>
        </storageModule>
        <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
    </cconfiguration>

相關文章