Help!!! Unknown Error - java.lang.NullPointerException :: Android Packaging Problem

by Chris » Thu, 21 Oct 2010 06:34:25 GMT

Sponsored Links
 I'm getting this crazy error on multiple projects, even when I revert
back to prior versions that compiled just fine.

Unknown Error - java.lang.NullPointerException Android Packaging
Path is blank
Location is Unknown.

I've tried:

1 - Project -> Clean -> All
2 - Deleting .metadata folder
3 - reimporting projects into the eclipse
4 - reverting my projects back to prior working versions using git

Please please please help... I just can't get anything to compile now,
and I've searched for solutions here and on eclipse forums.


Help!!! Unknown Error - java.lang.NullPointerException :: Android Packaging Problem

by Bret Foreman » Thu, 21 Oct 2010 06:52:30 GMT

 This sounds more like a problem with your dev system than with your
code. Try re-installing Eclipse and the SDK. Export all your Eclipse
preferences first, of course (File->Export->General->Preferences).


Sponsored Links

Help!!! Unknown Error - java.lang.NullPointerException :: Android Packaging Problem

by Chris » Fri, 22 Oct 2010 00:05:32 GMT

 Finally figured it out.

==Short version

My .project file was corrupted and I needed to manually update linked
library locations.  Since the .project file was pointing to the wrong
place, a null pointer exception was thrown.

==Long Version

For some reason, the GUI and project settings were disconnected form
one another.  When I went into project settings, my libraries looked
to be correctly linked and properly found in the build path.

However, when going into the .project file using a text editor, there
were straggler linked libraries.  (ie multiple versions of the same
library, pointing to two different locations)

Most likely user error on my part, but something to keep in mind if
you get the "unknown packaging error".

Thanks for the suggestion Bret... I did reinstall everything, but the
problem persisted, as per the fix above.


Other Threads

1. Drizzy 1.0 final Hero

brader gw pake rom ini di 32A stabil ada lag ga ada force close!!

ini link romnya

ini link kernel buat 32A nya


versi emang bukan berdasarkan senseUI buat magic yg baru, tapi fiturnya komplit 
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group, please visit the following page:

2. Problem setting default ringtone of device programmatically

I am trying to set the default ringtone of device.I am using the
setActualDefaultRingtoneUri method to set my chosen ringtone as the
default one but when a phone call comes it still plays the default
ringtone and not the one which i had set. I searched for this

 and found out that i need to use the MediaStore
(android.provider.MediaStore) and it's URI's to the external memory to
actually get the ringtones which i want.But for this i need to know
the id of that ringtone in the store. I can't figure out how to do
that.?..also how do i set the uri of my ringtone in the MediaStore? my
ringtone path is-->"/sdcard/rigtone.ogg"


3. Try to download and run app.

4. Acquire license for DRM contents.

5. Supporting both 1.5 and 1.6

6. Compilation issue while adding library in external folder

7. USB Function Driver Documentation.