Resolved Linux stack traces

Discussion in 'Developer Support' started by Exia, Feb 9, 2016.

  1. Here is a thread for Linux specific errors:
    Code (Text):
    1. java.lang.UnsatisfiedLinkError:;
    2.     at Method)
    3.     at
    4.     at
    5.     at
    6.     at nul.iIIIIIiIIiIi.if(ibc:49)
    7.     at nul.IiiiIIiIiiIi.initialize(nsb:201)
    8.     at javafx.fxml.FXMLLoader.loadImpl(
    9.     at javafx.fxml.FXMLLoader.loadImpl(
    10.     at javafx.fxml.FXMLLoader.load(
    11.     at nul.IIIIiiiiIiII.if(uo:124)
    12.     at nul.IIIIiiiiIiII.if(uo:89)
    13.     at nul.IiiiIIiIiiIi.<init>(nsb:236)
    14.     at nul.IiiiIIiIiiIi.<init>(nsb:81)
    15.     at nul.IiiIIIiiiIIi.if(wnb:43)
    16.     at nul.IiiIiIiiIIiI.if(iqb:4356)
    17.     at
    18.     at javafx.concurrent.Task$
    19.     at
    20.     at

  2. Best Answer:
    Post #16 by Exia, Feb 26, 2016
  3. The issue is that it's trying to use all three of the supported attach providers. On windows this works fine but on linux the windows provider is trying to use a method call that doesn't exist. This is something that I need to investigate the best solution for.
  4. Now would be a good time as any to set up a couple local VMs.
  5. Is there some reason you can't use:
    Code (Text):
    1. System.getProperty("")
  6. That'll be part of the solution but unfortunately it's not that simple due to how attach providers work. I know how to fix it, it'll just require a tad bit of reflection and I'd rather get these more annoying UX errors out of the way first.
    Exia likes this.
  7. Code (Text):
    2. java.lang.reflect.InvocationTargetException
    3.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    4.     at sun.reflect.NativeMethodAccessorImpl.invoke(
    5.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    6.     at java.lang.reflect.Method.invoke(
    7.     at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(
    8.     at com.sun.javafx.application.LauncherImpl.launchApplication(
    9.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    10.     at sun.reflect.NativeMethodAccessorImpl.invoke(
    11.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    12.     at java.lang.reflect.Method.invoke(
    13.     at sun.launcher.LauncherHelper$FXHelper.main(
    14. Caused by: java.lang.RuntimeException: Exception in Application start method
    15.     at com.sun.javafx.application.LauncherImpl.launchApplication1(
    16.     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(
    17.     at
    18. Caused by: java.awt.AWTException: TrayIcon couldn't be displayed.
    19.     at sun.awt.X11.XTrayIconPeer.<init>(
    20.     at sun.awt.X11.XToolkit.createTrayIcon(
    21.     at java.awt.TrayIcon.addNotify(
    22.     at java.awt.SystemTray.add(
    23.     at com.runemate.boot.Boot.start(gcc:72)
    24.     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(
    25.     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(
    26.     at com.sun.javafx.application.PlatformImpl.lambda$null$173(
    27.     at Method)
    28.     at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(
    29.     at$
    30.     at Method)
    31.     at$null$49(
    32.     ... 1 more
    33. Exception running application com.runemate.boot.Boot
  8. @Arbiter
    This was after I fixed attach providers in V1.0.9, any idea why this is happening? We check to make sure the SystemTray is supported before adding the tray icon.
  9. No idea but I can research later. @Exia distro and desktop environment please.

    Sent from my iPhone using Tapatalk
  10. ubuntu 14.04 stock with unity
  11. Nice find, looks like it's not something we can properly resolve then. We could at least catch the exception so that the application would continue to run (I'm assuming it doesn't proceed after the exception). We may also have to try to remove the incomplete tray icon based on the links you posted.
    --- Double Post Merged, Feb 12, 2016 ---
    I've gone ahead and released V1.0.10 which catches and prints this exception instead of letting it crash the JVM. Please let me know if anything does appear in the system tray such as a malformed/unusable tray icon. Also go ahead and let me know of any additional exceptions you encounter while testing on Linux.
  12. Not using a VM at all, it's natively installed.

    Will do when I get home.
  13. The icon appears in Arch w/ KDE but it has no menu.
  14. Even when running as root, I get:
    Code (Text):
    1. Cannot run program "/home/john2/RuneMate/cache/": error=13, Permission denied
    2.     at java.lang.ProcessBuilder.start(
    3.     at nul.IIiIIIiIiiii.enum(qsb:79)
    4.     at nul.iiIIiiiIiiIi.enum(eh:23)
    5.     at nul.iiIIiiiIiiIi.enum(eh:168)
    6.     at nul.iiIIiiiIiiIi.enum(eh:50)
    7.     at nul.IIiIiIiIIIII.enum(nic:135)
    8.     at nul.iiIIIIiIiIiI.initialize(gvb:205)
    9.     at javafx.fxml.FXMLLoader.loadImpl(
    10.     at javafx.fxml.FXMLLoader.loadImpl(
    11.     at javafx.fxml.FXMLLoader.load(
    12.     at nul.IIiIIiiIiiII.enum(um:177)
    13.     at nul.IIiIIiiIiiII.enum(um:47)
    14.     at nul.iiIIIIiIiIiI.<init>(gvb:211)
    15.     at nul.iiIIIIiIiIiI.<init>(gvb:201)
    16.     at nul.iIiiiIiiiIIi.enum(bpb:168)
    17.     at nul.iIiIIIiIiIII.enum(vsb:15491)
    18.     at
    19.     at javafx.concurrent.Task$
    20.     at
    21.     at
    22. Caused by: error=13, Permission denied
    23.     at java.lang.UNIXProcess.forkAndExec(Native Method)
    24.     at java.lang.UNIXProcess.<init>(
    25.     at java.lang.ProcessImpl.start(
    26.     at java.lang.ProcessBuilder.start(
    27.     ... 19 more
    28. Cannot run program "/home/john2/RuneMate/cache/": error=13, Permission denied
    29.     at java.lang.ProcessBuilder.start(
    30.     at nul.IIiIIIiIiiii.enum(qsb:79)
    31.     at nul.iiIIiiiIiiIi.enum(eh:23)
    32.     at nul.iiIIiiiIiiIi.enum(eh:168)
    33.     at nul.iiIIiiiIiiIi.enum(eh:50)
    34.     at nul.IIiIiIiIIIII.enum(nic:135)
    35.     at nul.iiIIIIiIiIiI.initialize(gvb:205)
    36.     at javafx.fxml.FXMLLoader.loadImpl(
    37.     at javafx.fxml.FXMLLoader.loadImpl(
    38.     at javafx.fxml.FXMLLoader.load(
    39.     at nul.IIiIIiiIiiII.enum(um:177)
    40.     at nul.IIiIIiiIiiII.enum(um:47)
    41.     at nul.iiIIIIiIiIiI.<init>(gvb:211)
    42.     at nul.iiIIIIiIiIiI.<init>(gvb:201)
    43.     at nul.iIiiiIiiiIIi.enum(bpb:168)
    44.     at nul.iIiIIIiIiIII.enum(vsb:15491)
    45.     at
    46.     at javafx.concurrent.Task$
    47.     at
    48.     at
    49. Caused by: error=13, Permission denied
    50.     at java.lang.UNIXProcess.forkAndExec(Native Method)
    51.     at java.lang.UNIXProcess.<init>(
    52.     at java.lang.ProcessImpl.start(
    53.     at java.lang.ProcessBuilder.start(
    54.     ... 19 more
    Still cannot find any instances either.
  15. Try navigating to "/home/john2/RuneMate/cache/" and running superuser.
  16. Can we resolve this thread since Linux is now officially supported?

Share This Page