Strange, I thought I did a comparison between the working project and
the one that didn't and the paths looked the same. Oh well something
subtle has obviously changed. I've raised an issue about this:

http://code.google.com/p/android/issues/detail?id=21217&q=graphical%20view&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars

On Oct 25, 6:20 pm, Kostya Vasilyev <[email protected]> wrote:
> Empirically, this adds a new entry to the project's ".classpath", but I
> don't have the slightest idea why it has this effect on the ADT XML editors:
>
> https://groups.google.com/forum/#!topic/android-developers/DdE5Ql_OZsY
> <https://groups.google.com/forum/#%21topic/android-developers/DdE5Ql_OZsY>
>
> -- Kostya
>
> 25.10.2011 21:09, swebb99 пишет:
>
>
>
>
>
>
>
>
>
> > Great thanks Kostya that fixed my problem :) Do you know what it fixed
> > by any chance ?
>
> > Steve
>
> > On Oct 25, 3:23 pm, Kostya Vasilyev<[email protected]>  wrote:
> >> Try right clicking on the project, then choosing "Android - Fix project
> >> properties", then closing and reopening the workspace.
>
> >> 25.10.2011 18:00, swebb99 пишет:
>
> >>> I updated the android SDK's, basically installed and updated
> >>> everything. Now when I open existing applications I've been working on
> >>> I get an error when trying to view existing layouts
> >>> java.lang.NullPointerException
> >>>     at
> >>> com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configura
> >>>  tionComposite.onXmlModelLoaded(ConfigurationComposite.java:
> >>> 689)
> >>>     at
> >>> com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPar
> >>>  t.onTargetChange(GraphicalEditorPart.java:
> >>> 970)
> >>>     at
> >>> com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.onDescript
> >>>  orsChanged(LayoutEditor.java:
> >>> 568)
> >>>     at
> >>> com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.initUiRoot
> >>>  Node(LayoutEditor.java:
> >>> 490)
> >>>     at
> >>> com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelCh
> >>>  anged(LayoutEditor.java:
> >>> 309)
> >>> So basically any existing project I can only see the xml. If I start a
> >>> new project using the same API 2.3.1 as the existing projects it opens
> >>> the graphical view fine!
> >>> Any idea's ?
> >>> Thanks in advance.
> >> --
> >> Kostya Vasilyev
>
> --
> Kostya Vasilyev

-- 
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