Bug 1036953 - xmvn: NPE in FileUtils.followSymlink()
Summary: xmvn: NPE in FileUtils.followSymlink()
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xmvn
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 23:44 UTC by Michael Simacek
Modified: 2014-01-05 10:03 UTC (History)
5 users (show)

Fixed In Version: 1.4.0-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-09 14:20:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bisect-initial.log (88.95 KB, text/plain)
2013-12-02 23:44 UTC, Michael Simacek
no flags Details
testcase (3.14 KB, patch)
2014-01-02 14:52 UTC, Michael Simacek
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.