【问题标题】:jprofiler: an error has occured during startupjprofiler:启动过程中发生错误
【发布时间】:2014-01-20 20:28:15
【问题描述】:

我正在尝试在我的 Centos Release 6.4(最终版)机器上安装 jprofiler8 (8.0.3)(评估版),但在启动时不断出现错误(以下错误)。当它第一次为我运行它时,我尝试从安装向导启动它,以及从文档声明的位置([jprofiler install directory]/bin/jprofiler)启动它,结果相同。我不知道这是用户错误(那是我)还是兼容性问题。如果是后者,您是否知道是否有与 8.0.3 相对的不同版本?任何帮助将不胜感激,谢谢。

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.jprofiler.frontend.FrontendApplication.M(ejt:722)
    at com.jprofiler.frontend.FrontendApplication.b(ejt:691)
    at com.jprofiler.frontend.FrontendApplication.main(ejt:1260)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1269)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1244)
    at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1346)
    at com.jprofiler.frontend.FrontendApplication.M(ejt:713)
    ... 8 more
Caused by: java.lang.NoSuchMethodError: sun.reflect.Reflection.getCallerClass(I)Ljava/lang/Class;
    at com.jidesoft.plaf.UIDefaultsLookup.getCallerClassLoader(Unknown Source)
    at com.jidesoft.plaf.UIDefaultsLookup.get(Unknown Source)
    at com.jidesoft.plaf.basic.BasicJideButtonUI.installDefaults(Unknown Source)
    at com.jidesoft.plaf.basic.BasicJideButtonUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(JComponent.java:655)
    at com.jidesoft.swing.JideButton.updateUI(Unknown Source)
    at javax.swing.AbstractButton.init(AbstractButton.java:2172)
    at javax.swing.JButton.<init>(JButton.java:136)
    at javax.swing.JButton.<init>(JButton.java:90)
    at com.jidesoft.swing.JideButton.<init>(Unknown Source)
    at com.jidesoft.swing.JideButton.<init>(Unknown Source)
    at com.jidesoft.swing.SimpleScrollPane$ScrollButton.<init>(Unknown Source)
    at com.jidesoft.swing.SimpleScrollPane.createScrollButton(Unknown Source)
    at com.jidesoft.swing.SimpleScrollPane.<init>(Unknown Source)
    at com.jidesoft.swing.SimpleScrollPane.<init>(Unknown Source)
    at com.jprofiler.frontend.i.a.u.<init>(ejt:101)
    at com.jprofiler.frontend.i.a.q.e(ejt:101)
    at com.jprofiler.frontend.i.a.q.c(ejt:32)
    at com.jprofiler.frontend.i.c.b.a.<init>(ejt:15)
    at com.jprofiler.frontend.i.c.b.b.P(ejt:432)
    at com.jprofiler.frontend.i.c.b.b.<init>(ejt:87)
    at com.jprofiler.frontend.i.c.v.j(ejt:1086)
    at com.jprofiler.frontend.d.b.g.a(ejt:142)
    at com.jprofiler.frontend.i.c.v.<init>(ejt:127)
    at com.jprofiler.frontend.i.i.j(ejt:73)
    at com.jprofiler.frontend.d.b.g.a(ejt:142)
    at com.jprofiler.frontend.i.i.<init>(ejt:29)
    at com.jprofiler.frontend.cn.B(ejt:459)
    at com.jprofiler.frontend.cn.f(ejt:70)
    at com.jprofiler.frontend.by.X(ejt:748)
    at com.jprofiler.frontend.d.h.e(ejt:521)
    at com.jprofiler.frontend.by.<init>(ejt:122)
    at com.jprofiler.frontend.ah.run(ejt:716)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:688)
    at java.awt.EventQueue$3.run(EventQueue.java:686)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91

【问题讨论】:

    标签: jprofiler


    【解决方案1】:

    OpenJDK 可能会发生这种情况,并将在 8.0.4 中修复。请联系 support@ej-technologies.com 以获取初步构建或使用 Oracle JRE。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多