2 liu xuliu xu liu_xuliu_xu 于 2017.01.08 20:57 提问

为什么 eclipse 普通用户能打开,run as administrator报错

为什么 eclipse 普通用户能打开,run as administrator报错

6个回答

liu_xuliu_xu
liu_xuliu_xu   2017.01.08 20:58

!ENTRY org.eclipse.osgi 4 0 2017-01-08 20:14:54.900
!MESSAGE Application error
!STACK 1
java.lang.ArrayIndexOutOfBoundsException
at java.util.Arrays.copyOfRange(Arrays.java:3829)
at java.util.Arrays.copyOfRange(Arrays.java:3785)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.lambda$7(ChooseWorkspaceDialog.java:380)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog$$Lambda$18.000000000A1131F0.apply(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:204)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1385)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:523)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:513)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:719)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:245)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:510)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createUniqueWorkspaceNameMap(ChooseWorkspaceDialog.java:382)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createRecentWorkspacesComposite(ChooseWorkspaceDialog.java:325)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.createDialogArea(ChooseWorkspaceDialog.java:176)
at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
at org.eclipse.jface.window.Window.open(Window.java:783)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:114)
at org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:342)
at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:261)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:128)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

li_0x79d1_0x9510
li_0x79d1_0x9510   2017.01.08 20:59

报错的第一句很明显了 : java.lang.ArrayIndexOutOfBoundsException 数组越界了,看看你定义的数组吧

liu_xuliu_xu
liu_xuliu_xu   2017.01.08 21:05

我的这个问题很奇怪,正常打开没有问题,如果run as administrator,就报错
然后在C:\Users\IBM_ADMIN\IBM\rationalsdp\workspace.metadata里面报错

我的qq 402235823
2318015364
   

liu_xuliu_xu
liu_xuliu_xu   2017.01.10 09:49

二楼的同学,我这还没有编程呢,是在
C:\Users\IBM_ADMIN\IBM\rationalsdp\workspace.metadata 里面的.log里面看到了错误,然后是select workspace画面打不开了

liu_xuliu_xu
liu_xuliu_xu   2017.01.10 12:44

我是windows7,好像安装的时候也应该是点launchpad.exe as administrator.

Important: If your operating system is Windows 7, then you must run launchpad.exe as administrator.

liu_xuliu_xu
liu_xuliu_xu   2017.01.17 15:06

这个问题我已经搞定,就是上面的方法,可是日本ibm iga的cost 预算没有批下来,下一步我研究ibm cloud bluemix's node.js

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!