[android-developers] Re: Error in an XML file eclipse

2010-08-13 Thread Peter Webb
I have exactly the same problem. Whever I open string.xml and some other xml files I also get a Java Null Pointer error. Typing even a single character triggers it. I can look at them fine as xml, but Resources view is broken - the left hand pane has the thin lines that should connect the

[android-developers] Re: Error in an XML file eclipse

2010-07-08 Thread magpad
resources element modified to resources foo=bar in strings.xml, NPE has disappeared... But I know it's halfway measure. :- On 7月4日, 午前2:17, Xavier Ducrohet x...@android.com wrote: oh actually my post is right here:http://groups.google.com/group/android-developers/browse_thread/threa... On

[android-developers] Re: Error in an XML file eclipse

2010-07-03 Thread Al Sutton
Have you guys put this information into b.android.com so it can be logged tracked easily? Al. On Jul 2, 7:26 pm, Ryan Cook co...@uw.edu wrote: I am also having this issue on multiple machines. It was working before, and I think it stopped working (and started giving error) after I upgraded

Re: [android-developers] Re: Error in an XML file eclipse

2010-07-03 Thread Xavier Ducrohet
I reply to a different thread and I thought I started with a new thread with an explicit subject but it looked like it never arrived. In any case, we are aware of it. This is a bug in Eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=318108) and are working on a work around. Xav On Sat,

Re: [android-developers] Re: Error in an XML file eclipse

2010-07-03 Thread Xavier Ducrohet
oh actually my post is right here: http://groups.google.com/group/android-developers/browse_thread/thread/60f5a07baaf345fc# On Sat, Jul 3, 2010 at 10:15 AM, Xavier Ducrohet x...@android.com wrote: I reply to a different thread and I thought I started with a new thread with an explicit subject

[android-developers] Re: Error in an XML file eclipse

2010-07-02 Thread Ryan Cook
I am also having this issue on multiple machines. It was working before, and I think it stopped working (and started giving error) after I upgraded to Helios (3.6). I also tried removing all the strings entries from the file then adding them through the GUI interface; it adds them with the same

[android-developers] Re: Error in an XML file eclipse

2010-07-01 Thread Miguel
I am experiencing this same issue with a similar exception to the one listed above. I think I can repro this every time, the NPE happens when you open an XML resource with the Android Resource Editor instead of the Android XML Resources Editor, then go to the Resources tab, that should get you

[android-developers] Re: Error in an XML file eclipse

2010-06-30 Thread Gorman Ho
I am also experiencing this issue. When I edit strings.xml directly, I get 1 NullPointerException for each string in the file each time I type a letter. I eventually did something to make it go away, but I'm not sure what. However, I'm able to reproduce the behavior by creating a new Android

[android-developers] Re: Error in an XML file eclipse

2010-06-30 Thread Bob Kerns
There are several possible editors to use to edit these files. I'd suggest trying a different one. First, close the editor that's giving you problems. Right click on the file in the Project Explorer, and choose Open With... Try Android Resource Editor first, as that's probably the one you