0

我正在运行 redhawk 1.9 并试图启动波形。我收到以下错误:“启动 FM_Radio_Example”期间发生内部错误。

org.jacorb.orb.ORB cannot be cast to com.sun.corba.se.spi.orb.ORB

错误面板显示以下内容:

java.lang.ClassCastException: org.jacorb.orb.ORB cannot be cast to com.sun.corba.se.spi.orb.ORB
    at com.sun.corba.se.impl.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2017)
    at com.sun.corba.se.impl.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2054)
    at com.sun.corba.se.impl.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2222)
    at com.sun.corba.se.impl.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2234)
    at com.sun.corba.se.impl.corba.AnyImpl.write_value(AnyImpl.java:608)
    at org.jacorb.orb.CDROutputStream.write_any(CDROutputStream.java:743)
    at CF.DataTypeHelper.write(DataTypeHelper.java:79)
    at CF.PropertiesHelper.write(PropertiesHelper.java:61)
    at CF._ResourceStub.configure(_ResourceStub.java:189)
    at gov.redhawk.model.sca.impl.ScaAbstractComponentImpl.configure(ScaAbstractComponentImpl.java:680)
    at gov.redhawk.ide.debug.internal.LocalApplicationFactory.configureComponent(LocalApplicationFactory.java:297)
    at gov.redhawk.ide.debug.internal.LocalApplicationFactory.configureComponents(LocalApplicationFactory.java:199)
    at gov.redhawk.ide.debug.internal.LocalApplicationFactory.create(LocalApplicationFactory.java:158)
    at gov.redhawk.ide.debug.internal.ui.LocalWaveformLaunchDelegate.launch(LocalWaveformLaunchDelegate.java:98)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)
    at gov.redhawk.ide.debug.ui.LaunchUtil$1.run(LaunchUtil.java:213)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

我有一个设备管理器节点,启动时出现以下错误。这可能是相关的,但我不确定。有问题的库位于 /root/src/redhawk-src-1.9.0/redhawk/src/base/framework/.libs。我将环境变量 PKG_CONFIG_PATH 设置为此路径,但这没有帮助。

INFO:DeviceManager - Starting Device Manager with /nodes/SI9138_Node/DeviceManager.dcd.xml
INFO:DeviceManager_impl - Connecting to Domain Manager REDHAWK_root/REDHAWK_root
INFO:DeviceManager_impl - Child process SI9138_1 (pid 24915) has exited with status 127
/var/redhawk/sdr/dev/devices/SI9138/cpp/SI9138: error while loading shared libraries: libossieidl.so.3: cannot open shared object file: No such file or directory
WARN:DeviceManager_impl - skipping exec param with null value
INFO:DeviceManager - Starting ORB!
INFO:SI9138_Node:GPP_1:Registering Device
INFO:DeviceManager_impl - Registering device GPP_1 on Device Manager SI9138_Node
INFO:DeviceManager_impl - Initializing device GPP_1 on Device Manager SI9138_Node
INFO:DeviceManager_impl - Registering device GPP_1 on Domain Manager

这是eclipse/java信息:

eclipse.buildId=1.9.0.R201309261648
java.version=1.6.0_30
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64
4

1 回答 1

0

最新版本的 openjdk 导致 jacorb 出现一些问题。以下是解决问题的两种方法:

  1. 降级 openjdk 和 openjdk-devel

    $ sudo yum 降级 java-1.6.0-openjdk-devel java-1.6.0-openjdk

  2. 安装 REDHAWK 1.8.7+ 或 REDHAWK 1.10+ 并在 /usr/local/redhawk/ide/1.10/eclipse 启动 IDE。

于 2014-08-10T13:57:19.183 回答