I don't know if this helps, but I get different errors in the log when
I open a layout file for the first time vs. later.

My setup:
Plug-in Name: Android Development Toolkit
Plug-in Id: com.android.ide.eclipse.adt
Version: 9.0.0.v201101191456-93220


1) Create new project, first open layout main.xml file:
- "Could not open the editor: An unexpected exception was thrown."
- workspace/.metadata/.log says:
!ENTRY org.eclipse.ui 4 0 2011-02-07 11:21:50.943
!MESSAGE Unable to create editor ID
com.android.ide.eclipse.editors.layout.LayoutEditor: An unexpected
exception was thrown.
!STACK 0
- java.lang.NullPointerException
        at
com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.renderWithBridge(Unknown
Source)

2) Close main.xml file, opening it again results in:
- Graphical layout tab is open, but says "Missing theme." Platform
dropdown is not selected.
- workspace/metadata/log says:
!ENTRY com.android.ide.eclipse.adt 4 0 2011-02-07 11:23:23.180
!MESSAGE Selecting page '0' in AndroidXmlEditor failed
!STACK 0
java.lang.NullPointerException
        at
com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.renderWithBridge(Unknown
Source)



--
Seni Sangrujee
http://fieldteams.com
http://metosphere.com

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