报错三

  • 1.发现问题
  • 2.monitor.exe
  • 3.eclipse中的.log
  • 4.问题解决

1.发现问题

今天照常学习Unity,我打开Android路径下D:\Unity\UnityHubDownload\2020.3.25f1c1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\toolsmonitor.bat,然后我十分平常的打开手机开发者配置,连上USB,结果在monitor.bat上怎么也查看不到手机。

下图是我解决了报错后的图片:按道理连接成功应该出现这个效果,但迟迟没有响应

本着大部分问题重启电脑能解决的想法,我重启了但并没什么用。

然后我右击任务栏,发现有一个monitor.exe,打开它后就发现了一个报错,大意是要我参考日志文件

2.monitor.exe

然后我就找到这个路径下D:\Unity\UnityHubDownload\2020.3.25f1c1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\lib\monitor-x86_64\configuration,发现果真有一个好几个.log文件,除了时间信息不同,内容都一致

这是当时日志文件里记录的内容:唉,看不懂,我大意理解为有几个重要的文件org.eclipse.jetty的路径丢失了,找不到了,于是顺着这个思路,到处找资料,终于有了眉目

!SESSION 2022-01-14 14:53:31.122 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.509
!MESSAGE Bundle reference:file:org.apache.ant_1.8.3.v201301120609/@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.511
!MESSAGE Bundle reference:file:org.apache.jasper.glassfish_2.2.2.v201205150955.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.512
!MESSAGE Bundle reference:file:org.apache.lucene.core_2.9.1.v201101211721.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.527
!MESSAGE Bundle reference:file:org.eclipse.help.base_3.6.101.v201302041200.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.528
!MESSAGE Bundle reference:file:org.eclipse.help.ui_3.5.201.v20130108-092756.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.528
!MESSAGE Bundle reference:file:org.eclipse.help.webapp_3.6.101.v20130116-182509.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.528
!MESSAGE Bundle reference:file:org.eclipse.jetty.server_8.1.3.v20120522.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.530
!MESSAGE Bundle reference:file:org.eclipse.platform.doc.user_4.2.2.v20130121-200410.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.531
!MESSAGE Bundle reference:file:org.eclipse.team.core_3.6.100.v20120524-0627.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.531
!MESSAGE Bundle reference:file:org.eclipse.team.ui_3.6.201.v20130125-135424.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.532
!MESSAGE Bundle reference:file:org.eclipse.ui.cheatsheets_3.4.200.v20120521-2344.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:31.533
!MESSAGE Bundle reference:file:org.eclipse.ui.intro_3.4.200.v20120521-2344.jar@4 not found.

