java.io.IOException: Remote call on darfar failed

eclipse.org | 3 months ago
  1. 0

    JVM crash when loading jna on mac os x

    GitHub | 4 years ago | rzorzorzo
    java.lang.InternalError: Can't connect to window server - not enough permissions.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InternalError

      Can't connect to window server - not enough permissions.

      at java.lang.ClassLoader$NativeLibrary.load()
    2. Java RT
      Class.forName
      1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
      2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
      3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
      4. java.lang.Runtime.loadLibrary0(Runtime.java:823)
      5. java.lang.System.loadLibrary(System.java:1045)
      6. sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
      9. sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
      10. java.awt.Component.<clinit>(Component.java:566)
      11. java.lang.Class.forName0(Native Method)
      12. java.lang.Class.forName(Class.java:169)
      12 frames
    3. Java Native Access
      Native.<clinit>
      1. com.sun.jna.Platform.<clinit>(Platform.java:64)
      2. com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:711)
      3. com.sun.jna.Native.loadNativeLibrary(Native.java:697)
      4. com.sun.jna.Native.<clinit>(Native.java:127)
      4 frames
    4. org.hudsonci.plugins
      JnaNativeMacSupport.<clinit>
      1. org.hudsonci.plugins.jna.JnaNativeMacSupport.<clinit>(JnaNativeMacSupport.java:74)
      1 frame
    5. Java RT
      ObjectInputStream.readObject
      1. java.io.ObjectStreamClass.hasStaticInitializer(Native Method)
      2. java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1696)
      3. java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:52)
      4. java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:205)
      5. java.security.AccessController.doPrivileged(Native Method)
      6. java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:202)
      7. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:558)
      8. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
      9. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
      10. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
      11. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      12. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      13. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      14. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      15. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      16. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      17. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      18. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      19. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      20. java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      20 frames
    6. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.deserialize(UserRequest.java:171)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:91)
      3. hudson.remoting.UserRequest.perform(UserRequest.java:41)
      4. hudson.remoting.Request$2.run(Request.java:276)
      4 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:680)
      6 frames