Running Android Lint has encountered a problem NullPointerException Error

Today while working with Android Eclipse IDE i got the following error,

Problem Occurred

'Running Android Lint' has encountered a problem.

Failed java.lang.NullPointerException

Stacktrace :


WorkAround :

For Mac OS X Operating System :

Go to Menu : Eclipse -> Preferences -> Android -> Lint Error Checking and Un-Check : "When saving files, check for errors"

For Windows Operating System :

Go to Menu : Window -> Preferences -> Android -> Lint Error Checking and Un-Check : "When saving files, check for errors"

Why this Error?

It seems that its something related to appcompat_v7 library that we have in our package Explorer. If you are working with API (targetSdkVersion) level 21 you would not face this issue.

Solution :

It seems to be a existing issue with Android ADT Plugin, Google has released a fix (ADT Plugin for Eclipse 23.0.3)

Link :

ADT 23.0.3 (August 8th 2014)

Java 7 or higher is required if you are targeting the L Developer Preview.
Java 1.6 or higher is required if you are targeting other releases.
Eclipse Indigo (Version 3.7.2) or higher is required.
This version of ADT is designed for use with SDK Tools r23.0.2. If you haven't already installed SDK Tools r23.0.2 into your SDK, use the Android SDK Manager to do so.

General Notes:

Fixed an issue where ADT displayed a NullPointerException warning dialog when a valid SDK was not configured. (Issue 73313)
Fixed a minor issue with RenderScript support.
Disabled APK compression.

How to Apply the Fix 23.0.3

Go To : Help -> Check For Updates.

✏️ Note : Make sure you that you are using the https, not the http URL to the update center:

Now when you restart Eclipse IDE, you should not see any Lint Error pop-up's messages.

Hello there!,

You are using AdBlocker!

I am an independent developer trying to help fellow developers and students to resolve issues faced on a day-to-day basis, we 'Code to Care' . There is a lot of expenses involved in hosting and managing a website that's the reason we have ads.

A humble request to you to disable adBlocker on and support us pay our bills.

Cod2care - Line's of code for change.

To see contents reload page after unblocking
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities. Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, Tips-n-tricks, How Tos, Blogs, Articles, etc. on various platforms like Windows, Mac, Linux, Mobile platforms, etc. Technologies/Languages like Java, Objective-C, PHP, .Net, Android, SharePoint, jQuery, HTML, CSS, etc.