当前位置:编程学习 > JAVA >>

求救,急啊,这个是什么错误

10:45:44,375 ERROR ExceptionHandle:112 - org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.gemship.commondata.rcp.CommonDataApplication.run(CommonDataApplication.java:23)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.NullPointerException
at com.gemship.common.rcp.util.GuiUtil.centerOnShell(GuiUtil.java:136)
at com.gemship.arm.rcp.viewpart.SendMailForRentalInvoiceView.open(SendMailForRentalInvoiceView.java:135)
at com.gemship.arm.rcp.viewpart.FindRentalInvoiceView$14.done(FindRentalInvoiceView.java:748)
at com.gemship.common.rcp.util.UnknownJob$2$1.run(UnknownJob.java:75)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:155)
at org.eclipse.ui.internal.UISynchronizer$1.run(UISynchronizer.java:36)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
... 20 more
--------------------编程问答-------------------- 空指向异常
GuiUtil.java文件的136行代码引起的
SendMailForRentalInvoiceView.java文件的135行代码引起的
…… --------------------编程问答-------------------- Caused by: java.lang.NullPointerException 
at com.gemship.common.rcp.util.GuiUtil.centerOnShell(GuiUtil.java:136) 
at com.gemship.arm.rcp.viewpart.SendMailForRentalInvoiceView.open(SendMailForRentalInvoiceView.java:135) 
at com.gemship.arm.rcp.viewpart.FindRentalInvoiceView$14.done(FindRentalInvoiceView.java:748) 
at com.gemship.common.rcp.util.UnknownJob$2$1.run(UnknownJob.java:75) 
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:155) 
at org.eclipse.ui.internal.UISynchronizer$1.run(UISynchronizer.java:36) 
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) 
... 20 more 
按上面这个提示去查询你的错误 --------------------编程问答-------------------- 空指针异常,可能你的引用的对象是NULL,而你却NULL.方法名了,具易做图置查找按楼上两位说的就可 --------------------编程问答--------------------  Failed to execute runnable (java.lang.NullPointerException)关键是这句, --------------------编程问答-------------------- 这是Eclipse内部包的错误,楼主可以找到相应的包进行替换。 --------------------编程问答-------------------- 哦 记得了 有替换了一个jar包 。谢谢 --------------------编程问答--------------------
引用 6 楼 hsytjy 的回复:
哦 记得了 有替换了一个jar包 。谢谢

替换的什么包啊? --------------------编程问答--------------------
引用 6 楼  的回复:
哦 记得了 有替换了一个jar包 。谢谢


急求替换jar包啊,搞不懂啊
补充:Java ,  Java相关
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,