[Armedbear-ticket] [armedbear] #356: JNA maven dependency resolution causes NPE

armedbear armedbear-devel at common-lisp.net
Thu Apr 17 17:54:39 UTC 2014


#356: JNA maven dependency resolution causes NPE
--------------------------+-----------------
 Reporter:  charmon       |      Owner:
     Type:  defect        |     Status:  new
 Priority:  major         |  Milestone:
Component:  abcl-contrib  |    Version:
 Keywords:                |
--------------------------+-----------------
 Something in commit 0030b89b2eb24b0b63b5f1ca4d4c9a7644eea02d broke the JNA
 maven dependency resolution:

 (sly at cyruss-mbp):~/src/abcl$ ./abcl
 Armed Bear Common Lisp 1.4.0-dev
 Java 1.7.0_51 Oracle Corporation
 Java HotSpot(TM) 64-Bit Server VM
 Low-level initialization completed in 0.351 seconds.
 Startup completed in 1.786 seconds.
 Loading /Users/sly/.abclrc completed in 9.51 seconds.
 Type ":help" for a list of available commands.
 CL-USER(1): (require 'abcl-contrib)
 Using probed value of abcl-contrib:
 '/Users/sly/src/abcl/dist/abcl-contrib.jar'.
 Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/quicklisp/ to
 ASDF.
 Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/mvn/ to ASDF.
 Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/jss/ to ASDF.
 Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/jfli/ to ASDF.
 Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/asdf-jar/ to
 ASDF.
 Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/asdf-install/ to
 ASDF.
 Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/abcl-asdf/ to
 ASDF.
 ("ABCL-CONTRIB")
 CL-USER(2): (require 'jna)
 ARTIFACT_RESOLVING net.java.dev.jna:jna:pom:4.1.0
 ARTIFACT_RESOLVED net.java.dev.jna:jna:pom:4.1.0
 (/Users/sly/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.pom) @
 central (http://repo1.maven.org/maven2/, releases+snapshots)
 jnaASDF could not load  because Java exception
 'java.lang.NullPointerException'..
 #<THREAD "interpreter" {4323B3D5}>: Debugger invoked on condition of type
 JAVA-EXCEPTION
   Java exception 'java.lang.NullPointerException'.
 Restarts:
   0: RETRY     Retry compiling #<ASDF/INTERFACE:MVN "jna"
 "net.java.dev.jna/jna/4.1.0">.
   1: ACCEPT    Continue, treating compiling #<ASDF/INTERFACE:MVN "jna"
 "net.java.dev.jna/jna/4.1.0"> as having been successful.
   2: TOP-LEVEL Return to top level.
 [1] CL-USER(4): :bt

   0: (SYSTEM:BACKTRACE)
   1: (INVOKE-DEBUGGER
  #<JAVA-EXCEPTION java.lang.NullPointerException {1DA02950}>)
   2: org.armedbear.lisp.Lisp.error(Lisp.java:382)
   3: org.armedbear.lisp.Java$pf_jnew.execute(Java.java:581)
   4: org.armedbear.lisp.Primitive.execute(Primitive.java:135)
   5: (JNEW
  #<java class org.eclipse.aether.resolution.DependencyRequest>
  #<org.eclipse.aether.graph.DefaultDependencyNode
 net.java.dev.jna:jna:jar:4.1.0 (.... {60206C1}>
  #<null {6F096BFB}>)
   6: (ABCL-ASDF:RESOLVE-DEPENDENCIES "net.java.dev.jna" "jna" "4.1.0")
   7: (#<FUNCTION {28D8442C}>
  (#<ASDF/INTERFACE:MVN "jna" "net.java.dev.jna/jna/4.1.0">))

--
Ticket URL: <http://abcl.org/trac/ticket/356>
armedbear <http://abcl.org>
armedbear


More information about the armedbear-ticket mailing list