Serializing CDT Project settings has encountered a

后端 未结 3 1001
孤城傲影
孤城傲影 2021-01-22 01:01

When I build my project I get this error.

Serializing CDT Project settings has encountered a problem (Null Pointer Exception)

I am using latest

3条回答
  •  猫巷女王i
    2021-01-22 01:27

    After spending a few hours trying to figure out the same error message this morning (along with a bunch of nondescript nullpointerexceptions from Eclipse) I compared the Eclipse project files with previous version and found that Eclipse had added an extra node to my .cproject file, making it three in total. I removed this one, which was the one added by Eclipse and also the last one in the file.

        
            
                
                
                    
                    
                    
                    
                    
                    
                
            
            
        
    

    After removing that and restarting Eclipse everything was working again.

    I hope this helps someone. I'm not sure whether this was unique or something that causes issues for others, but clearly the error points towards a CDT problem and therefore comparing the .cproject file to previous versions (or default ones) for changes is worth a shot.

提交回复
热议问题