On Sun, Dec 26, 2010 at 11:03 PM, John Lussmyer <[email protected]> wrote:
> Is it possible to get just the source for the Android .jar files?
> I don't want the whole bleeding OS, just the source that will help me figure
> out what's going wrong in my code when I get weird exceptions.
>
> Like, right now, this line of code:
>
> Button btn = new Button( context);
>
> is throwing:
>
> [2010-12-26 19:50:35 - main.xml] Parser is not a BridgeXmlBlockParser!
> java.lang.NullPointerException
>     at android.view.View.<init>(View.java:1845)
>     at android.widget.TextView.<init>(TextView.java:326)
>     at android.widget.Button.<init>(Button.java:69)
>     at android.widget.Button.<init>(Button.java:65)
>     at android.widget.Button.<init>(Button.java:61)
>
> I don't have the faintest idea WHY this exception is happening in Eclipse
> (not in the Emulator, but in the Eclipse Console window.)

If you are getting this in Eclipse, then your problem is with Eclipse
and the ADT plugin. BridgeXmlBlockParser is related to the layout
preview/drag-and-drop stuff, near as I can tell via Google Code
Search.

If you have not done so already, restart Eclipse and see if that
helps. Beyond that, particularly since I am not an Eclipse user, I
have no particular advice.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to