Bug 1036953

Summary: xmvn: NPE in FileUtils.followSymlink()
Product: [Fedora] Fedora Reporter: Michael Simacek <msimacek>
Component: xmvnAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mizdebsk, msimacek, msrb, sochotni, tradej
Target Milestone: ---Keywords: Upstream, VerifiedUpstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.4.0-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-09 14:20:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
bisect-initial.log
none
testcase none

Description Michael Simacek 2013-12-02 23:44:46 UTC
Created attachment 831839 [details]
bisect-initial.log

Description of problem:
xmvn-bisect crashes when building maven-doxia throwing a NullPointerException. 

Steps to Reproduce:
1. clone maven-doxia repository
2. run fedpkg prep
3. descend into doxia-1.4/
4. run xmvn-bisect install

The system is an up-to-date rawhide installation

Comment 1 Mikolaj Izdebski 2013-12-04 10:54:03 UTC
Caused by: java.lang.NullPointerException
	at org.fedoraproject.maven.utils.FileUtils.followSymlink(FileUtils.java:61)
	at org.fedoraproject.maven.resolver.impl.DefaultResolver.resolve(DefaultResolver.java:245)
	at org.fedoraproject.maven.connector.FedoraWorkspaceReader.findArtifact(FedoraWorkspaceReader.java:48)

Comment 2 Mikolaj Izdebski 2013-12-04 11:07:14 UTC
Fixed upstream in 7ccab7c
Verified upstream.
Still needs test case.

Comment 3 Mikolaj Izdebski 2013-12-09 14:09:46 UTC
Fixed in xmvn-1.4.0-1

Comment 4 Mikolaj Izdebski 2013-12-09 14:20:49 UTC
I believe that this bug is fixed in xmvn-1.4.0-1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=483639

Comment 5 Michael Simacek 2014-01-02 14:52:04 UTC
Created attachment 844581 [details]
testcase

Comment 6 Mikolaj Izdebski 2014-01-05 10:03:51 UTC
Thanks. Test case added in commit 42be3b7.