java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J

Jenkins JIRA | Sergey Kadaner | 1 year ago
  1. 0

    After I moved from Maven to Gradle I started getting errors during server startup via _gradlew server_ command. I did not see these errors with _mvn hpi:run_ The errors disappear if I don`t use Gradle daemon. {code:java} Failed to instantiate SLF4J LoggerFactory Reported exception: java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:55) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:40) at org.apache.sshd.SshServer.<init>(SshServer.java:144) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:446) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:82) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:144) 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 hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:888) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 37 more Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:888) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException 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 hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:55) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:40) at org.apache.sshd.SshServer.<init>(SshServer.java:144) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:446) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:82) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:144) ... 13 more Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 37 more Exception in thread "Monitoring master for Free Swap Space" java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J at com.sun.jna.Native.malloc(Native Method) at com.sun.jna.Memory.malloc(Memory.java:690) at com.sun.jna.Memory.<init>(Memory.java:79) at com.sun.jna.Structure$AutoAllocated.<init>(Structure.java:1366) at com.sun.jna.Structure.autoAllocate(Structure.java:231) at com.sun.jna.Structure.allocateMemory(Structure.java:302) at com.sun.jna.Structure.<init>(Structure.java:179) at com.sun.jna.Structure.<init>(Structure.java:169) at com.sun.jna.Structure.<init>(Structure.java:165) at com.sun.jna.Structure.<init>(Structure.java:156) at org.jvnet.hudson.Windows$MEMORYSTATUSEX.<init>(Windows.java:55) at org.jvnet.hudson.Windows.monitor(Windows.java:40) at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:109) at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:99) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:83) at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:81) at hudson.node_monitors.AbstractNodeMonitorDescriptor$Record.run(AbstractNodeMonitorDescriptor.java:219) There was an OPT answer. Not currently handled. Option code: 65002 data: 957552C761332C27 {code}

    Jenkins JIRA | 1 year ago | Sergey Kadaner
    java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J
  2. 0

    After I moved from Maven to Gradle I started getting errors during server startup via _gradlew server_ command. I did not see these errors with _mvn hpi:run_ The errors disappear if I don`t use Gradle daemon. {code:java} Failed to instantiate SLF4J LoggerFactory Reported exception: java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:55) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:40) at org.apache.sshd.SshServer.<init>(SshServer.java:144) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:446) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:82) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:144) 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 hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:888) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 37 more Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:888) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException 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 hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:55) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:40) at org.apache.sshd.SshServer.<init>(SshServer.java:144) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:446) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:82) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:144) ... 13 more Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 37 more Exception in thread "Monitoring master for Free Swap Space" java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J at com.sun.jna.Native.malloc(Native Method) at com.sun.jna.Memory.malloc(Memory.java:690) at com.sun.jna.Memory.<init>(Memory.java:79) at com.sun.jna.Structure$AutoAllocated.<init>(Structure.java:1366) at com.sun.jna.Structure.autoAllocate(Structure.java:231) at com.sun.jna.Structure.allocateMemory(Structure.java:302) at com.sun.jna.Structure.<init>(Structure.java:179) at com.sun.jna.Structure.<init>(Structure.java:169) at com.sun.jna.Structure.<init>(Structure.java:165) at com.sun.jna.Structure.<init>(Structure.java:156) at org.jvnet.hudson.Windows$MEMORYSTATUSEX.<init>(Windows.java:55) at org.jvnet.hudson.Windows.monitor(Windows.java:40) at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:109) at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:99) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:83) at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:81) at hudson.node_monitors.AbstractNodeMonitorDescriptor$Record.run(AbstractNodeMonitorDescriptor.java:219) There was an OPT answer. Not currently handled. Option code: 65002 data: 957552C761332C27 {code}

    Jenkins JIRA | 1 year ago | Sergey Kadaner
    java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J
  3. 0

    "Windowsのサービスとしてインストール" 時 Exception: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J

    Google Groups | 4 years ago | Takayuki Kondou
    java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J となります。 また、起動時やアクセス時にも例外が発生しているようです。 ○環境 - Windows 7 Professional 32-bit - JRE 1.7.0_07 - Jenkins 1.484 ○起動 c:\tmp>java -version java version "1.7.0_07" Java(TM) SE Runtime Environment (build 1.7.0_07-b10) Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing) c:\tmp>java -jar jenkins-1.484.war Running from: C:\tmp\jenkins-1.484.war webroot: $user.home/.jenkins 10 05, 2012 9:55:16 午後 winstone.Logger logInternal 情報: Beginning extraction from war file Jenkins home directory: C:\Users\tkondou\.jenkins found at: $user.home/.jenkins 10 05, 2012 9:55:17 午後 winstone.Logger logInternal 情報: HTTP Listener started: port=8080 10 05, 2012 9:55:17 午後 winstone.Logger logInternal 情報: AJP13 Listener started: port=8009 10 05, 2012 9:55:17 午後 winstone.Logger logInternal 情報: Winstone Servlet Engine v0.9.10 running: controlPort=disabled 10 05, 2012 9:55:18 午後 jenkins.InitReactorRunner$1 onAttained 情報: Started initialization 10 05, 2012 9:55:18 午後 jenkins.InitReactorRunner$1 onAttained 情報: Listed all plugins 10 05, 2012 9:55:18 午後 jenkins.InitReactorRunner$1 onAttained 情報: Prepared all plugins 10 05, 2012 9:55:18 午後 jenkins.InitReactorRunner$1 onAttained 情報: Started all plugins 10 05, 2012 9:55:18 午後 jenkins.InitReactorRunner$1 onAttained 情報: Augmented all extensions 10 05, 2012 9:55:18 午後 jenkins.InitReactorRunner$1 onAttained 情報: Loaded all jobs 10 05, 2012 9:55:21 午後 org.apache.sshd.common.util.SecurityUtils$BouncyCastleR egistration run 情報: Trying to register BouncyCastle as a JCE provider 10 05, 2012 9:55:21 午後 org.apache.sshd.common.util.SecurityUtils$BouncyCastleR egistration run 情報: Registration succeeded 10 05, 2012 9:55:22 午後 org.jenkinsci.main.modules.sshd.SSHD start 情報: Started SSHD at port 52157 10 05, 2012 9:55:22 午後 jenkins.InitReactorRunner$1 onAttained 情報: Completed initialization 10 05, 2012 9:55:22 午後 hudson.TcpSlaveAgentListener <init> 情報: JNLP slave agent listener started on TCP port 52158 10 05, 2012 9:55:22 午後 hudson.WebAppMain$2 run 情報: Jenkins is fully up and running Exception in thread "Monitoring master for 空きスワップ容量" java.lang.Unsatisfi edLinkError: com.sun.jna.Native.malloc(J)J
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps I took: 1. Downloaded jenkins.war 1.440 2. Created folder E:\java\jenkins 3. Executed java -DJENKINS_HOME=E:\java\jenkins -jar jenkins.war 4. Browsed to http://localhost:8080/, Jenkins was up and running 5. Manage Jenkins -> Install as Windows Service 6. Kept the installation directory as E:\java\jenkins and pressed Install This gave me the following error: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J at com.sun.jna.Native.malloc(Native Method) at com.sun.jna.Memory.malloc(Memory.java:690) at com.sun.jna.Memory.<init>(Memory.java:79) at com.sun.jna.ptr.ByReference.<init>(ByReference.java:33) at com.sun.jna.ptr.IntByReference.<init>(IntByReference.java:22) at com.sun.jna.ptr.IntByReference.<init>(IntByReference.java:18) at hudson.util.jna.RegistryKey.open(RegistryKey.java:210) at hudson.util.jna.RegistryKey.openReadonly(RegistryKey.java:206) at hudson.util.jna.DotNet.isInstalled(DotNet.java:50) at hudson.lifecycle.WindowsInstallerLink.doDoInstall(WindowsInstallerLink.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:377) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) PS. A note about bug reporting itself - the Component/s field is required, but the valid values don't make much sense, at least to someone not familiar with the internals of Jenkins. I used "core" for this report as it was the most generic one I could find, but it was by far the most confusing part about the bug reporting process.

    Jenkins JIRA | 5 years ago | Andres Kalle
    java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J
  6. 0

    "Windowsのサービスとしてインストール" 時 Exception: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J

    Google Groups | 4 years ago | Takayuki Kondou
    javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J

    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.UnsatisfiedLinkError

      com.sun.jna.Native.malloc(J)J

      at com.sun.jna.Native.malloc()
    2. Java Native Access
      Structure.<init>
      1. com.sun.jna.Native.malloc(Native Method)
      2. com.sun.jna.Memory.malloc(Memory.java:690)
      3. com.sun.jna.Memory.<init>(Memory.java:79)
      4. com.sun.jna.Structure$AutoAllocated.<init>(Structure.java:1366)
      5. com.sun.jna.Structure.autoAllocate(Structure.java:231)
      6. com.sun.jna.Structure.allocateMemory(Structure.java:302)
      7. com.sun.jna.Structure.<init>(Structure.java:179)
      8. com.sun.jna.Structure.<init>(Structure.java:169)
      9. com.sun.jna.Structure.<init>(Structure.java:165)
      10. com.sun.jna.Structure.<init>(Structure.java:156)
      10 frames
    3. org.jvnet.hudson
      Windows.monitor
      1. org.jvnet.hudson.Windows$MEMORYSTATUSEX.<init>(Windows.java:55)
      2. org.jvnet.hudson.Windows.monitor(Windows.java:40)
      2 frames
    4. Hudson
      SwapSpaceMonitor$MonitorTask.call
      1. hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:109)
      2. hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:99)
      2 frames
    5. Hudson :: Remoting Layer
      LocalChannel.call
      1. hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      1 frame
    6. Hudson
      AbstractNodeMonitorDescriptor$Record.run
      1. hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:83)
      2. hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:81)
      3. hudson.node_monitors.AbstractNodeMonitorDescriptor$Record.run(AbstractNodeMonitorDescriptor.java:219)
      3 frames