Bug#849005: NullPointerException when artifact origin is null
Simon Ruggier
Simon.Ruggier at gmail.com
Wed Dec 21 17:54:15 UTC 2016
Package: ivy-debian-helper
Version: 1.0
Tags: patch
X-Debbugs-CC: Simon Ruggier <Simon.Ruggier at gmail.com>
I discovered this while attempting to package Solr 6.3. Here's the
relevant snippet of output from Ivy:
ivy-configure:
[ivy:configure] :: loading settings :: file =
/tmp/pbuilder/solr/lucene/top-level-ivy-settings.xml
[ivy:configure] [ivy-debian-helper] Loading the Maven rules...
resolve:
[ivy:retrieve] [ivy-debian-helper] Replacing
org.locationtech.spatial4j:spatial4j:jar:0.6 ->
com.spatial4j:spatial4j:jar:0.5
[ivy:retrieve] [ivy-debian-helper] Replacing
org.slf4j:slf4j-api:jar:1.7.7 -> org.slf4j:slf4j-api:jar:debian
[ivy:retrieve] [ivy-debian-helper] Passing through
org.slf4j:slf4j-parent:jar:debian
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: ERRORS
[ivy:retrieve] null
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/tmp/pbuilder/solr/build.xml:264: The following error occurred
while executing this line:
/tmp/pbuilder/solr/lucene/build.xml:126: The following error
occurred while executing this line:
/tmp/pbuilder/solr/lucene/common-build.xml:2157: The following
error occurred while executing this line:
/tmp/pbuilder/solr/lucene/common-build.xml:409: impossible to
resolve dependencies:
java.lang.NullPointerException
at org.debian.ivy.DebianDependencyResolver.download(DebianDependencyResolver.java:194)
at org.apache.ivy.core.resolve.ResolveEngine.downloadArtifacts(ResolveEngine.java:394)
See attached for a patch that fixes it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-NullPointerException-on-null-artifact-origin.patch
Type: text/x-patch
Size: 2032 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20161221/6766c192/attachment-0001.bin>
More information about the pkg-java-maintainers
mailing list