Unfortunately, the Android Eclipse tooling was compiled without debug
info, which means we don't have line numbers pin-pointing the problem,
and that's particularly problematic in this case because the method
where the problem occurs is really large.

We've regenerated a new build of ADT 9 with debug symbols (and builds
form now on will all include debug info).

Would those of you who can reproduce this problem mind downloading
this new version of ADT 9 and try to reproduce it there? If you hit
the exception again, the stacktrace should be a lot more useful to us
since it should have valid line numbers.

You can find the new build at the bottom of the Attachments list from
http://tools.android.com/download -
or use this direct link:
http://tools.android.com/download/ADT-9.0.0-with-debug.zip?attredirects=0&d=1

These bits are identical to the ADT R9 release except for the compiler
flag to enable debug information.

-- Tor

On Mon, Feb 7, 2011 at 11:45 AM, Evan Ruff
<[email protected]> wrote:
> Seni,
> I can verify that I am getting the same behavior. First load it bombs out.
> Second load it complains about the Theme.
> Still working on removing the platforms...
> E
>
> On Mon, Feb 7, 2011 at 2:40 PM, Seni Sangrujee <[email protected]> wrote:
>>
>> 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
>
> --
> 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

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