起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1809|回复: 4

[结贴] 切换Excel报错

[复制链接]

20

主题

45

帖子

223

积分

中级会员

Rank: 3Rank: 3

积分
223
发表于 2017-7-19 12:40:29 | 显示全部楼层 |阅读模式
[ERROR] 执行方出错:[Report@3b0a8d gotoReportDesigner] [com.justep.studio.ui.editors.util.XuiDynJavaManager 2017-07-19 12:39:07]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.justep.studio.ui.editors.util.XuiDynJavaManager.executeMethod(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.ContextAction.widgetSelected(Unknown Source)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
        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.Display.runDeferredEvents(Display.java:4169)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.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$5.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(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        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)
Caused by: java.lang.NullPointerException
        at com.justep.studio.ui.editors.xui.designpanel.ReportDesignPanel.createClientSite(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.ReportDesignPanel.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.DesignPanelContainer.showDesignePanel(Unknown Source)
        at com.justep.studio.ui.editors.xui.DesignPanelContainer.showDesignePanel(Unknown Source)
        at Report.gotoReportDesigner(Report.java:63)
        ... 32 more
[ERROR] 执行方出错:[Report@3b0a8d gotoReportDesigner] [com.justep.studio.ui.editors.util.XuiDynJavaManager 2017-07-19 12:39:07]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.justep.studio.ui.editors.util.XuiDynJavaManager.executeMethod(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.ContextAction.widgetSelected(Unknown Source)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
        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.Display.runDeferredEvents(Display.java:4169)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.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$5.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(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        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)
Caused by: java.lang.NullPointerException
        at com.justep.studio.ui.editors.xui.designpanel.ReportDesignPanel.createClientSite(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.ReportDesignPanel.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.DesignPanelContainer.showDesignePanel(Unknown Source)
        at com.justep.studio.ui.editors.xui.DesignPanelContainer.showDesignePanel(Unknown Source)
        at Report.gotoReportDesigner(Report.java:63)
        ... 32 more
发表于 2017-7-19 14:24:03 | 显示全部楼层
请问你的机器上有没有安装 Excel
Excel 必须安装好  能正常打开才行!

如果系统没装!studio 就打不开
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

20

主题

45

帖子

223

积分

中级会员

Rank: 3Rank: 3

积分
223
 楼主| 发表于 2017-7-19 15:22:46 | 显示全部楼层
liangyongfei 发表于 2017-7-19 14:24
请问你的机器上有没有安装 Excel
Excel 必须安装好  能正常打开才行!

装了Excel的
就只有这一个页面有问题
其他的都可以
回复 支持 反对

使用道具 举报

发表于 2017-7-19 16:10:08 | 显示全部楼层
华仔闯天下 发表于 2017-7-19 15:22
装了Excel的
就只有这一个页面有问题
其他的都可以

那就有可能是Excel  的源码 坏掉了!

删除重新新建一个Excel  试试吧!

建议不要手动编辑修改Excel 的源码!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

20

主题

45

帖子

223

积分

中级会员

Rank: 3Rank: 3

积分
223
 楼主| 发表于 2017-7-19 16:58:25 | 显示全部楼层
liangyongfei 发表于 2017-7-19 16:10
那就有可能是Excel  的源码 坏掉了!

删除重新新建一个Excel  试试吧!

我没有手动修改过源码
我是在修改Excel页面的时候报错了
现在重新新建了一个就好了可以结贴了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-7-11 10:26 , Processed in 0.057215 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表