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币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
Ubuntu terminal一直提示使用sudo 执行命令
每次打开Terminal, 窗口上方都会出现 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.解决方法: Once you run a sudo command, the file ~/.sudo_as_admin_successful
Run a Command as Administrator
Run a Command as Administrator from the Windows 7 / Vista Run box<br />If you are a command line junkie like me, and have been testing out Windows 7 or Vista… one of the first things you’ll notice is that there is no way to run a command from the run box i
android:打开Eclipse之后android项目都报错怎么解决
错误原因: Debug Certificate 过期了的缘故 解决办法: 进入:C:\Documents and Settings\Administrator\.android   删除:debug.keystore及 ddms.cfg   再重新打开Eclipse   再接着刷新或clear清理一下就OK了。 最后要把debug.keystore加进去就OK
win7系统 普通管理员被删除,超级管理员被禁用。普通用户下。怎么激活administrator
需要启用超级管理员帐户,然后可以在超级管理员账户安装,在标准用户下正常使用。 如果你也想启用超级管理员帐户,可以按如下的步骤操作:右键单击“计算机”→“管理”,双击“本地用户和组”→“用户”,在右边列出的帐号中右键单击“Administrator”→“属性”,在弹出的界面中取消勾选的“帐号已禁用”  启用超级管理员帐户后,也就等于获得了超级管理员权限。用户可以通过它使任何一个普
C#以管理员(Run as Administrator)的权限打开cmd.exe程指定序并执行命令
项目需要用wix#(wix sharp)打包程序,使用wix中的ServiceInstaller安装一个WINDOWS SERVICE ,服务可以正常启动,但是使用的时候有问题
我的电脑用eclipse开发android,每次只能启动一次android虚拟机,第二次点run的时候就永久的停留在27%上???
解决办法: 這個問題主要原因就是android虛擬機(AVD)不是你用當前的eclipse建立的,這就導致第二次run的時候,eclipse和AVD的鏈接有問題。          解決辦法有這幾種: 第一種:刪掉AVD,再建一個即可; 第二種:先啟動AVD,在run程序;
Eclipse启动时报错解决方法
1 用eclipse启动tomcat服务器时报    Removing obsolete files from server..                                        Could not clean server of obsolete files: null                                         java.
Eclipse能Run不能Debug官方解决办法(亲测可用)
I can run a program but not debug it??? This problem happens quite often where a user can run a program, but as soon as they try to debug it they get errors about 'unable to connect' or even more n
Ubuntu 的 sudo_root
To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. man sudo_root NAME        sudo_root - How to run administrative commands SYNOPSIS        su
SwitchHosts管理
SwitchHosts—hosts管理利器 SwitchHosts是一个管理、快速切换Hosts小工具,开源软件,一键切换Hosts配置,非常实用,高效。 开发Web过程成,部署有多套环境,网址域名都相同,部署在不同的服务器上,有开发环境、测试环境、预发布环境、生产环境。经常要切换Hosts来访问,测试以及验证bug,如果纯手工修改这会花掉不少时间,而且这个过程毫无乐趣可言。 Swi