eclipse上的Apps脚本:从Drive中读取项目内容时出错;

时间:2017-09-07 01:10:19

标签: eclipse google-apps-script

enter image description here

我正在尝试使用google应用程序脚本插件进行eclipse(https://developers.google.com/eclipse/docs/apps_script)当我按照说明尝试导入应用程序脚本项目时,导入向导似乎不会填充,而我最终得到标题中的错误。日志包含以下内容:

  !SESSION 2017-09-06 20:41:42.028 -----------------------------------------------
  eclipse.buildId=4.6.3.M20170301-0400
  java.version=1.8.0_131
  java.vendor=Oracle Corporation
  BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
  Command-line arguments:  -os win32 -ws win32 -arch x86_64 -data file:/E:/EclipsePortable/Data/workspace/

  !ENTRY org.eclipse.ui.navigator 2 0 2017-09-06 20:41:46.917
  !MESSAGE Can't find Navigator Content Descriptor with id: org.eclipse.jst.servlet.ui.EnhancedJavaRendering

  !ENTRY com.google.gdt.eclipse.drive 1 0 2017-09-06 20:42:16.644
  !MESSAGE Connected to Drive service at https://www.googleapis.com/

  !ENTRY com.google.gdt.eclipse.drive 4 0 2017-09-06 20:43:23.266
  !MESSAGE Error reading contents of project from Drive; see Error Log.
  !STACK 0
  java.lang.NullPointerException
     at com.google.gdt.eclipse.drive.wizards.ScriptProjectImportWizard$2.run(ScriptProjectImportWizard.java:162)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

我怎样才能使这个工作?

1 个答案:

答案 0 :(得分:0)

来自https://developers.google.com/eclipse/

  

不推荐使用Google Plugin for Eclipse,并将于2018年1月删除。尽快迁移到适用于Eclipse的Cloud Tools和/或GWT Eclipse插件,以避免中断。