sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]


fedora 20 运行sqldeveloper失败,尝试了修改jvm 更换jdk版本 各种清理缓存,仍然失败,最后发现了这个方法:

$unset GNOME_DESKTOP_SESSION_ID

$unset DBUS_SESSION_BUS_ADDRESS

也就是说直接在命令行下执行这两句话 ,实验证明 只执行第一句就i可以了。

以下摘自http://www.thatjeffsmith.com/archive/2013/07/oracle-sql-developer-4-0-is-finally-here/

Hello there, I am having issues running SQL Dev 4 on Fedora 19…I installed open jdk7 but when I launch the program, the loading screen shows up but program crashes somehow and doesnt boot. When I run it from terminal as su, I get the following:

Oracle SQL Developer
Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.

Sep 09, 2013 9:53:46 AM javax.ide.extension.spi.DefaultElementContext resolveResource
SEVERE: jar:/file:/opt/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.migration.application.jar!/META-INF/extension.xml:16: Resource not found: ‘${SCRATCH_COMMAND_ICON}’.

LOAD TIME : 164#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000003b09c62e00, pid=2070, tid=140424423397120
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000003b09c62e00
[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
#
[thread 140424509183744 also had an error]
# An error report file with more information is saved as:
# [thread 140424509183744 also had an error]
#
# If you would like to submit a bug report, please visit:
http://bugreport.sun.com/bugreport/crash.jsp
#
/opt/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh: line 611: 2070 Aborted (core dumped) ${JAVA} “${APP_VM_OPTS[@]}” ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} “${APP_APP_OPTS[@]}”

Thereafter my fedora shows a message saying “A problem in the jdk-1.7.0_25-fcs package has been detected”

Any ideas how I can fix this


  • sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]thatjeffsmith
    SEP 09, 2013 @ 09:06:37

    It sounds like your java install is borked. Do you have SQL Developer 3.2 installed, if so, does it also ‘not work?’

    Can you try re-installing Java 7?

    REPLY

    • sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]Adrian
      SEP 12, 2013 @ 11:31:07

      Nelson. I was having the same issue as others, that only sudo would make SQLDeveloper to work. After running a strace on SQLDeveloper with and without sudo, I compared the output of both and identified that the one failing was due to being unable to find some awt libraries. So I started removing environment variables and found out that the culprit is GNOME_DESKTOP_SESSION_ID. Just unset that variable and SQLDeveloper will work fine, at least works fine for me :).

      REPLY

      • sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]Jeroen Baten
        DEC 23, 2013 @ 07:22:35

        Yep, worked for me. Thanks!

        REPLY

      • sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]Peter
        JAN 10, 2014 @ 02:52:20

        Thanks a lot!

        REPLY

      • sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]Stephen
        JAN 29, 2014 @ 00:09:55

        Thanks. That helped me, too. I had to unset two variables:

        unset GNOME_DESKTOP_SESSION_ID
        unset DBUS_SESSION_BUS_ADDRESS

        I just added that to the launcher script, and that fixed my problem.



sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]

上一篇:在论坛中出现的比较难的sql问题:24(生成时间段)


下一篇:通过exp命令对Oracle数据库进行备份操作(提供两种情况的备份:备份本地,备份远程的数据库)