!ENTRY org.eclipse.osgi 2 0 2022-01-14 14:53:32.029
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.029
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.jsp.jasper_1.0.400.v20120912-130548.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.apache.jasper.servlet_[0.0.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.029
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.http.jetty_3.0.1.v20121109-203239.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.eclipse.jetty.server.bio_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.eclipse.jetty.server_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.0.0,9.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.029
!MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene.analysis_2.9.1.v201101211721.jar was not resolved.
!SUBENTRY 2 org.apache.lucene.analysis 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.029
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.platform_4.2.2.v201302041200/ was not resolved.
!SUBENTRY 2 org.eclipse.platform 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing required bundle org.eclipse.ui.intro_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.platform 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.029
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.ui.intro.universal_3.2.600.v20120912-155524/ was not resolved.
!SUBENTRY 2 org.eclipse.ui.intro.universal 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing required bundle org.eclipse.ui.intro_[3.4.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.029
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.jetty.servlet_8.1.3.v20120522.jar was not resolved.
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.029
!MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.030
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20120912-130548.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.030
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.ltk.ui.refactoring_3.7.0.v20120523-1543.jar was not resolved.
!SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing required bundle org.eclipse.team.ui_[3.4.100,4.0.0).
!SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing required bundle org.eclipse.team.core_[3.4.100,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.030
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.jetty.security_8.1.3.v20120522.jar was not resolved.
!SUBENTRY 2 org.eclipse.jetty.security 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.security 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.030
!MESSAGE Bundle initial@reference:file:plugins/org.apache.lucene_2.9.1.v201101211721.jar was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.030
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).

!ENTRY org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.apache.lucene_2.9.1.v201101211721 [25] was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally required bundle org.apache.lucene.analysis_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally required bundle org.apache.lucene.highlighter_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally required bundle org.apache.lucene.memory_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally required bundle org.apache.lucene.queries_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally required bundle org.apache.lucene.snowball_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally required bundle org.apache.lucene.spellchecker_[2.9.1,3.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally required bundle org.apache.lucene.misc_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.apache.lucene.analysis_2.9.1.v201101211721 [26] was not resolved.
!SUBENTRY 2 org.apache.lucene.analysis 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.eclipse.equinox.http.jetty_3.0.1.v20121109-203239 [90] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.bio_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.0.0,9.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.servlet_[8.0.0,9.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.eclipse.equinox.jsp.jasper_1.0.400.v20120912-130548 [93] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.apache.jasper.servlet_[0.0.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20120912-130548 [94] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.equinox.jsp.jasper_0.0.0.
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.eclipse.jetty.security_8.1.3.v20120522 [137] was not resolved.
!SUBENTRY 2 org.eclipse.jetty.security 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.security 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.eclipse.jetty.servlet_8.1.3.v20120522 [138] was not resolved.
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing optionally imported package org.eclipse.jetty.jmx_8.0.0.
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.security_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.handler_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.nio_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.session_[8.1.0,9.0.0).
!SUBENTRY 2 org.eclipse.jetty.servlet 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing imported package org.eclipse.jetty.server.ssl_[8.1.0,9.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.eclipse.ltk.ui.refactoring_3.7.0.v20120523-1543 [146] was not resolved.
!SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing required bundle org.eclipse.team.core_[3.4.100,4.0.0).
!SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2022-01-14 14:53:32.046
!MESSAGE Missing required bundle org.eclipse.team.ui_[3.4.100,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.046
!MESSAGE Bundle org.eclipse.platform_4.2.2.v201302041200 [149] was not resolved.
!SUBENTRY 2 org.eclipse.platform 2 0 2022-01-14 14:53:32.047
!MESSAGE Missing required bundle org.eclipse.ui.intro_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.platform 2 0 2022-01-14 14:53:32.047
!MESSAGE Missing optionally required bundle org.eclipse.ui.cheatsheets_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.platform 2 0 2022-01-14 14:53:32.047
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.047
!MESSAGE Bundle org.eclipse.search_3.8.0.v20120523-1540 [151] was not resolved.
!SUBENTRY 2 org.eclipse.search 2 0 2022-01-14 14:53:32.047
!MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.047
!MESSAGE Bundle org.eclipse.ui.intro.universal_3.2.600.v20120912-155524 [163] was not resolved.
!SUBENTRY 2 org.eclipse.ui.intro.universal 2 0 2022-01-14 14:53:32.047
!MESSAGE Missing required bundle org.eclipse.ui.intro_[3.4.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-01-14 14:53:32.047
!MESSAGE Bundle org.eclipse.ui.navigator.resources_3.4.400.v20120705-114010 [165] was not resolved.
!SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2022-01-14 14:53:32.047
!MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0).

!ENTRY org.eclipse.osgi 4 0 2022-01-14 14:53:32.048
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.core.runtime.URIUtil.toURI(URIUtil.java:280)
at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:127)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:370)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:220)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:557)
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 com.android.ide.eclipse.monitor.MonitorApplication.start(MonitorApplication.java:63)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

3.eclipse中的.log

在eclipse安装包下有这么一条路径D:\Eclipse\eclipseWorkSpace\.metadata目录下也有一个.log文件,并且生成的时间与monitor.exe报错生成的时间相近,打开一看:

其中有一行:!MESSAGE Warning: The environment variable HOME is not set.,好终于找到问题了,我的环境变量没有设置,我又奇怪了,我昨天跑完demo后从未动过环境变量怎么就又没设置了呢,至此也不细究了,希望能看懂这些日志的大佬指点。

!SESSION 2022-01-05 11:06:18.021 -----------------------------------------------
eclipse.buildId=4.14.0.I20191210-0610
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.ui 2 0 2022-01-05 11:06:42.683
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: ‘C:\Users\starr’. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2022-01-14 14:44:51.229 -----------------------------------------------
eclipse.buildId=4.14.0.I20191210-0610
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.ui 2 0 2022-01-14 14:45:05.597
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: ‘C:\Users\starr’. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.eclipse.core.jobs 4 2 2022-01-14 14:45:16.900
!MESSAGE An internal error occurred during: “Deferred Early Start”.
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPlatform.java:361)
at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:237)
at org.eclipse.oomph.util.OomphPlugin.getLog(OomphPlugin.java:210)
at org.eclipse.oomph.util.OomphPlugin.log(OomphPlugin.java:225)
at org.eclipse.oomph.util.OomphPlugin.log(OomphPlugin.java:236)
at org.eclipse.oomph.internal.ui.EarlyStart.run(EarlyStart.java:116)
at org.eclipse.oomph.internal.ui.EarlyStart$1.run(EarlyStart.java:91)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

4.问题解决

解决方法就是,删掉eclipse安装路径下的configuration目录下的org.eclipse.updateorg.eclipse.osgi

然后问题就解决了。

原帖:https://blog.csdn.net/hrlee520/article/details/110186541

报错3:An error has occurred. See the log file~相关推荐

  1. Eclipse启动报错:An error has occurred.See the log file

    Eclipse打不开,报错:An error has occurred.See the log file. 解决方案如下: 1.打开cmd,输入java -version检查jdk是否安装好. 2.打 ...

  2. ENVI IDL报错:An error has occurred. See the log file快速解决方法

    今天下午用ENVI的时候,突然出现了这个报错: 然后搜了一下"an error has occured. see the log file",出现了一些不太相关的解决方法,没什么用 ...

  3. 启动MyEclipse时报错,An error has occurred see the log file 出现此类错误提示

    有可能是MyEclipse加载完配置后有什么地方不能正常加载,百度上的搜索结果有需要指定workspace但不确定能否解决问题 之所以出现这个错误提示框是我自己的操作导致 起因 想修改Eclipse的 ...

  4. eclipse报错:An error has occurred. See error log for more details. java.lang.NullPointerException

    eclipse一直不停的报错: An error has occurred. See error log for more details. java.lang.NullPointerExceptio ...

  5. 在Jetson Xavier NX上安装torchvision编译报错:fatal error: libavcodec/avcodec.h: No such file or directory

    文章目录: 1 问题原因说明 2 解决方法 1 问题原因说明 1.尝试安装torchvision 在Jetson NX设备上安装torch的版本是1.6.0版本,对应安装torchvision版本应该 ...

  6. Android Studio打开Android Device Monitor提示An error has occurred. See the log file......

    工具 Android Studio 3.0.1 问题描述:当我们打开Android Studio的Android Device Monitor时,发现出现弹窗,提示:An error has occu ...

  7. caffe-yolov3:编译安装报错:fatal error: caffe/caffe.hpp: No such file or directory

    在编译caffe-yolov3时报错: fatal error: caffe/caffe.hpp: No such file or directory 查看CMakeLists.txt时,看到引用库路 ...

  8. appium无法执行,报错 A JNI error has occurred或Could not find ‘apksigner.jar‘

    An unknown server-side error occurred while processing the command. Original error: Cannot verify th ...

  9. 创造虚拟环境报错An unexpected error has occurred. Conda has prepared the above report.解决方案

    一.创造一个虚拟环境报错**:** An unexpected error has occurred. Conda has prepared the above report.Upload did n ...

最新文章

  1. 剑指offer 40.最小的 K 个数 python代码
  2. 【Windows 逆向】使用 CE 工具挖掘关键数据内存真实地址 ( CE 找出子弹数据内存地址是临时地址 | 挖掘真实的子弹数据内存地址 )
  3. Java调用js方法
  4. 快速对比UART、SPI、I2C通信的区别与应用
  5. 机器人 瓷砖墙面清洗_墙壁清洁机器人解析
  6. python 类的简单实用和定义
  7. 吴恩达神经网络和深度学习-学习笔记-21-何时该改变开发集+测试集或指标
  8. ctfd的mysql导入_centos7 CTFd平台搭建过程
  9. Spring cloud搭建HSF框架,整合mybatis、redis、rabbit
  10. cartographer基于3d地图的纯定位模式
  11. 多模态学习方法综述(期刊论文)
  12. XSKY新一代分布式文件系统XGFS揭秘——元数据服务
  13. 大邑移动团支部学校联谊活动
  14. Delphi历史版本介绍(一)从Delphi1到Delphi7
  15. 【控制理论】状态空间模型、传递函数、差分方程的相互转换
  16. 机器学习算法工程师需要掌握的技能与要踩的坑
  17. 在 Apple 芯片设备上用 Android Studio?别忘了使用 Apple 芯片预览版!
  18. 【总结整理】面试pm常见的问题---摘自《人人都是产品经理》
  19. 125啦读书导航新版上线啦
  20. 阿里巴巴办公室环境图解

热门文章

  1. 计算机有效策略无法连接打印机,共享打印提示:Windows无法连接到打印机,拒绝访问...
  2. ps切图(6)——参考线及辅助
  3. C语言 计算x的n次幂
  4. 字节飞书提前批一面(凉的透透的)
  5. batchsize和learning rate的影响
  6. 不了解服务器的同学快看过来!详细介绍服务器的种类、特性与作用
  7. outlook你的邮件服务器证书无效,IMAP提示由于证书无效或不可信,无法连接到服务器...
  8. [MSDN]关键字查询语言 (KQL) 语法参考
  9. 个性化推荐十大挑战精选
  10. LeetCode 1103[Python]. 分糖果 II 排排坐,分糖果。 我们买了一些糖果 candies,打算把它们分给排好队的 n = num_people 个小朋友。