搜索文件

时间:2016-06-27 22:51:54

标签: java eclipse

我正在运行Eclipse Mars.2版本(4.5.2)在Virtualbox上的Ubuntu上构建id:20160218-0600。当我在一个文件中搜索包含所选项目上的文本的文件时,Eclipse会崩溃。当我搜索整个工作区时,它没有。我尝试创建一个新工作区,再次导入项目,然后运行" eclipse -clean"命令。这是我在运行" eclipse -debug"时的eclipse .log文件中看到的全部内容:

!SESSION 2016-06-27 18:41:00.059 -----------------------------------------------
eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.core.resources 2 10035 2016-06-27 18:41:10.376
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

调试控制台输出:

weblogic@weblogic-VirtualBox:/opt/eclipse$ ./eclipse -debug
Start VM: /opt/java/jdk1.7/latest/bin/java
-Djava.net.preferIPv4Stack=true
-Dsun.lang.ClassLoader.allowArraySyntax=true
-XX:+UseParallelGC
-Xverify:none
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=512m
-Xms256m
-Xmx3072m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /opt/eclipse//plugins/org.eclipse.platform_4.5.2.v20160212-1500/splash.bmp
-launcher /opt/eclipse/eclipse
-name Eclipse
--launcher.library /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417/eclipse_1612.so
-startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.appendVmargs
-exitdata 18000c
-product org.eclipse.epp.package.jee.product
-debug
-vm /opt/java/jdk1.7/latest/bin/java
-vmargs
-Djava.net.preferIPv4Stack=true
-Dsun.lang.ClassLoader.allowArraySyntax=true
-XX:+UseParallelGC
-Xverify:none
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=512m
-Xms256m
-Xmx3072m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar 
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Install location:
    file:/opt/eclipse/
Configuration file:
    file:/opt/eclipse/configuration/config.ini loaded
Configuration location:
    file:/opt/eclipse/configuration/
Framework located:
    file:/opt/eclipse/plugins/org.eclipse.osgi_3.10.102.v20160118-1700.jar
Loading extension: reference:file:org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar
    eclipse.properties not found
Framework classpath:
    file:/opt/eclipse/plugins/org.eclipse.osgi_3.10.102.v20160118-1700.jar
    file:/opt/eclipse/plugins/
    file:/opt/eclipse/plugins/org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar
Splash location:
    /opt/eclipse//plugins/org.eclipse.platform_4.5.2.v20160212-1500/splash.bmp
Debug options:
    file:/opt/eclipse/.options not found
Time to load bundles: 20
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
Starting application: 5580
org.eclipse.m2e.logback.configuration: Logback config file: /home/weblogic/workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.6.2.20150902-0002.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://914.fwk1319778140:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://914.fwk1319778140:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
org.eclipse.m2e.logback.configuration: Initializing logback
Application Started: 18641

1 个答案:

答案 0 :(得分:0)

我按照上面的评论中的描述禁用了GTK3,并且从那时起就没有出现错误。

.env
相关问题