i further rectified the problem by looking at error logs of
eclipse....

It seems textView is the problem..whenever i try to access a textview
in the layout eclipse crashes.and exits..
here are a few lines from the error log..can any1 tell me wat i did
wrong??


#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d2c2203, pid=392,
tid=1672
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode,
sharing)
# Problematic frame:
# C  [fontmanager.dll+0x12203]
#

---------------  T H R E A D  ---------------

Current thread (0x0085aae0):  JavaThread "main" [_thread_in_native,
id=1672]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000060

Registers:
EAX=0x00000000, EBX=0x2b38ee50, ECX=0x00000000, EDX=0x0012de18
ESP=0x0012dd58, EBP=0x0012dd84, ESI=0x00000000, EDI=0x0762b468
EIP=0x6d2c2203, EFLAGS=0x00010246

Top of Stack: (sp=0x0012dd58)
0x0012dd58:   03733618 6d2d1881 00000000 00000000
0x0012dd68:   0085aba0 0762b468 0012dd7c 0012dda0
0x0012dd78:   8b80df34 00000125 00000000 0012ddc4
0x0012dd88:   6d2d1f94 0085aba0 0012de18 05707fc0
0x0012dd98:   03733618 00000001 0085aae0 2ab22990
0x0012dda8:   0012dddc 00b92923 00000000 0b03bf50
0x0012ddb8:   00000001 00000000 0012ddb8 0012de00
0x0012ddc8:   00b9899c 0085aba0 0012de18 03733618

Instructions: (pc=0x6d2c2203)
0x6d2c21f3:   04 89 3a 83 c2 04 4e 75 f3 5f eb 0a 8b 44 24 08
0x6d2c2203:   89 48 60 89 48 64 50 e8 10 fe ff ff 59 5e c3 55


