Opened 10 years ago

Closed 10 years ago

#356 closed defect (fixed)

JNA maven dependency resolution causes NPE

Reported by: charmon Owned by:
Priority: major Milestone:
Component: abcl-contrib Version:
Keywords: Cc:
Parent Tickets:


Something in commit 0030b89b2eb24b0b63b5f1ca4d4c9a7644eea02d broke the JNA maven dependency resolution:

(sly@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:
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.
CL-USER(2): (require 'jna)
ARTIFACT_RESOLVED (/Users/sly/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.pom) @ central (, 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?'.


0: RETRY Retry compiling #<ASDF/INTERFACE:MVN "jna" "">.
1: ACCEPT Continue, treating compiling #<ASDF/INTERFACE:MVN "jna" ""> as having been successful.
2: TOP-LEVEL Return to top level.

[1] CL-USER(4): :bt


#<JAVA-EXCEPTION java.lang.NullPointerException? {1DA02950}>)

2: org.armedbear.lisp.Lisp.error(
3: org.armedbear.lisp.Java$pf_jnew.execute(
4: org.armedbear.lisp.Primitive.execute(
5: (JNEW

#<java class org.eclipse.aether.resolution.DependencyRequest?>
#<org.eclipse.aether.graph.DefaultDependencyNode? (.... {60206C1}>
#<null {6F096BFB}>)

7: (#<FUNCTION {28D8442C}>

(#<ASDF/INTERFACE:MVN "jna" "">))

Change History (2)

comment:1 Changed 10 years ago by charmon

Whoops. The commit in question is:

Make JCALL work in more places.

A reimplementation of org.apache.commons.lang.ClassUtils?.isAssignable
instead of the standard isAssignableFrom test.

<> .

From Olof.

git-svn-id: 1c010e3e-69d0-11dd-93a8-456734b0d56f

comment:2 Changed 10 years ago by Mark Evenson

Resolution: fixed
Status: newclosed

Olof's patch was applied to trunk in <> which fixes this issue.

Note: See TracTickets for help on using tickets.