javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum

Jenkins JIRA | Brandon Rochon | 3 years ago
  1. 0

    Can successfully create a new libvirt slave, but when later returning to the slave's configuration screen, the below error is displayed rendering the config page unusable: {noformat} Status Code: 500 Exception: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum Stacktrace: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:214) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 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:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95) ... 43 more Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum at com.sun.jna.Function.<init>(Function.java:179) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:347) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:327) at com.sun.jna.Library$Handler.invoke(Library.java:203) at sun.proxy.$Proxy28.virDomainSnapshotNum(Unknown Source) at org.libvirt.Domain.snapshotNum(Unknown Source) at hudson.plugins.libvirt.Hypervisor.getSnapshots(Hypervisor.java:235) at hudson.plugins.libvirt.VirtualMachineSlave$DescriptorImpl.getDefinedSnapshots(VirtualMachineSlave.java:142) 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:616) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 97 more {noformat}

    Jenkins JIRA | 3 years ago | Brandon Rochon
    javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum
  2. 0

    Can successfully create a new libvirt slave, but when later returning to the slave's configuration screen, the below error is displayed rendering the config page unusable: {noformat} Status Code: 500 Exception: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum Stacktrace: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:214) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 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:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95) ... 43 more Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum at com.sun.jna.Function.<init>(Function.java:179) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:347) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:327) at com.sun.jna.Library$Handler.invoke(Library.java:203) at sun.proxy.$Proxy28.virDomainSnapshotNum(Unknown Source) at org.libvirt.Domain.snapshotNum(Unknown Source) at hudson.plugins.libvirt.Hypervisor.getSnapshots(Hypervisor.java:235) at hudson.plugins.libvirt.VirtualMachineSlave$DescriptorImpl.getDefinedSnapshots(VirtualMachineSlave.java:142) 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:616) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 97 more {noformat}

    Jenkins JIRA | 3 years ago | Brandon Rochon
    javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/home/jenkins/plugins/libvirt-slave/WEB-INF/classes/hudson/plugins/libvirt/VirtualMachineSlave/configure-entries.jelly:20:144: <j:forEach> Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum
  3. 0

    Issue reported here: https://groups.google.com/forum/?fromgroups=#!topic/jenkinsci-users/lYjRlqulBNQ Hi, I’ve updated to PRQA 1.2.0, since that I got following message: FATAL: Error looking up function 'CreateSymbolicLinkW': The specified procedure could not be found. java.lang.UnsatisfiedLinkError: Error looking up function 'CreateSymbolicLinkW': The specified procedure could not be found. at com.sun.jna.Function.<init>(Function.java:179) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:347) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:327) at com.sun.jna.Library$Handler.invoke(Library.java:203) at $Proxy33.CreateSymbolicLinkW(Unknown Source) at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:85) at hudson.Util.createSymlink(Util.java:1048) at hudson.model.Run.execute(Run.java:1573) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Mit freundlichen Grüßen / with best regards Klaus Kuhnert (Ext.) System & SW development coordination BU Vehicle Dynamics and Controls Product Center Vehicle Electronic Architecture and Drivers Assistance Systems WABCO Vehicle Control Systems Am Lindener Hafen 21 30453 Hannover Germany Phone: +49 511 922 - 2910 Mobile: +49 170 428 4229 Fax: +49 511 922 42910 Email: Klaus.Kuhnert@wabco-auto.com Web: www.wabco-auto.com

    Jenkins JIRA | 4 years ago | Jens Brejner
    java.lang.UnsatisfiedLinkError: Error looking up function 'CreateSymbolicLinkW': The specified procedure could not be found.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JNA - Access Method in DLL

    Stack Overflow | 9 months ago | Nini
    java.lang.UnsatisfiedLinkError: Error looking up function 'GetACSStatus': The specified procedure could not be found.

    1 unregistered visitors
    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

      Error looking up function 'virDomainSnapshotNum': /usr/lib64/libvirt.so.0.7.5: undefined symbol: virDomainSnapshotNum

      at com.sun.jna.Function.<init>()
    2. Java Native Access
      Library$Handler.invoke
      1. com.sun.jna.Function.<init>(Function.java:179)
      2. com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:347)
      3. com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:327)
      4. com.sun.jna.Library$Handler.invoke(Library.java:203)
      4 frames
    3. sun.proxy
      $Proxy28.virDomainSnapshotNum
      1. sun.proxy.$Proxy28.virDomainSnapshotNum(Unknown Source)
      1 frame
    4. org.libvirt
      Domain.snapshotNum
      1. org.libvirt.Domain.snapshotNum(Unknown Source)
      1 frame
    5. hudson.plugins.libvirt
      VirtualMachineSlave$DescriptorImpl.getDefinedSnapshots
      1. hudson.plugins.libvirt.Hypervisor.getSnapshots(Hypervisor.java:235)
      2. hudson.plugins.libvirt.VirtualMachineSlave$DescriptorImpl.getDefinedSnapshots(VirtualMachineSlave.java:142)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    7. Commons JEXL
      ExpressionImpl.evaluate
      1. org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
      2. org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
      3. org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      4. org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      5. org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
      6. org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
      6 frames
    8. Hudson
      ExpressionFactory2$JexlExpression.evaluate
      1. hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
      1 frame
    9. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
      2. org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94)
      3. org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89)
      4. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      5. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      5 frames
    10. Stapler Jelly
      CallTagLibScript$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      2. org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      2 frames
    11. commons-jelly-tags-define
      InvokeBodyTag.doTag
      1. org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      1 frame
    12. commons-jelly
      TagScript.run
      1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      1 frame
    13. Stapler Jelly
      ReallyStaticTagLibrary$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      1 frame
    14. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      1 frame
    15. Stapler Jelly
      ReallyStaticTagLibrary$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      1 frame
    16. commons-jelly
      CoreTagLibrary$2.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      2. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      2 frames
    17. Stapler Jelly
      CallTagLibScript.run
      1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      1 frame
    18. commons-jelly
      CoreTagLibrary$2.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      2. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      2 frames
    19. Stapler Jelly
      IncludeTag.doTag
      1. org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      2. org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      2 frames
    20. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      2. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      2 frames
    21. Stapler Jelly
      CallTagLibScript$1.run
      1. org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      1 frame
    22. commons-jelly-tags-define
      InvokeBodyTag.doTag
      1. org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      1 frame
    23. commons-jelly
      TagScript.run
      1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      1 frame
    24. Stapler Jelly
      ReallyStaticTagLibrary$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      2. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      2 frames
    25. commons-jelly
      CoreTagLibrary$2.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      2. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      2 frames
    26. Stapler Jelly
      CallTagLibScript$1.run
      1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      2. org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      2 frames
    27. commons-jelly-tags-define
      InvokeBodyTag.doTag
      1. org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      1 frame
    28. commons-jelly
      CoreTagLibrary$2.run
      1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      2. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      3. org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      4. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      5. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      5 frames
    29. Stapler Jelly
      CallTagLibScript.run
      1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      1 frame
    30. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      1 frame
    31. Stapler Jelly
      CallTagLibScript$1.run
      1. org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      1 frame
    32. commons-jelly-tags-define
      InvokeBodyTag.doTag
      1. org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      1 frame
    33. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      2. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      2 frames
    34. Stapler Jelly
      ReallyStaticTagLibrary$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      1 frame
    35. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      1 frame
    36. Stapler Jelly
      ReallyStaticTagLibrary$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      2. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      2 frames
    37. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      1 frame
    38. Stapler Jelly
      ReallyStaticTagLibrary$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      1 frame
    39. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      1 frame
    40. Stapler Jelly
      ReallyStaticTagLibrary$1.run
      1. org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      1 frame
    41. commons-jelly
      CoreTagLibrary$2.run
      1. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      2. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      2 frames
    42. Stapler Jelly
      CallTagLibScript.run
      1. org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      1 frame
    43. commons-jelly
      CoreTagLibrary$2.run
      1. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      1 frame
    44. Stapler Jelly
      JellyFacet$1.dispatch
      1. org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      2. org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      3. org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      4. org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)
      4 frames
    45. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
      3. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
      4. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
      5. org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
      6. org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203)
      7. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      8. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
      9. org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
      10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:583)
      11. org.kohsuke.stapler.Stapler.service(Stapler.java:214)
      11 frames
    46. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      1 frame
    47. winstone
      RequestDispatcher.doFilter
      1. winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      2. winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      3. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      3 frames
    48. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      2 frames
    49. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    50. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      1 frame
    51. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    52. Hudson
      HudsonFilter.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      3 frames
    53. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    54. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      1 frame
    55. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2 frames
    56. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    57. winstone
      RequestHandlerThread.run
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      3. winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      4. winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
      5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      5 frames
    58. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3 frames
    59. winstone
      BoundedExecutorService$1.run
      1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      1 frame
    60. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:679)
      3 frames