Stack: [0x00030000,0x00130000),  sp=0x0012dd58,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C  [fontmanager.dll+0x12203]
C  [fontmanager.dll+0x21f94]
j  sun.font.FileFont.getFontMetrics(J)Lsun/font/StrikeMetrics;+0
j  sun.font.FileFontStrike.getFontMetrics()Lsun/font/StrikeMetrics;+16
j  sun.font.FontDesignMetrics.initMatrixAndMetrics()V+28
j  sun.font.FontDesignMetrics.<init>(Ljava/awt/Font;Ljava/awt/font/
FontRenderContext;)V+62
j  sun.font.FontDesignMetrics.<init>(Ljava/awt/Font;)V+5
j  sun.awt.SunToolkit.getFontMetrics(Ljava/awt/Font;)Ljava/awt/
FontMetrics;+44
j  sun.awt.windows.WToolkit.getFontMetrics(Ljava/awt/Font;)Ljava/awt/
FontMetrics;+13
j  android.graphics.Paint.updateFontObject()V+140
j  android.graphics.Paint.setTextSize(F)V+6
j  android.widget.TextView.setRawTextSize(F)V+17
j  android.widget.TextView.<init>(Landroid/content/Context;Landroid/
util/AttributeSet;I)V+2609
j  android.widget.TextView.<init>(Landroid/content/Context;Landroid/
util/AttributeSet;)V+6
v  ~StubRoutines::call_stub
V  [jvm.dll+0x845a9]
V  [jvm.dll+0xd9317]
V  [jvm.dll+0x8447a]
V  [jvm.dll+0xed273]
V  [jvm.dll+0xa2483]
C  [java.dll+0x6d25]
j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/
Object;)Ljava/lang/Object;+72
J  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/
lang/Object;)Ljava/lang/Object;
J  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/
lang/Object;
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  android.view.LayoutInflater.createView(Ljava/lang/String;Ljava/lang/
String;Landroid/util/AttributeSet;)Landroid/view/View;+269
j  android.view.BridgeInflater.onCreateView(Ljava/lang/String;Landroid/
util/AttributeSet;)Landroid/view/View;+34
j  android.view.LayoutInflater.createViewFromTag(Ljava/lang/
String;Landroid/util/AttributeSet;)Landroid/view/View;+65
j  android.view.BridgeInflater.createViewFromTag(Ljava/lang/
String;Landroid/util/AttributeSet;)Landroid/view/View;+5
j  android.view.LayoutInflater.rInflate(Lorg/xmlpull/v1/
XmlPullParser;Landroid/view/View;Landroid/util/AttributeSet;)V+139
j  android.view.LayoutInflater.inflate(Lorg/xmlpull/v1/
XmlPullParser;Landroid/view/ViewGroup;Z)Landroid/view/View;+176
j  android.view.LayoutInflater.inflate(Lorg/xmlpull/v1/
XmlPullParser;Landroid/view/ViewGroup;)Landroid/view/View;+12
j  com.android.layoutlib.bridge.Bridge.computeLayout(Lcom/android/
layoutlib/api/IXmlPullParser;Ljava/lang/Object;IIZIFFLjava/lang/
String;ZLjava/util/Map;Ljava/util/Map;Lcom/android/layoutlib/api/
IProjectCallback;Lcom/android/layoutlib/api/ILayoutLog;)Lcom/android/
layoutlib/api/ILayoutResult;+274
j
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.computeLayout
(Lcom/android/ide/eclipse/adt/internal/sdk/AndroidTargetData
$LayoutBridge;Lcom/android/layoutlib/api/IXmlPullParser;Ljava/lang/
Object;IIZIFFLjava/lang/String;ZLjava/util/Map;Ljava/util/Map;Lcom/
android/layoutlib/api/IProjectCallback;Lcom/android/layoutlib/api/
ILayoutLog;)Lcom/android/layoutlib/api/ILayoutResult;+37
j
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.recomputeLayout
()V+469
j
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.onXmlModelChanged
()V+16
j
com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelChanged
(Lorg/w3c/dom/Document;)V+30
j  com.android.ide.eclipse.adt.internal.editors.AndroidEditor
$XmlModelStateListener.modelChanged(Lorg/eclipse/wst/sse/core/internal/
provisional/IStructuredModel;)V+12
j
org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.fireModelChanged
()V+24
j
org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.internalModelChanged
()V+85
j
org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.changedModel
()V+1
j  org.eclipse.wst.xml.core.internal.document.DOMModelImpl.changedModel
()V+26
j
com.android.ide.eclipse.adt.internal.editors.AndroidEditor.editXmlModel
(Ljava/lang/Runnable;)V+36
j
com.android.ide.eclipse.adt.internal.editors.ui.tree.UiActions.addNewTreeElement
(Lcom/android/ide/eclipse/adt/internal/editors/uimodel/
UiElementNode;Lcom/android/ide/eclipse/adt/internal/editors/uimodel/
UiElementNode;Lcom/android/ide/eclipse/adt/internal/editors/
descriptors/ElementDescriptor;Z)Lcom/android/ide/eclipse/adt/internal/
editors/uimodel/UiElementNode;+87
j
com.android.ide.eclipse.adt.internal.editors.ui.tree.UiActions.addElement
(Lcom/android/ide/eclipse/adt/internal/editors/uimodel/
UiElementNode;Lcom/android/ide/eclipse/adt/internal/editors/uimodel/
UiElementNode;Lcom/android/ide/eclipse/adt/internal/editors/
descriptors/ElementDescriptor;Z)Lcom/android/ide/eclipse/adt/internal/
editors/uimodel/UiElementNode;+53
j
com.android.ide.eclipse.adt.internal.editors.layout.parts.DropFeedback.addElementToXml
(Lcom/android/ide/eclipse/adt/internal/editors/layout/parts/
UiElementEditPart;Lcom/android/ide/eclipse/adt/internal/editors/
descriptors/ElementDescriptor;Lorg/eclipse/draw2d/geometry/Point;Lcom/
android/ide/eclipse/adt/internal/editors/layout/LayoutEditor
$UiEditorActions;)V+112
j
com.android.ide.eclipse.adt.internal.editors.layout.parts.ElementCreateCommand
$1.run()V+37
j
com.android.ide.eclipse.adt.internal.editors.AndroidEditor.wrapUndoRecording
(Ljava/lang/String;Ljava/lang/Runnable;)V+9
j
com.android.ide.eclipse.adt.internal.editors.layout.parts.ElementCreateCommand.execute
()V+60
j  org.eclipse.gef.commands.CommandStack.execute(Lorg/eclipse/gef/
commands/Command;)V+23
j  org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handleDrop()V
+44
j  org.eclipse.gef.dnd.TemplateTransferDropTargetListener.handleDrop()V
+1
j  org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(Lorg/
eclipse/swt/dnd/DropTargetEvent;)V+10
j  org.eclipse.jface.util.DelegatingDropAdapter$3.run()V+11
J  org.eclipse.core.runtime.SafeRunner.run(Lorg/eclipse/core/runtime/
ISafeRunnable;)V
j  org.eclipse.core.runtime.Platform.run(Lorg/eclipse/core/runtime/
ISafeRunnable;)V+1
j  org.eclipse.ui.internal.JFaceUtil$1.run(Lorg/eclipse/core/runtime/
ISafeRunnable;)V+1
j  org.eclipse.jface.util.SafeRunnable.run(Lorg/eclipse/core/runtime/
ISafeRunnable;)V+4
j  org.eclipse.jface.util.DelegatingDropAdapter.drop(Lorg/eclipse/swt/
dnd/DropTargetEvent;)V+21
j  org.eclipse.swt.dnd.DNDListener.handleEvent(Lorg/eclipse/swt/
widgets/Event;)V+412
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/
widgets/Event;)V
J  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/
Event;Z)V
j  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/
Event;)V+4
j  org.eclipse.swt.widgets.Widget.notifyListeners(ILorg/eclipse/swt/
widgets/Event;)V+19
j  org.eclipse.swt.dnd.DropTarget.Drop(IIIII)I+387
j  org.eclipse.swt.dnd.DropTarget$3.method6([I)I+25
J  org.eclipse.swt.internal.ole.win32.COMObject.callback6([I)I
v  ~StubRoutines::call_stub
V  [jvm.dll+0x845a9]
V  [jvm.dll+0xd9317]
V  [jvm.dll+0x8447a]
V  [jvm.dll+0x8ae8b]
C  [swt-win32-3449.dll+0x1428]
C  0x0411099e
C  [ole32.dll+0x11807e]
C  [ole32.dll+0x1182c0]
C  [ole32.dll+0xef400]
C  [ole32.dll+0xef288]
C  [swt-win32-3449.dll+0x2740f]
j  org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(III[I)I+0
j  org.eclipse.swt.dnd.DragSource.drag(Lorg/eclipse/swt/widgets/Event;)
V+484
j  org.eclipse.swt.dnd.DragSource.access$0(Lorg/eclipse/swt/dnd/
DragSource;Lorg/eclipse/swt/widgets/Event;)V+2
j  org.eclipse.swt.dnd.DragSource$1.handleEvent(Lorg/eclipse/swt/
widgets/Event;)V+50
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/
widgets/Event;)V
J  org.eclipse.swt.widgets.Display.runDeferredEvents()Z
J  org.eclipse.swt.widgets.Display.readAndDispatch()Z
J  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/
window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
v  ~OSRAdapter
j  org.eclipse.ui.internal.Workbench.runUI()I+393
j  org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/
Workbench;)I+1
j  org.eclipse.ui.internal.Workbench$5.run()V+23
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/
eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/
eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/
WorkbenchAdvisor;)I+18
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/
widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/
eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+84
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/
Object;)Ljava/lang/Object;+135
j
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/
Object;)Ljava/lang/Object;+149
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/
String;Ljava/lang/Runnable;)Ljava/lang/Object;+183

On Dec 11, 4:50 pm, "g...@devicedriven" <ginokur...@gmail.com> wrote:
> Whenever i try to open the layout.xml file ineclipse..eclipsecrashes
> and exits without any messages..
>
> However if i try to open the xml file without using the layout editor
> of ADT plugin everything is fine....it will open as an editable
> file..the problem started only after i updated the latest version of
> ADT...before that everything was working fione.
>
> Does anyone else have the same problem?What should i do to rectify it??

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

Reply via email to