eclipse bug
来源:互联网 发布:centos netsnmp 编辑:程序博客网 时间:2024/06/18 13:37
1.save a custom perspective layout based on a perspective which has not config an icon in extention point
eg:
<extension
point="org.eclipse.ui.perspectives">
<perspective
name="Perspective"
class="com.mudboy.cfr.Perspective"
id="com.mudboy.cfr.perspective">
</perspective>
</extension>
2.then will has the following error:
Exception in thread "Thread-1" java.lang.NullPointerException
at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:203) -----display is null
at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:151) -----use Display.getCurrent() get display,but
at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:123) -----current thread doesnt belong to a display
-----so ,null will be return
at org.eclipse.ui.internal.WorkbenchImages.initializeImageRegistry(WorkbenchImages.java:568)
at org.eclipse.ui.internal.WorkbenchImages.getDescriptors(WorkbenchImages.java:469)
at org.eclipse.ui.internal.WorkbenchImages.getImageDescriptor(WorkbenchImages.java:499)
at org.eclipse.ui.internal.registry.PerspectiveDescriptor.getImageDescriptor(PerspectiveDescriptor.java:236)
at org.eclipse.ui.internal.registry.PerspectiveDescriptor.restoreState(PerspectiveDescriptor.java:337)
at org.eclipse.ui.internal.registry.PerspectiveRegistry.loadCustom(PerspectiveRegistry.java:435)
at org.eclipse.ui.internal.registry.PerspectiveRegistry.load(PerspectiveRegistry.java:395)
at org.eclipse.ui.internal.WorkbenchPlugin.getPerspectiveRegistry(WorkbenchPlugin.java:561)
at org.eclipse.ui.internal.Workbench.getPerspectiveRegistry(Workbench.java:1191)
at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1844)
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1783)
at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190)
at org.eclipse.ui.application.WorkbenchAdvisor$1.run(WorkbenchAdvisor.java:78 -----use a new thread which has no display to attached
- eclipse bug
- eclipse bug?
- eclipse 的输出 BUG
- eclipse NoSuchMethodError bug修正
- eclipse的bug解决
- eclipse常见的bug
- Eclipse Bug 笔记
- ubuntu eclipse bug
- Eclipse Android project Bug?
- eclipse 部署 Bug
- Eclipse下各种bug
- eclipse远程调试BUG
- eclipse 编译器的一个bug
- eclipse中BUG解决日志
- Eclipse的找bug插件
- Eclipse 3.1 M4 关于Generics的Bug
- Jbuilder,NetBeans,Eclipse的输出Bug
- Eclipse的新建mapping file存在BUG
- 小试SharePoint编程:用Web Service增加列表项
- SQL SERVER的数据类型
- 报表
- Configure DB2 remote connectivity with WebSphere DataStage Enterprise Edition
- 转朋友签名:命运负责洗牌,但玩牌的是我们自已!
- eclipse bug
- 美股“失火”殃及中国概念股
- test
- 子非鱼,安知鱼之乐---《庄子 秋水》
- 网络视频几大掣肘亟待解决
- Chrome发布一周内有近200万美国用户下载
- 番茄被捏碎 微软将失去更多市场份额
- 抽象工厂模式(Abstract Factory)
- DataStage Parallel routines made really easy