3

我已经按照链接下载 import.io, https: //import.io/download/linux 。正如它所说,我已经提取并进入import.io终端中的文件夹。但是当我尝试运行时./import.io,我收到了这个错误(如下所示)。请建议我解决这个问题。我感谢您的帮助。

我正在使用 Ubuntu 12.04。

Java 版本
java 版本 "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, 混合模式)

错误

Starting application...
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xdedda7e4, pid=12312, tid=4149622464
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode linux-x86 )
# Problematic frame:
# C  [libdbus-1.so.3+0x277e4]
[error occurred during error reporting (printing problematic frame), id 0xb]
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/user/import.io/hs_err_pid12312.log
# [ timer expired, abort... ]
Aborted (core dumped)

这是日志

!SESSION 2014-04-25 14:25:17.199 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2014-04-25 14:25:17.712
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
    at org.eclipse.swt.SWT.error(SWT.java:4387)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:914)
    at org.eclipse.swt.widgets.Display.create(Display.java:900)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:498)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:489)
    at org.eclipse.swt.widgets.Display.getDefault(Display.java:1634)
    at com.importio.builder.bootstrap.ui.SwtUI.<init>(SwtUI.java:74)
    at com.importio.builder.bootstrap.ui.SwtUI.run(SwtUI.java:41)
    at com.importio.builder.bootstrap.BootstrapApplication.start(BootstrapApplication.java:35)
    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)

编辑

是我尝试按照评论部分中 Anone Mosh 的建议运行脚本时出现的错误。另请参阅日志。

日志

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xded37b12, pid=5628, tid=3739306816
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode linux-x86 )
# Problematic frame:
# C  [libdbus-1.so.3+0x29b12]
4

3 回答 3

5

Java 在调用 dbus 以检测您可能已设置的任何 HTTP 代理时遇到问题。你有代理吗?如果没有,您可以通过将以下行添加到以下文件来关闭此检测:

<where you extracted the application to>/import.io/import.io.ini

这是您需要添加到文件中的行:

-Dupdate.useSystemProxy=false

于 2014-05-12T10:33:51.873 回答
1

错误的原因是因为您使用的是 64 位的 linux 版本。按照说明进行操作,您将不会遇到任何错误。http://support.import.io/knowledgebase/articles/254346-linux-installation-notes

于 2014-08-29T19:58:57.853 回答
1

这个解决方案对我有用:编辑文件 /eclipse/eclipse.ini。插入行:-Dorg.eclipse.swt.browser.DefaultType=m

于 2014-09-12T08:03:32.267 回答