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

QQ登录

只需一步,快速开始

查看: 1862|回复: 7

[结贴] 使用studio界面时就报错,昨天出现,使用js不会出现,重启...

[复制链接]

64

主题

321

帖子

679

积分

高级会员

Rank: 4

积分
679
QQ
发表于 2016-12-27 15:28:53 | 显示全部楼层 |阅读模式
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:16:33]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12847
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.WindowDesignPanel$24.run(Unknown Source)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
        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)
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:16:33]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12847
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.WindowDesignPanel$24.run(Unknown Source)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
        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)
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:16:48]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12847
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.selectionChanged(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.access$1300(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart$17.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)

64

主题

321

帖子

679

积分

高级会员

Rank: 4

积分
679
QQ
 楼主| 发表于 2016-12-27 15:29:21 | 显示全部楼层
        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)
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:16:48]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12847
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.selectionChanged(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.access$1300(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart$17.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)
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:16:50]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12847
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.selectionChanged(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.access$1300(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart$17.widgetSelected(Unknown Source)
        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)
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:26:25]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12845
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.WindowDesignPanel$24.run(Unknown Source)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
        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)
回复 支持 反对

使用道具 举报

64

主题

321

帖子

679

积分

高级会员

Rank: 4

积分
679
QQ
 楼主| 发表于 2016-12-27 15:29:48 | 显示全部楼层
        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)
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:16:50]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12847
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.selectionChanged(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.access$1300(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart$17.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)
[ERROR] xui设计器:初始化事件编辑器出错。 [com.justep.studio.ui.editors.xui.propeditor.EventEditor 2016-12-27 15:26:25]
java.lang.StringIndexOutOfBoundsException: String index out of range: 12845
        at java.lang.String.charAt(String.java:658)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.buildToken(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsParser.parse(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.js.JsModelClass.<init>(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.getJsFunctionList(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.initCellEditor(Unknown Source)
        at com.justep.studio.ui.editors.xui.propeditor.EventEditor.setXuiElements(Unknown Source)
        at com.justep.studio.ui.editors.xui.designpanel.WindowDesignPanel$24.run(Unknown Source)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
        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)
回复 支持 反对

使用道具 举报

64

主题

321

帖子

679

积分

高级会员

Rank: 4

积分
679
QQ
 楼主| 发表于 2016-12-27 15:30:23 | 显示全部楼层
如上!点击任意组件就报,不点不报,重启studio和电脑都不行!
回复 支持 反对

使用道具 举报

发表于 2016-12-27 15:38:06 | 显示全部楼层
ufo1982ufo 发表于 2016-12-27 15:30
如上!点击任意组件就报,不点不报,重启studio和电脑都不行!

环境坏掉了!
试试:http://docs.wex5.com/wex5-studio-question-list-2003/

如果还不行
就只能重新解压一个版本了!把你的项目放进去就可以了!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

64

主题

321

帖子

679

积分

高级会员

Rank: 4

积分
679
QQ
 楼主| 发表于 2016-12-27 17:40:19 | 显示全部楼层
liangyongfei 发表于 2016-12-27 15:38
环境坏掉了!
试试:http://docs.wex5.com/wex5-studio-question-list-2003/

按照你说的方法试了,不行;
重新解压了,导入项目文件,还是不行,这又这个w文件会这样,其他不会!
只要进入该文件的“设计”页面点击任意组件才报错,js里正常的!!
回复 支持 反对

使用道具 举报

发表于 2016-12-27 17:47:06 | 显示全部楼层
ufo1982ufo 发表于 2016-12-27 17:40
按照你说的方法试了,不行;
重新解压了,导入项目文件,还是不行,这又这个w文件会这样,其他不会!
只 ...

那就奇怪了!
这个w页面你改过源码吗?模型编译是否正常?
有可能这个也面源码改坏了!如果实在不行,那就重做一个页面吧!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

64

主题

321

帖子

679

积分

高级会员

Rank: 4

积分
679
QQ
 楼主| 发表于 2016-12-27 18:05:52 | 显示全部楼层
liangyongfei 发表于 2016-12-27 17:47
那就奇怪了!
这个w页面你改过源码吗?模型编译是否正常?
有可能这个也面源码改坏了!如果实在不行,那 ...

我新建了一个w文件,把代码一部分一部分复制过去都没有报错,最后发现我把一些代码注释掉后移到了
  1.         return Model;
  2. });
复制代码

之外,结果就报错了,现在删除就好了,折腾了一下午数据和软件!
谢谢,结贴吧!
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-26 07:52 , Processed in 0.057466 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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