android– 图形布局窗口上的奇怪的Eclipse ADT错误

android– 图形布局窗口上的奇怪的Eclipse ADT错误,第1张

概述每次单击GraphicalLayout窗口时,EclipseADT都会给我空错误消息.这是截图:以下是第一个错误的详细信息:java.lang.NullPointerExceptionatcom.android.layoutlib.bridge.impl.RenderSessionImpl.getDefaultProperties(RenderSessionImpl.java:1476)atcom.android.la

每次单击Graphical Layout窗口时,Eclipse ADT都会给我空错误消息.

这是截图:

以下是第一个错误的详细信息:

java.lang.NullPointerException    at com.androID.layoutlib.brIDge.impl.RenderSessionImpl.getDefaultPropertIEs(RenderSessionImpl.java:1476)    at com.androID.layoutlib.brIDge.BrIDgeRenderSession.getDefaultPropertIEs(BrIDgeRenderSession.java:68)    at com.androID.IDe.eclipse.adt.internal.editors.layout.gle2.VIEwHIErarchy.getDefaultPropertIEs(VIEwHIErarchy.java:710)    at com.androID.IDe.eclipse.adt.internal.editors.layout.propertIEs.XmlProperty.getStringValue(XmlProperty.java:209)    at com.androID.IDe.eclipse.adt.internal.editors.layout.propertIEs.XmlProperty.getValue(XmlProperty.java:221)    at com.androID.IDe.eclipse.adt.internal.editors.layout.propertIEs.BooleanXmlpropertyeditor.paint(BooleanXmlpropertyeditor.java:52)    at org.eclipse.wb.internal.core.model.property.table.Propertytable.drawProperty(Propertytable.java:1309)    at org.eclipse.wb.internal.core.model.property.table.Propertytable.drawContent(Propertytable.java:1151)    at org.eclipse.wb.internal.core.model.property.table.Propertytable.handlePaint(Propertytable.java:1094)    at org.eclipse.wb.internal.core.model.property.table.Propertytable.access0(Propertytable.java:64)    at org.eclipse.wb.internal.core.model.property.table.Propertytable.handleEvent(Propertytable.java:187)    at org.eclipse.swt.Widgets.Eventtable.sendEvent(Eventtable.java:84)    at org.eclipse.swt.Widgets.Widget.sendEvent(Widget.java:1053)    at org.eclipse.swt.Widgets.Widget.sendEvent(Widget.java:1077)    at org.eclipse.swt.Widgets.Widget.sendEvent(Widget.java:1062)    at org.eclipse.swt.Widgets.Composite.WM_PAINT(Composite.java:1564)    at org.eclipse.swt.Widgets.Control.windowProc(Control.java:4585)    at org.eclipse.swt.Widgets.Canvas.windowProc(Canvas.java:341)    at org.eclipse.swt.Widgets.display.windowProc(display.java:4989)    at org.eclipse.swt.internal.win32.OS.dispatchMessageW(Native Method)    at org.eclipse.swt.internal.win32.OS.dispatchMessage(OS.java:2546)    at org.eclipse.swt.Widgets.display.readAnddispatch(display.java:3756)    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1053)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)    at org.eclipse.ui.internal.Workbench.run(Workbench.java:588)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)    at org.eclipse.ui.internal.IDe.application.IDEApplication.start(IDEApplication.java:124)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(UnkNown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(UnkNown Source)    at java.lang.reflect.Method.invoke(UnkNown Source)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

由于错误日志d出空错误消息,我无法做任何事情.请帮我.

细节

我连接了一台三星设备并安装了kIEs驱动软件,这是在我尝试在真实设备上测试应用程序之后发生的.

任何帮助,将不胜感激.提前致谢 !

解决方法:

尝试切换到新窗口.

只需右键单击顶部菜单上的任何文件名,然后单击“新窗口”.

总结

以上是内存溢出为你收集整理的android – 图形布局窗口上的奇怪的Eclipse ADT错误全部内容,希望文章能够帮你解决android – 图形布局窗口上的奇怪的Eclipse ADT错误所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1107038.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存