1

Eclipse neon:我无法使用运行配置。我得到一个空指针异常。有没有人面临同样的问题。你能想到的任何理由。

添加了错误日志

  1. java.lang.IllegalArgumentException:参数在 org.eclipse.swt.SWT.error(SWT.java:4448) 在 org.eclipse.swt 的 org.eclipse.swt.SWT.error(SWT.java:4514) 处无效。 SWT.error(SWT.java:4419) atorg.eclipse.swt.graphics.TextLayout.setWidthInPixels(TextLayout.java:3333) at org.eclipse.swt.graphics.TextLayout.setWidth(TextLayout.java:3329) at org. eclipse.swt.widgets.Link.computeSizeInPixels(Link.java:213) 在 org.eclipse.swt.widgets.Control.computeSize(Control.java:663) 在 org.eclipse.swt.layout.GridData.computeSize(GridData. java:491) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:221) at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:164) at org.eclipse.swt.widgets .Composite.computeSizeInPixels(Composite.java:238) 在 org.eclipse.swt.widgets.Control.computeSize(Control.java:663) 在 org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:238) 在 org.eclipse.swt.widgets.Control .computeSize(Control.java:663) 在 org.eclipse.swt.layout.GridData.computeSize(GridData.java:491) 在 org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:221) 在 org. eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:164) 在 org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:238) 在 org.eclipse.swt.widgets.Control.computeSize(Control. java:663) 在 org.eclipse.swt.custom.ViewFormLayout.computeChildSize(ViewFormLayout.java:90) 在 org.eclipse.swt.custom 的 org.eclipse.swt.custom.CLayoutData.computeSize(CLayoutData.java:26) .ViewFormLayout.computeSize(ViewFormLayout.java:69) 在 org.eclipse.swt。widgets.Composite.computeSizeInPixels(Composite.java:238) at org.eclipse.swt.widgets.Control.computeSize(Control.java:663) at org.eclipse.swt.custom.SashFormLayout.computeSize(SashFormLayout.java:47)在 org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:238) 在 org.eclipse.swt.widgets.Control.computeSize(Control.java:663) 在 org.eclipse.swt.layout.GridData.computeSize (GridData.java:491) 在 org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:221) 在 org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:164) 在 org.eclipse。 swt.widgets.Composite.computeSizeInPixels(Composite.java:238) 在 org.eclipse.swt.widgets.Control.computeSize(Control.java:663) 在 org.eclipse.swt.layout.GridData.computeSize(GridData.java: 491) 在 org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:221) 在 org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1383) 在 org.eclipse.swt.widgets.Composite 的 org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197) .updateLayout(Composite.java:1368) 在 org.eclipse.swt.widgets.Composite.layout(Composite.java:725) 在 org.eclipse.swt.widgets.Composite.layout(Composite.java:676) 在 org. eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.addContent(LaunchConfigurationsDialog.java:298) 在 org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createDialogArea(LaunchConfigurationsDialog.java:457) 在 org.eclipse.jface。 dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158) 在 org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createContents(LaunchConfigurationsDialog.java:445) 在 org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095) 在 org.eclipse.debug.internal.ui 的 org.eclipse.jface.window.Window.create(Window.java:426) .launchConfigurations.LaunchConfigurationsDialog.create(LaunchConfigurationsDialog.java:374) 在 org.eclipse.jface.window.Window.open(Window.java:783) 在 org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog .java:1154) 在 org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:619) 在 org.eclipse.swt.custom.BusyIndi​​cator.showWhile(BusyIndi​​cator.java:70) 在 org.eclipse.debug .ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:627) 在 org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:560) 在 org.eclipse.debug.ui.actions.OpenLaunchDialogAction。run(OpenLaunchDialogAction.java:82) 在 org.eclipse.jface.action.Action.runWithEvent(Action.java:473) 在 org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565) 在 org.eclipse .jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397) 在 org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 在 org.eclipse.swt.widgets.Display.sendEvent(Display. java:4415) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103) at org.eclipse.swt.widgets .Widget.sendEvent(Widget.java:1088) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802) at org.eclipse.jface.action.ActionContributionItem.lambda$8(ActionContributionItem.java:1258)在 org.eclipse.swt.widgets.EventTable。sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4415) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) at org.eclipse .swt.widgets.Display.runDeferredEvents(Display.java:4233) 在 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3821) 在 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine $4.run(PartRenderingEngine.java:1119) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run( PartRenderingEngine.java:1020) 在 org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150) 在 org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687) 在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) 在 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) at org.eclipse.ui.internal.ide.application.IDEApplication.start( IDEApplication.java:138) 在 org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) 在 org.eclipse.core .runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 在 sun。reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher .Main.basicRun(Main.java:610) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1519)
4

0 回答 0