1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved Exception in Application start method (Mac OSX)

Discussion in 'Developer Support' started by Swych, Jan 23, 2017.

  1. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,183
    Likes Received:
    1,034
    Recently ran into this errors on the latest .jar build of the client in IntelliJ. The code snippet below is the full error I am receiving immediately from the start of the build.
    Running on Mac OSX.
    Code (Text):
    1.  
    2. Exception in Application start method
    3. Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
    4.     at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    5.     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
    6.     at java.lang.Thread.run(Thread.java:745)
    7. Caused by: java.lang.NoSuchMethodError: com.sun.tools.attach.AttachOperationFailedException.if(Ljava/lang/String;)Ljava/lang/String;
    8.     at nul.IiiiIIiIiiIi.<clinit>(eoa:127)
    9.     at nul.iiIIiIiiiiiI.<init>(poa:127)
    10.     at com.runemate.boot.Boot.start(msb:18)
    11.     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    12.     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    13.     at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    14.     at java.security.AccessController.doPrivileged(Native Method)
    15.     at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    16.     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    17. java.lang.NoSuchMethodError: com.sun.tools.attach.AttachOperationFailedException.if(Ljava/lang/String;)Ljava/lang/String;
    18.     at nul.IIIiiIiiIIII.<clinit>(cra:97)
    19.     at nul.IiiiIIiIIiii.<clinit>(kra:68)
    20.     at nul.IiiIIIiiiiII.run(zua:20)
    21. An unhandled error occurred while shutting down.
    22.  
    23. Process finished with exit code 1
    24.  


     
    #1 Swych, Jan 23, 2017
    Last edited: Jan 23, 2017
  2. Best Answer:
    Post #3 by Swych, Jan 29, 2017
  3. rickp1337

    Joined:
    Jan 12, 2017
    Messages:
    87
    Likes Received:
    17
    i am having a similar issue on Windows, i am trying to make my own combat script bot so i decided to check out some of the Opensource versions. they all come up with the same issue:


    Exception in Application start method
    Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.AliasFileParser.enum(Ljava/lang/String;)Ljava/lang/String;
    at nul.iIiIIIiIIiii.<clinit>(zra:78)
    at com.runemate.boot.Boot.start(qib:225)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    ... 1 more
    java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.MonitorStatus.enum(Ljava/lang/String;)Ljava/lang/String;
    at nul.IIIiiIiiiIIi.<clinit>(hpa:147)
    at nul.iiiIIIiiiIII.run(jsa:227)
    Exception in thread "RMShutdownHook" java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.MonitorStatus.enum(Ljava/lang/String;)Ljava/lang/String;
    at nul.iiiIIIiiiIII.run(jsa:39)

    Process finished with exit code 1
     
  4. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,183
    Likes Received:
    1,034
    i fixed mine by redirecting the jre environment inside intellij
     
  5. rickp1337

    Joined:
    Jan 12, 2017
    Messages:
    87
    Likes Received:
    17
    how did you do this?, im fairly new to all this
     
  6. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,183
    Likes Received:
    1,034
    In IntelliJ: Run -> Edit Configurations -> Select the configuration you've made -> JRE
     
    rickp1337 likes this.
  7. rickp1337

    Joined:
    Jan 12, 2017
    Messages:
    87
    Likes Received:
    17
    so youre running something else than a 32bit SDK?
    im kinda lost atm, mine is currently set up ''C:\Program Files (x86)\Java\jdk1.8.0_121''
    --- Double Post Merged, Jan 29, 2017, Original Post Date: Jan 29, 2017 ---
    nevermind i think i found it, i selected JRE instead of JDK

    Thank You!!
     
  8. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,183
    Likes Received:
    1,034
    you can also select the jre that runemate installs for your automatically. Somewhere inside Program Files(x86)/RuneMate/jre i think
     

Share This Page

Loading...