---
title: "mac eclipse 出现java.lang.NullPointerException问题的解决方法"
author: "zani"
date: "2014-12-09T15:29:12Z"
tags: []
categories: ["移动开发"]
slug: "mac-eclipse-java-lang-nullpointerexception"
draft: false
lastmod: "2014-12-09T15:29:12Z"
id: 2164513
url: "https://zani.iteye.com/blog/2164513"
---

打开proj.android目下的.cproject,将下面的这段section删除掉。

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